3835 Commits

Author SHA1 Message Date
Jason Jean
2249c89c5a
chore(repo): update nx to 12.6.0-beta.10 (#6434) 2021-07-20 17:52:49 +00: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
Jason Jean
253fd683f9
fix(core): ensure overrides are not parsed as head and base for affected (#6424) 2021-07-20 11:01:52 -04:00
Miroslav Jonaš
8c3276f3a0
docs(core): fix outdated references to ng in react and angular (#6426)
* docs(core): fix outdated references to ng in react and angular

* Update docs/angular/examples/react-and-angular.md

Co-authored-by: Brandon <robertsbt@gmail.com>

Co-authored-by: Brandon <robertsbt@gmail.com>
2021-07-20 14:25:31 +02:00
Colum Ferry
227eed9172
feat(angular): generate entry module for remote mfes (#6403) 2021-07-20 12:00:00 +01:00
Zachary DeRose
f0dbfb0e0c
fix(testing): fixing formatting on root jest.config migration (#6418)
* fix(testing): fixing formatting on root jest.config migration

* fix(test): rm console.log
2021-07-19 18:54:20 +00:00
Craigory V Coppola
a7220261c0
fix(misc): move generator should support project.json files (#6402) 2021-07-19 14:26:48 -04:00
Miroslav Jonaš
0f250ff4a9
chore(repo): remove cypress package from e2e default packages (#6416) 2021-07-19 15:56:08 +02:00
Jason Jean
fe34edfdb9
fix(react): ensure version of webpack is updated when running migrate-to-webpack-5 (#6401) 2021-07-18 15:48:06 -04:00
Jason Jean
971941d4b3
chore(repo): update nx to 12.6.0-beta.9 (#6404) 2021-07-16 21:02:24 -06:00
vsavkin
0e52c43665 feat(core): store file deps and only reanalyze changed files 2021-07-16 20:21:45 -04:00
Jason Jean
90921aabf1
fix(repo): fix running e2e tests locally with npm 7 (#6400) 2021-07-16 22:04:09 +00:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 (#6397) 2021-07-16 17:29:03 -04:00
Jason Jean
b2c818101a
chore(repo): update nx to 12.6.0-beta.8 (#6399) 2021-07-16 17:21:38 -04:00
Colum Ferry
bea5ed458d
feat(angular): upgrade angular to ~12.1.0 (#6390) 2021-07-16 18:44:16 +00:00
Jason Jean
cd868a8a0d
fix(misc): remove import of webpack-dev-server (#6396) 2021-07-16 14:40:18 -04:00
Leosvel Pérez Espinosa
3a18c4da0a
fix(core): validate pattern if specified for a schema property (#6395) 2021-07-16 16:27:22 +01:00
Juri Strumpflohner
596cf5b4b0
fix(storybook): add cssmodule and image typings for React Storybook setup (#6363) 2021-07-16 14:43:03 +02:00
Jason Jean
59c8e186db
fix(angular): add --skip-format for convert-tslint-to-eslint (#6387) 2021-07-15 21:34:28 -04:00
Jason Jean
1ee463a9f6
chore(repo): update nx to 12.6.0-beta.7 (#6389) 2021-07-16 00:12:36 +00:00
Jason Jean
769758d9cf
fix(devkit): do not update unknown properties to workspace configuration (#6388) 2021-07-15 23:53:05 +00:00
Juri Strumpflohner
56e30d7739
docs(react): adjust Tailwind guide for React (#6386) 2021-07-15 21:27:58 +02:00
vsavkin
f86a07367a feat(core): improve project graph creation not to invalidate nxdeps when global config change 2021-07-15 14:12:38 -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
Jason Jean
5ee362ad3d
fix(core): end tasks after cache is written (#6381) 2021-07-15 17:09:20 +00:00
Craigory V Coppola
d32ac2bfd8
cleanup(misc): fix missing return statement in ngcli-adapter (#6380) 2021-07-15 10:58:34 -04:00
Jason Jean
35d77a1b2a
fix(linter): check existence of eslintrc.json before running migration (#6335) 2021-07-15 10:40:54 -04:00
Craigory V Coppola
6ef8afbfd9
fix(core): wrapped angular schematics should be able to update newly created standalone projects (#6351)
* fix(core): wrapped angular schematics should be able to update newly created standalone projects

Wrapped angular schematics inside of generators should be able to update a newly created standalone
project configuration

ISSUES CLOSED: #6342

* fix(core): angular devkit schematics should normalize project paths before writing

Wrapped angular schematics inside of generators should be able to update a newly created
standalone
project configuration
ISSUES CLOSED: #6342

ISSUES CLOSED: #6353

* fix(core): wrapped angular-devkit schematics should pick up standaloneAsDefault

ISSUES CLOSED: #6354
2021-07-15 10:40:15 -04:00
Craigory V Coppola
84b40c8b85
fix(misc): @nrwl/workspace:rm generator should work with standalone configs (#6348)
* fix(devkit): removeProjectConfiguration should remove path for project.json from workspace.json

When using standalone config files, removing a project's config should also remove its entry in the
workspace file.

* fix(misc): @nrwl/workspace:rm should work with standalone config files

When using standalone config files, removing a project's config should also remove its entry in
the
workspace file.
2021-07-15 10:36:48 -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
Miroslav Jonaš
586dd6df4e
chore(repo): use tagless approach to finding successful run commit sha (#6372) 2021-07-15 14:00:43 +02:00
Miroslav Jonaš
4c630cb337
chore(repo): improve cross package manager testing (#6371) 2021-07-15 12:39:32 +02: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
vsavkin
904b3b6b7a Revert "chore(nxdev): update docs to 12.5.8 (#6367)
This reverts commit 094958cc6dad543c567934ac0ed97e95ff924a11.
2021-07-14 16:57:28 -04:00
Benjamin Cabanes
094958cc6d
chore(nxdev): update docs to 12.5.8 (#6367)
This reverts commit d6e3bcf6db8a1cde24ce3089eeb9704e5f9b4632.
2021-07-14 15:33:32 -04:00
James Henry
87e6d9dc77 chore(core): refactor createProjectGraph to be async, deprecate sync usage 2021-07-14 14:58:16 -04:00
Zachary DeRose
84f80c8f9c
fix(nxdev): fixing sidbar appearance with anchored links (#6365)
* fix(nxdev): fixing sidbar appearance with anchored links

* fix(nxdev): fixing when linkText is null
2021-07-14 13:49:23 -04:00
Martin Gansler
fe7ab82d91
feat(core): add the target project name to the environment variables (#5886) 2021-07-14 11:47:26 -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
vsavkin
485eaae702 docs(misc): wrong header styles 2021-07-13 15:17:40 -04:00
vsavkin
37460f9844 docs(misc): minor tweaks in the docs 2021-07-13 15:08:38 -04:00
vsavkin
08dfc9d554 docs(misc): minor tweaks 2021-07-13 14:57:07 -04:00
vsavkin
d6e3bcf6db chore(nxdev): update docs 2021-07-13 14:54:48 -04:00
vsavkin
9cacfb8307 docs(misc): tweaks to the intro and monoreo guides 2021-07-13 14:25:14 -04:00
vsavkin
22c7643370 feat(repo): refine the readme 2021-07-12 13:57:31 -04:00
Kirils L
cb3440a7af
fix(nxdev): fix serving (#6333) 2021-07-12 17:35:33 +00:00
Jason Jean
9c3d798ecc
fix(testing): fix getting jest config from tree when require is used (#6322) 2021-07-12 15:06:24 +00:00