365 Commits

Author SHA1 Message Date
Nrwl CI Machine
bc4ec52f53 cleanup(misc): avoid importing rxjs in the core path 2021-08-06 16:29:16 -04:00
Juri
b5b5f250d0 feat(react): add Nx React Storybook preset 2021-08-06 18:11:47 +02:00
Jason Jean
466826c364
fix(angular): lock version of angular-devkit to ~12.1.0 (#6620) 2021-08-05 12:13:15 -04:00
Miroslav Jonaš
3aca62af68
cleanup(repo): remove unused ext from file data and fix ext regex matcher (#6550) 2021-08-04 09:45:07 -04:00
Colum Ferry
db489d3418
fix(angular): webpack-server needs to work when there is no defaultConfiguration set (#6588) 2021-08-03 16:18:59 -04:00
James Henry
4e8aa4ba68
chore(core): refactor executors to always read from cached project graph (#6446) 2021-07-29 15:50:29 -04:00
Miroslav Jonaš
117ee9308a
cleanup(core): use isNpmProject and cleanup project graph utils (#6522)
* cleanup(core): use isNpmProject and cleanup project graph utils

* chore(core): mark utils/buildable-libs-utils as deprecated
2021-07-29 11:17:31 -04:00
Jason Jean
d68d2ad965
fix(angular): add eslint to protractor apps (#6524) 2021-07-27 20:36:29 +00:00
Leosvel Pérez Espinosa
c6fee867aa
fix(misc): handle moving to a subfolder which results in the same project name and normalize import path (#6507) 2021-07-26 14:56:30 +01:00
Miroslav Jonaš
a9afb97307
docs(core): fix broken links and add missing latest prefix (#6471) 2021-07-23 08:16:54 -04:00
Craigory V Coppola
729d83997f
fix(angular): generated ngrx facade tests should pass (#6458) 2021-07-21 23:27:57 +00:00
Colum Ferry
3e6a3158be
feat(angular): add an serve-mfe target to host app (#6444) 2021-07-21 21:58:56 +00:00
Jason Jean
0326be4dae
fix(angular): change version of angular migrations so they run during beta (#6454) 2021-07-21 17:58:00 +00:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
Colum Ferry
f5587dc984
fix(angular): broken buildable libs importPath calculation (#6429)
Buildable libs with Angular Lib generator were broken due to additional `/` in the `importPath`.
2021-07-21 09:29:21 +01:00
James Henry
f76a33f5bb
chore(core): add readCachedProjectGraph and deprecate previous utility (#6385)
* chore(core): add readCachedProjectGraph and deprecate previous utility

* chore(core): whitespace

* chore(core): explicitly use type ProjectGraphCache

* chore(core): fix typo
2021-07-20 11:44:48 -04:00
Jason Jean
9c3c296d89
fix(angular): fix generating apps with protractor (#6422) 2021-07-20 11:02:31 -04:00
Colum Ferry
227eed9172
feat(angular): generate entry module for remote mfes (#6403) 2021-07-20 12:00:00 +01:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Colum Ferry
bea5ed458d
feat(angular): upgrade angular to ~12.1.0 (#6390) 2021-07-16 18:44:16 +00:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Leosvel Pérez Espinosa
f26eb1cffc
fix(angular): update jasmine-marbles to support jest-circus test runner (#6383) 2021-07-15 13:48:15 -04:00
Colum Ferry
4697ce1356
feat(angular): use webpack-server executor for mfe apps (#6373)
Use webpack-server for MFE angular apps as it will merge the webpack configs.
2021-07-15 15:23:06 +01:00
Colum Ferry
ec414e5840
feat(angular): add executor to allow custom webpack config with serve (#6359)
Add a builder to allow the user to pass a custom webpack config with serve. It should fetch the
custom webpack config from the build target.
2021-07-15 11:09:59 +01:00
Colum Ferry
776bd277b7
feat(angular): add host option to MFE generator (#6368)
Add a host option to MFE generator to allow a remote to specify a host that it should be consumed
by.
Use this value to update the host application's webpack.config,js
2021-07-15 09:54:41 +01:00
James Henry
87e6d9dc77 chore(core): refactor createProjectGraph to be async, deprecate sync usage 2021-07-14 14:58:16 -04:00
vsavkin
0fd5af9fff fix(nxdev): broken links on home pages 2021-07-14 11:44:57 -04:00
Colum Ferry
8b1f812c85
fix(angular): change mfe naming convention to use host
Previously, naming convention of consuming applications for MFEs was `shell`.
Change it to match Webpack Module Federation's naming convention of calling it `host`.

BREAKING CHANGE:
The `mfeType` options have changed from `shell | remote` to `host | remote`.
2021-07-14 10:40:14 +01:00
Miroslav Jonaš
b9d76693b9
chore(repo): update remaining jest dependencies to v27 (#6296) 2021-07-09 19:06:15 +02:00
Craigory V Coppola
23e21d0995
fix(core): project.json split should be remembered if all projects utilize it (#6180) 2021-07-08 23:35:57 +00:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Colum Ferry
0fd0fc4d93
feat(angular): add mfe options to app generator (#6242) 2021-07-06 10:32:45 +01:00
Leosvel Pérez Espinosa
195e6bade5
cleanup(misc): rename builders.json to executors.json (#6230) 2021-07-02 15:59:34 +01:00
Colum Ferry
dd51c18d12
feat(angular): init mfe generator (#6209)
Add generator to scaffold Module Federation configuration for a given Angular application
2021-07-02 13:45:36 +01:00
Leosvel Pérez Espinosa
277bdd2255
docs(angular): refresh generators docs (#6202) 2021-07-01 10:11:36 +01:00
Leosvel Pérez Espinosa
ec389cfca2
docs(angular): refresh executors docs (#6194) 2021-07-01 10:07:43 +01:00
Juri Strumpflohner
54d38105cf
cleanup(angular): stories generator adjustments (#6102) 2021-06-28 12:59:35 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Juri
b2a743c159 feat(angular): add createGlobPatternsForDependencies utility useful in Tailwind css purging 2021-06-25 15:54:56 -04:00
Katerina Skroumpelou
e13b423ddb
feat(storybook): from addon-knobs to controls (#6068) 2021-06-25 18:17:48 +03:00
Craigory V Coppola
d3ba0caf7c
cleanup(core): misc cleanup for project.json files (#6112) 2021-06-24 10:16:00 -04:00
Benjamin Cabanes
44bbc08bdf
fix(angular): Inline nx logo in default template (#6114) 2021-06-24 14:20:39 +01:00
Leosvel Pérez Espinosa
e5c552bb42
fix(angular): change tsconfig.worker.json to extend the right path (#6105) 2021-06-24 09:54:14 +01:00
Leosvel Pérez Espinosa
2e4d00f8be
fix(angular): fix storybook-configuration not installing deps (#6109) 2021-06-24 09:51:11 +01:00
Miroslav Jonaš
4a9d82fc2e
fix(linter): tslint to eslint conversion should not override existing root config (#6103) 2021-06-24 07:20:07 +02:00
Leosvel Pérez Espinosa
0bcb50373a
cleanup(angular): deprecate and clean up angular schematics utilities (#6099) 2021-06-23 10:08:50 +01:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Juri
d796bd3a79 cleanup(angular): cleanup(angular): fix typo in Error message 2021-06-22 16:27:46 -04:00
Leosvel Pérez Espinosa
bbb0416cc2
fix(angular): remove Stylus from new Angular workspaces and apps (#6095) 2021-06-22 16:56:51 +01:00
Leosvel Pérez Espinosa
122f7eca72
cleanup(angular): migrate downgrade-module and upgrade-module generators to nx devkit (#6083) 2021-06-22 10:20:02 +01:00