6116 Commits

Author SHA1 Message Date
Jason Jean
c0471515d2
fix(core): fix migrate race conditions (#9794) 2022-04-12 09:09:42 -04:00
Colum Ferry
9396db03c3
docs(angular): hide mfe options from the app generator (#9798) 2022-04-12 11:39:24 +00:00
Colum Ferry
dfd4a1dd51
fix(angular): remove implicit deps creation from mfe (#9799) 2022-04-12 10:11:04 +00:00
Craigory Coppola
e4e5c3b63b
chore(repo): relocate types from migrate.ts (#9790) 2022-04-11 13:33:54 -04:00
Leosvel Pérez Espinosa
d860a91a50
feat(angular): allow migrating angular cli workspaces using the @angular-eslint/builder:lint builder (#9750) 2022-04-11 16:30:49 +01:00
Caleb Ukle
696fefdd7b
fix(js): ignore tsx and .test. files with buildable swc libraries (#9540)
include update to simplify existing patterns

ISSUES CLOSED: #9442

Co-authored-by: Caleb Ukle <caleb@Calebs-MBP-2.localdomain>
2022-04-11 08:59:44 -05:00
Chau Tran
3e94d4cb3a
fix(js): add init generator placeholder (#9777) 2022-04-11 08:47:08 -05:00
Colum Ferry
7839ed0249
feat(angular): expose mfe package helpers (#9781) 2022-04-11 11:35:58 +01:00
Colum Ferry
33ec4ac6f7
fix(storybook): component props should only consider inputs #9417 (#9780)
Previously, all decorators were being taken into consideration. However, props to an Angular component would be its Inputs.
We should only consider those.

Fixes #9417
2022-04-11 10:14:30 +00:00
Jason Jean
bbb08413c2
feat(misc): do not add typescript or @nrwl/cli during add nx to monorepo (#9736) 2022-04-08 15:57:41 -04:00
Giora Guttsait
32b49b6f7c
feat(core): respect packageGroup in nx migrate (#9667)
* cleanup(core): refactor migrate.ts

* feat(core): respect packageGroup in nx migrate

ISSUES CLOSED: #4575

* fix build

* chore(repo): trigger CI

* chore(core): fix review comments, without packageGroup extension

* chore(core): revert `withTempNpmDirectory` changes

* chore(repo): trigger ci

* chore(core): fix unit tests

* chore(core): remove view and pack from pmc

* chore(repo): kick off CI

* chore(core): add tests for recursive packageGroup

* chore(core): add another test for cyclic packageGroup

* chore(repo): kickoff CI

Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-04-08 15:57:24 -04:00
zhaoyunfeng
0e68c616fe
fix(node): webpack executor doesn't respect option outputFileName (#9740)
Co-authored-by: zhaoyunfeng <zhaoyunfeng@worktile.com>
2022-04-08 14:16:54 -04:00
Colum Ferry
5b105b1a0e
fix(angular): add application schema options to mfe-remote (#9752) 2022-04-08 15:32:00 +00:00
Craigory Coppola
728f420f52
chore(repo): migrate to Nx 13.10 (#9731)
additionally, removes references to nrwl plugins that can be fully resolved through local plugin resolution. Notable holdouts:

- @nrwl/react and @nrwl/next: referenced in jest.config.js, so not resolved during runtime.
- @nrwl/web: dependency of @nrwl/react
- @nrwl/eslint-plugin-nx: required during eslint startup, not resolved by Nx
2022-04-08 10:51:09 -04:00
Colum Ferry
409f000cbe
fix(angular): add application schema options to mfe-host (#9751) 2022-04-08 14:47:50 +00:00
Colum Ferry
9cef14d302
fix(core): replaceAppNameWithPath should not consider defaultConfiguration #9706 (#9729) 2022-04-08 15:33:25 +01:00
Pedro Rodrigues
8e3f7d8605
fix(core): build project's that have buildable dependencies without package.json's (#9466) 2022-04-08 14:28:24 +00:00
Miroslav Jonaš
7c7e415fff
docs(core): remove obsolete nx cloud default value from docs (#9747) 2022-04-08 12:40:31 +01:00
Jason Jean
cc4e8c1885
fix(core): fix typings in params (#9735) 2022-04-07 22:57:36 +00:00
Leosvel Pérez Espinosa
a64bba9980
feat(linter): add cacheStrategy, rulesdir and resolvePluginsRelativeTo flags to eslint executor (#9709) 2022-04-07 15:49:44 +01:00
Miroslav Jonaš
40bbfd9d28
chore(core): enhance test for reverse function (#9726) 2022-04-07 13:52:06 +02:00
Victor Savkin
b6617105f3
fix(core): throw an error when a circular dep occurs in a graph mixing buidlable/no-buildable projects (#9714) 2022-04-06 20:22:10 -04:00
Miroslav Jonaš
9d89ea8f1f
chore(linter): update eslint version (#9708) 2022-04-07 00:02:09 +02:00
Craigory Coppola
8af847c579
fix(core): update local plugin resolution to use path utilities (#9713)
* fix(core): update local plugin resolution to use path utilities

* chore(core): update nx-plugin resolution to reuse target project locator logic
2022-04-06 16:38:39 -04:00
Miroslav Jonaš
4b3486eade
feat(core): add colors to create-nx-workspace (#9705) 2022-04-06 22:32:26 +02:00
Katerina Skroumpelou
d5e7af0133
fix(storybook): optional chain all includes (#9707)
ISSUES CLOSED: #9702
2022-04-06 18:14:32 +00:00
Craigory Coppola
704b6c88e0
fix(core): preset core should remove workspace.json (#9710) 2022-04-06 15:38:56 +00:00
Colum Ferry
f4403e2dba
feat(angular): add example remote override to prod mfe (#9703) 2022-04-06 15:44:24 +01:00
Jack Hsu
cf54cc99ef
feat(react): update production setup for MFE host app (#9699) 2022-04-06 01:21:40 +00:00
Jason Jean
d1278bffc1
fix(core): remove warning for out of date global version (#9698) 2022-04-05 22:36:24 +00:00
Miroslav Jonaš
87fd3ffdbe
cleanup(core): remove unused npm scope from target project locator (#9695) 2022-04-05 23:05:21 +02:00
Miroslav Jonaš
1755094bf7
docs(core): cleanup nx commands help after yargs update (#9694) 2022-04-05 23:05:06 +02:00
Victor Savkin
48769dc4bb
cleanup(core): remove NX_INVOKED_BY_RUNNER (#9693) 2022-04-05 16:58:13 -04:00
Craigory Coppola
05358ae6cf
fix(core): infer packages from workspaces.packages properly (#9686) 2022-04-05 15:54:54 -04:00
Jason Jean
a96ecc6dd8
fix(react): prompt for nx-cloud during cra-to-nx (#9689) 2022-04-05 11:57:00 -06:00
Jack Hsu
70985b1052
feat(react): update MFE config and routes when adding remote to host (#9687) 2022-04-05 13:50:43 -04:00
Katerina Skroumpelou
9579aec307
feat(storybook): add projectBuildConfig as an option in generator (#9655)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-04-05 16:16:25 +00:00
Colum Ferry
e42069b5ec
fix(angular): add --module option to component generator (#9684) 2022-04-05 15:37:08 +01:00
Kayla Altepeter
274c050fc9
fix(react): case sensitive file import with react app generator when … (#9670) 2022-04-05 14:25:52 +00:00
Nicholas Cunningham
12f0f195d2
feat(react): add support for MFEs (#9413)
* feat(react): Add MFE  Generator for Host and Remote Apps
Host generator will be able use the mfe-remote generator when remotes are passed into the CLI for the mfe-host command

* docs(react): React Documentation Update

Co-authored-by: Nicholas Cunningham <nico@Nicholass-MacBook-Pro.local>
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-04-04 15:44:18 -04:00
William Neely
af37fe9125
docs(devkit): name is returned unmodified (#9418)
the docs for the names function say that the name is modified to hyphenated case but it's actually returned unmodified
2022-04-04 14:40:41 +00:00
Emily Xiong
1358fbf263
feat(storybook): upgrade @storybook/react-native version to ^6.0.1-beta.5 (#9657)
- also move the toggle-storybook.tsx to src/storbyook folder rather than .storybook
2022-04-04 11:36:36 +03:00
Emily Xiong
bc31273a37
fix(react-native): change openURLInBrowser to Linking.openURL for react native web (#9482) 2022-04-03 02:11:16 -04:00
Philip Fulcher
dbe942c9c0
feat(dep-graph): add experimental support for finding path between projects (#9643)
* feat(dep-graph): add experimental support for tracing paths between projects

* feat(graph): add algorithm for finding all paths between projects

* cleanup(dep-graph): clean-up edge tooltip

* cleanup(dep-graph): fix watch mode dev environment
2022-04-02 16:06:24 -06:00
CommanderRoot
05a9544806
cleanup(misc): replace deprecated String.prototype.substr()
* cleanup(misc): replace deprecated String.prototype.substr()

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>

* fix(js): fix slice change

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-01 23:04:26 +00:00
Kalarrs Topham
f9223817b3
feat(node): add support for async webpack configuration (#9641) 2022-04-01 22:48:31 +00:00
Enoyao
10ae4c1154
chore(core): use optional chaining (#9445)
* chore(core): use optional chaining

* chore(core): chore(core): chore(core): use optional chaining

* chore(core): use optional chaining

* feat(core): chore(core): chore(core): use optional chaining

* chore(core): chore(core): use optional chaining

* chore(core): chore(core): chore(core): use optional chaining

* chore(core): chore(core): use optional chaining

* chore(core): chore(core): use optional chaining
2022-04-01 18:40:47 -04:00
Fabien Antoine
5ddd895bee
fix(storybook): Allow stylePreprocessorOptions for React storybooks (#9481) 2022-04-01 18:17:07 -04:00
Jack Hsu
cb4126c442
fix(react): pass configuration from context when reading build target options (#9656)
Closes #7924
2022-04-01 17:48:40 -04:00
Katerina Skroumpelou
43eee2324f
feat(storybook): use build-storybook as a build target for all libs (#9651) 2022-04-01 15:29:47 +00:00