6116 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
91fc6f6866
cleanup(react): simplify collecting mf application dependencies (#10024) 2022-04-28 15:09:39 +01:00
Leosvel Pérez Espinosa
b381e383c4
fix(angular): add missing alias for the component generator (#10038) 2022-04-28 12:19:14 +01:00
Craigory Coppola
fa81e3bcab
fix(core): allow daemon to disable glob cache (#10031) 2022-04-27 18:01:50 -04:00
William Sedlacek
e3817ef91d
fix(core): calculate dependencies of mixed targets (#9942) 2022-04-27 18:00:59 -04:00
Craigory Coppola
99fcb7873e
feat(nx-plugin): add --includeHasher option to generate hasher boilerplate (#9891)
Co-authored-by: James Henry <james@henry.sc>
2022-04-27 12:44:48 -04:00
Leosvel Pérez Espinosa
4711d598ec
cleanup(angular): simplify collecting mfe application dependencies (#10023) 2022-04-27 15:39:09 +01:00
Leosvel Pérez Espinosa
2e8e1a45e0
feat(angular): support migrating angular cli workspaces with multiple applications (#10020) 2022-04-27 15:35:56 +01:00
William Sedlacek
6db252bc46
fix(web): use cjs format for rollup if umd is not set (#8919) 2022-04-26 17:28:10 -04:00
Enoyao
35d6f4da47
chore(core): use destructuring assignment (#9447)
* chore(core): use destructuring assignment

* chore(core): use destructuring assignment

* chore(core): use destructuring assignment

* chore(core): use destructuring assignment

* chore(core): use destructuring assignment
2022-04-26 17:24:54 -04:00
Aaron Dang
0c614b2d6b
fix(web): option --no-runtimeChunk is not working (#7747)
Co-authored-by: Tuan Dang <tuandang@i3-automation.com>
2022-04-26 17:14:00 -04:00
Craigory Coppola
1d2bd1c393
fix(core): correct log message when uninstalled plugin is referenced in nx.json (#9994)
Fixes #9976
2022-04-26 17:05:57 -04:00
Chau Tran
5dbc98f9d8
fix(js): add missing --tag flag to the publish command (#10014) 2022-04-26 17:04:10 -04:00
Jason Jean
83ba230347
fix(core): fix migrating old workspaces without nx (#10011) 2022-04-26 16:03:10 -04:00
Jason Jean
3d563685d1
fix(core): fix having multiple versions of nx/devkit (#9998) 2022-04-26 14:39:18 -04:00
Emily Xiong
6e72dc6c12
feat(react-native): add upgrade-native generator to upgrade native code (#9925) 2022-04-26 14:31:59 -04:00
Jay Bell
4d17b3275e
fix(angular): shared transitive npm deps from host and remote applica… (#9997) 2022-04-26 17:29:15 +01:00
Marvin Heilemann
68207ef401
fix(core): pnpm exec check not matching for v7 (#10004) 2022-04-26 16:16:18 +00:00
Emily Xiong
869edb798b
fix(react-native): add migration script to change the main tag to className (#9957) 2022-04-26 11:55:00 -04:00
Emily Xiong
d439d4b20a
feat(react-native): upgrade metro version to 0.70.2 (#9961) 2022-04-26 11:54:05 -04:00
Jack Hsu
c5a5eb30a2
fix(js): update minimal publish script to validate project name and config (#10006) 2022-04-26 11:10:15 -04:00
James Henry
13807d3a81
chore(core): remove deprecated with-deps, NxJsonProjectConfiguration + operators (#9947) 2022-04-26 10:55:24 -04:00
Craigory Coppola
0ce7ce6b51
fix(core): align yargs options in workspace-generator with generic opts passed to other commands (#9953) 2022-04-25 23:02:12 -04:00
Thomas Pusztai
2647e48923
fix(core): fix postinstall failure due to project graph build error (#9960)
Delegate error handling to calling functions and avoid `process.exit(1)`, which causes the package's postinstall stage to fail if there are problems with the project graph

Closes #9451
2022-04-25 19:39:43 -04:00
Victor Savkin
8f1376277b
fix(misc): file server should force remote caching when invoking build 2022-04-25 14:31:23 -04:00
Leosvel Pérez Espinosa
f7369f5948
fix(core): fix usage of --dry-run flag in workspace generators (#9986) 2022-04-25 14:04:14 +01:00
Noriyuki Shinpuku
8c38b8618d
fix(storybook): ignore experimental packages during migrating to v14 (#9972) 2022-04-23 20:52:11 -04:00
Jason Jean
7d4255eeb4
fix(core): fix importing default exports for generators+executors (#9975) 2022-04-24 00:49:38 +00:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Caleb Ukle
1297f0616a
fix(testing): fix migration path error on windows (#9969) 2022-04-23 04:07:45 +00:00
Caleb Ukle
88971468db
fix(testing): pass --js flag to jest generators (#9965) 2022-04-22 22:43:59 -04:00
Jason Jean
ec47503420
fix(core): add dependency for cliui + string-width (#9967) 2022-04-22 19:13:38 -04:00
Jason Jean
c3484c775e
fix(core): make npm scope optional (#9966) 2022-04-22 18:05:43 -04:00
Philip Fulcher
30a3f93c0c
fix(storybook): skip version update on storybook-deployer (#9964) 2022-04-22 17:31:55 -04:00
Jason Jean
4030d47244 fix(core): fix creating new workspaces with not normalized names 2022-04-22 21:15:52 +02:00
Caleb Ukle
fca85ca482
fix(testing): add missing --js support for jest generators (#9959)
* fix(testing): add ts-node as devDep

* fix(testing): add missing --js option for jest generators
2022-04-22 14:49:40 -04:00
Jason Jean
14d9e694af
Revert "fix(core): local plugins should resolve in package-manager workspaces (#9913)" (#9955)
This reverts commit 2d2c8a797ca9a4076f569c203ea11668ff45a8b5.
2022-04-22 14:04:25 -04:00
Juri Strumpflohner
fa1bc7b289
fix(react): use Routes component wrapper for react router v6 (#9936) 2022-04-22 11:40:48 -04:00
Jonathan Cammisuli
c1c5f0b57d
feat(misc): add application x-type for host and remote generators (#9954) 2022-04-22 14:42:25 +00:00
Jason Jean
9f87d4c346
fix(angular): remove src from lintFilePatterns (#9940) 2022-04-21 18:54:22 -04:00
Caleb Ukle
b93091b558
fix(testing): include jest.config.ts in tsconfig.spec.json (#9938) 2022-04-21 22:47:53 +00:00
Jason Jean
f98459ec99
fix(core): remove log during migrate (#9935) 2022-04-21 18:10:18 -04:00
Caleb Ukle
e6988753b8
feat(testing): update to latest jest version (#9792)
bump to v27.5.1 of jest and 0.2.20 of @swc/jest
2022-04-21 18:26:30 +00:00
Jason Jean
faa8ec0d82
feat(core): default to Yes for Nx Cloud during add-nx-to-monorepo (#9934) 2022-04-21 18:14:04 +00:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files (#9854)
* feat(testing): move jest config to .ts

move jest config and preset to ts files

ISSUES CLOSED: #8344

* fix(testing): update tests for jest.config.ts changes

update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Craigory Coppola
2d2c8a797c
fix(core): local plugins should resolve in package-manager workspaces (#9913)
In npm/pnpm/yarn workspaces, packages apparently end up symlinked to node_modules. This was causing local plugin resolution to fail, since the fallback call was never hit. The fix is to check for a local plugin *first*, and then if not found to fall back on the installed plugin.

This has the disadvantage of it not being possible to hit the installed version of a plugin's executors / generators, since the local plugin resolution will always kick in. I'm not super sure if that is worth fixing, but its  something to consider.

Fixes #9823
2022-04-21 13:47:00 -04:00
Caleb Ukle
e3a88d4fbe
fix(core): fix writing partial files to disk during migration (#9931)
there can be a case where a readable stream will end but the piped writeable stream has not finished
writing to the disk
in which case you'll get partial file contents aka malformed json
ensure you
resolve the function after the writeable stream has finished writing to the disk
2022-04-21 17:36:18 +00:00
Emily Xiong
2f41eb07c1
cleanup(core): update the docs to be inline with nx 14 (#9851) (#9872)
Co-authored-by: Victor Savkin <mail@vsavkin.com>
2022-04-21 12:42:45 -04:00
Colum Ferry
56aa346354
fix(angular): mf generators failed with directory (#9922) 2022-04-21 12:21:21 +01:00
Colum Ferry
e7f220dfac
fix(angular): there is no cors option on the file-server (#9923) 2022-04-21 12:21:11 +01:00
Miroslav Jonaš
d27563ba1e
fix(core): improve generated workflows (#9921) 2022-04-21 12:55:02 +02:00