1300 Commits

Author SHA1 Message Date
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
Leosvel Pérez Espinosa
fdb54b3c04
fix(angular): keep package postinstall script in @nrwl/angular package (#6086) 2021-06-22 10:18:36 +01:00
Leosvel Pérez Espinosa
5cac8ba9ac
cleanup(angular): migrate ngrx generator to nx devkit (#6057) 2021-06-21 14:18:15 +01:00
Colum Ferry
96293b02cb
cleanup(angular): refactor angular application generator (#6036)
Refactor Angular Application Schematic to Generator using Nx Devkit
2021-06-18 15:39:05 +01:00
Craigory V Coppola
7475291dcf
cleanup(angular): generated ngrx spec files should pass linting (#6051)
ISSUES CLOSED: #6046
2021-06-17 10:43:31 -05:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Leosvel Pérez Espinosa
b8162c4a17
cleanup(angular): migrate stories generator to nx devkit (#6010) 2021-06-15 14:13:56 +02:00
Leosvel Pérez Espinosa
668ed1c54f
fix(angular): override TSLint deprecation message to point to Nx ESLint conversion generator (#5893) 2021-06-14 13:33:27 -04:00
Leosvel Pérez Espinosa
d4537f75cc
cleanup(angular): migrate component-story and component-cypress-spec generators to nx devkit (#5977) 2021-06-14 15:20:58 +01:00
Colum Ferry
3e8ff083f2
cleanup(angular): refactor library generator to use nx devkit (#5935)
* cleanup(angular): refactor library generator to use nx devkit

Refactor Library Generator to use Nx Devkit
2021-06-14 11:05:32 +01:00
Craigory V Coppola
f9751786c6
feat(testing): support for Jest 27 (#5873)
- Sets default testEnvironment to web
- Updates node generators to specify testEnvironment: node
- Provides migrations to update existing jest.config.js files
- Bump angular-preset-jest to latest

ISSUES CLOSED: #5771
2021-06-11 13:25:57 -05:00
Leosvel Pérez Espinosa
c64d9dfb2f
fix(storybook): fix broken migration test (#5951) 2021-06-10 13:44:42 -04:00
Katerina Skroumpelou
dd45382252
feat(storybook): schematic to migrate stories to Storybook 6.2 (#5401) 2021-06-09 19:47:51 +02:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Colum Ferry
fd27615514
chore(angular): ast utils for angular with nx devkit (#5927) 2021-06-09 10:35:09 +01:00
Leosvel Pérez Espinosa
9477e5472e
cleanup(angular): migrate storybook-migrate-defaults-5-to-6 generator to nx devkit (#5891) 2021-06-08 09:13:43 +01:00