175 Commits

Author SHA1 Message Date
Emily Xiong
a97212b601
feat(core): move tsconfig.base.json to @nrwl/js:init (#14467) 2023-02-16 11:17:30 -05:00
Colum Ferry
40deb00035
feat(core): add interactive env var (#14994) 2023-02-16 08:54:59 -05:00
Jason Jean
1d773c0d35
fix(devkit): make devkit backwards compatible back to nx 14.1 (#14854) 2023-02-09 12:48:57 -05:00
Jack Hsu
fc20e693aa
fix(core): update ensurePackage util with workaround for bad module cache (#14786) 2023-02-07 15:57:02 -05:00
Dmitriy Stepanenko
544e8d5b70
fix(devkit): adjust behavior of the "addDependenciesToPackageJson" function (#14682) 2023-02-06 17:45:09 -05:00
Jack Hsu
243b7423f6
fix(devkit): always read package version from the actual package in e… (#14623) 2023-01-25 22:56:37 +00:00
Caleb Ukle
f3376419ac
fix(devkit): only install deps with higher version (#14630) 2023-01-25 22:10:40 +00:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Jack Hsu
99708af0fd
fix(core): read in projects from angular.json when called from conver… (#14057) 2022-12-29 13:12:20 -05:00
Craigory Coppola
285dc39371
feat(core): support targets with colons in the name without quotes (#13938) 2022-12-28 15:18:07 -05:00
Jason Jean
3fd18415ce
fix(devkit): do not move properties when nx.json doesn't exist (#13825) 2022-12-15 10:42:52 -05:00
Jack Hsu
8df1834f2c
feat(react): add nx.server.ready message from Node process to any potential parent process (#13808) 2022-12-13 23:02:20 -05:00
Craigory Coppola
8f7feba160
fix(devkit): isIncomingVersionGreater should work with prerelease versions (#13805) 2022-12-13 17:22:03 -05:00
Katerina Skroumpelou
440112d94b
fix(misc): change ensureDependencies to ensurePackage (#13735) 2022-12-09 13:28:34 -05:00
Jack Hsu
dc1b53a2c5
fix(devkit): update missing package message for ensurePackage for cla… (#13665) 2022-12-06 18:34:42 +00:00
Jason Jean
61d7d74378 fix(misc): fix tsconfig file includes 2022-12-05 10:39:03 -05:00
Jack Hsu
5b7dba1cb7
fix(react): clean-up after dependency removal from @nrwl/react (#13563) 2022-12-02 16:58:07 +00:00
Jack Hsu
cded83b2c5
feat(react): remove unnecessary dependencies from @nrwl/react (#13525) 2022-12-01 17:06:32 -05:00
Victor Savkin
54c2169d77
fix(misc): handle the case where --directory=libs 2022-11-29 16:39:21 -05:00
Victor Savkin
fe062f42c3 fix(core): deduce layout directory 2022-11-29 16:08:57 -05:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Colum Ferry
e70fd48880
feat(angular): add withModuleFederationForSSR function (#13172) 2022-11-15 16:35:09 +00:00
Victor Savkin
c4ebef2803 feat(react): add a preset to generate a workspace with a single app at the root 2022-11-12 17:17:58 -05:00
Júlio César
b142f385c9
fix(devkit): use target inference from plugins in readTargetOptions (#13141) 2022-11-12 13:49:54 -05:00
Colum Ferry
40a2d655c2
feat(devkit): extract more common module federation logic (#13066) 2022-11-09 09:37:14 +00:00
Colum Ferry
e040433a47
feat(devkit): add module federation utils (#13048) 2022-11-08 11:48:40 +00:00
Victor Savkin
3c99ee660b feat(misc): show a hint message on how to upload last logs to cloud 2022-11-03 11:47:47 -04:00
Dmitrii Kuzmin
e584882496
fix(devkit): names fn constantName (#12683) 2022-10-26 12:01:36 -04:00
Colum Ferry
657cdbab60
fix(devkit): incorrect conditional to decide if package should be added (#12749) 2022-10-21 18:15:03 +00:00
Philip Fulcher
62e91f37af
fix(core): catch rejected promises in convertNxExecutor (#12627) 2022-10-14 17:35:33 -04:00
Craigory Coppola
d8f3c6b186
fix(react): migrations use tsquery, so we should provide it (#12575) 2022-10-13 13:37:37 -04:00
Colum Ferry
bcbe59edba
feat(devkit): restrict addDependenciesToPackageJson to update versions only if greater than existing (#11443) 2022-10-07 16:36:19 -04:00
Mickaël Boidin
6fdc123537 fix(devkit): convertNxExecutor() should properly emit observables
Fixes: #11653
2022-08-22 10:22:48 -04:00
Craigory Coppola
6948ffdcff fix(core): project graph should be read from executor context
These changes lower the risk of reading the cache during a write operation when multiple
processes are actively writing / reading the cache.
2022-08-19 12:50:07 -04:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Colum Ferry
f4ce897128
fix(devkit): do not duplicate dependencies (#10921) 2022-08-03 12:23:25 -04:00
Leosvel Pérez Espinosa
6f2d5243c5
cleanup(misc): replace usage of rxjs-for-await (#11182) 2022-07-22 15:28:45 -04:00
Phillip Barta
fc16d6228d
cleanup(devkit): use Mode type from fs for Tree permissions (#11188) 2022-07-19 12:58:23 -04:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Jason Jean
5b17335f4d Revert "feat(core): support nested ignore files (#10455)"
This reverts commit 36d8ee26c430def7b68b123d1b87b792928411d2.
2022-06-13 13:16:05 -04:00
Gabriel Terwesten
36d8ee26c4
feat(core): support nested ignore files (#10455) 2022-06-10 14:05:41 -04:00
Craigory Coppola
c9897c61e6
fix(core): swc should be an optional peer dependency (#10461) 2022-05-26 12:09:27 -04:00
Craigory Coppola
e439718059
fix(devkit): parseTargetString should support targets with colons in the name (#10400) 2022-05-20 16:12:35 -04:00
Chau Tran
17c40229a7
fix(js): format .lib.swcrc file with nx format (#10254) 2022-05-16 10:19:49 -04:00
Alois
0bd08cccba
fix(devkit): don't replace begining undescore when creating file (#9870)
Underscore is a character usually used for sorting purposes and is absolutely legit. There is no
reason to replace it.

ISSUES CLOSED: #8875
2022-04-29 14:17:14 -04:00
Jason Jean
5e23c07077
fix(core): automatically add root to the project.json projects (#9977)
* fix(core): automatically add root to the project.json projects

* chore(core): move project-configuration generator utils to nx package

* fix(core): add migrations to remove root
2022-04-28 13:24:35 -04:00
Jason Jean
3d563685d1
fix(core): fix having multiple versions of nx/devkit (#9998) 2022-04-26 14:39:18 -04:00
Craigory Coppola
b225d98aaa
fix(devkit): remove from package-json should pass when dev dependencies null (#9903)
Closes #9877
2022-04-20 16:54:44 -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