1125 Commits

Author SHA1 Message Date
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Colum Ferry
592c47ab6f
Revert "fix(angular): mfe not installing webpack correctly (#6789)" (#6793)
This reverts commit ee47b1769068551bcaf03f2ac6086091d4ec6dc3.
2021-08-20 15:29:20 +00:00
Colum Ferry
ee47b17690
fix(angular): mfe not installing webpack correctly (#6789) 2021-08-20 15:47:45 +01:00
Juri
a3b22aae50 fix(angular): don't error when project configuration has no targets 2021-08-19 18:10:10 +02:00
Jason Jean
6fbf7ffa16
feat(misc): remove ts-node, tslib, and dotenv from empty workspace package.json (#6763) 2021-08-18 17:36:11 -04:00
Colum Ferry
149a357c6e
fix(angular): prevent default importPath for publishable libs (#6755) 2021-08-17 16:59:49 +00:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor (#6706) 2021-08-16 16:23:17 -04:00
srleecode
27dd4cf7ff
feat(generators): Export @nrwl/angular:init (#6721)
feat(generators): Export @nrwl/angular:init

Exports @nrwl/angular:init so that it can be used by other generators

Closes #6713
2021-08-16 14:07:31 +01:00
Leosvel Pérez Espinosa
e31075362a
fix(angular): init cypress correctly if needed when creating an app (#6652) 2021-08-09 12:06:48 +01:00
Jason Jean
c13c02d27e
fix(angular): fix angular projects not being standalone when all other projects are standalone (#6641) 2021-08-06 20:48:35 -04:00
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