6054 Commits

Author SHA1 Message Date
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
Benjamin Cabanes
e06ed4e0ab
docs(nxdev): add miro to nx conf lite speakers list (#10012) 2022-04-26 16:53:07 -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
275a07daae
docs(react-native): add react native v0.68 migration guide (#9958) 2022-04-26 11:54:29 -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
Jason Jean
ff4f924490 Release 14.0.3 2022-04-25 21:47: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
Benjamin Cabanes
f7efef433c
docs(nxdev): fix internal module federation link (#9996)
Fixes #9990
2022-04-25 19:27:53 +00:00
Victor Savkin
8f1376277b
fix(misc): file server should force remote caching when invoking build 2022-04-25 14:31:23 -04:00
Adam Gardner
2cde4fb839
docs(nxdev): documentation for tailwind.config.js (#9970)
Fixing the join statement by adding *
2022-04-25 12:23:20 -04:00
Victor Savkin
5bc53e09f2
docs(misc): minor improvements in the module federation guide 2022-04-25 11:04:56 -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
Jason Jean
fda454cb1c Release 14.0.2 2022-04-23 00:09:57 -04: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
56afad1c73
chore(repo): remove unused dependencies (#9968) 2022-04-22 22:42:59 -04:00
Jason Jean
ec47503420
fix(core): add dependency for cliui + string-width (#9967) 2022-04-22 19:13:38 -04:00
Giora Guttsait
90f9591279
docs: add closing string template backtick in code block (#9963) 2022-04-22 22:46:48 +00: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
Jack Hsu
d5468f74d2
docs(core): update module federation guide (#9952) 2022-04-22 09:43:50 -04:00
Jason Jean
ebc3e64442 Release 14.0.1 2022-04-21 19:23:28 -04: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
Jack Hsu
21d5dd13f3
docs(core): module federation docs (#9932) 2022-04-21 18:04:36 -04:00
Jason Jean
aeece5f53c Release 14.0.0 2022-04-21 16:35:50 -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