Jack Hsu
253c0ff2ab
feat(devkit): add a flag to keep existing versions when calling addDependenciesToPackageJson ( #21123 )
2024-01-16 14:24:14 -05:00
Miroslav Jonaš
2c1d4bac96
fix(core): run ensurePackage with node_modules for yarn berry ( #18144 )
2023-07-19 10:50:32 -04:00
Miroslav Jonaš
d0c37727c5
fix(core): ensure yarn runs install with correct version ( #17997 )
2023-07-07 09:19:04 -04:00
Craigory Coppola
6d586dd78f
fix(devkit): return null for ESM dependencies instead of throwing error in ensurePackage ( #17195 )
2023-05-24 15:45:44 -04:00
Craigory Coppola
2381dd3cf6
fix(devkit): ensurePackage should obey npmrc and yarnrc.yml ( #16652 )
2023-05-01 17:28:12 -04:00
Isaac Mann
afa5eb59fa
docs(core): document the @nrwl => @nx rescope ( #16403 )
...
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-04-27 18:14:59 -04:00
Miroslav Jonaš
b3a3f2a724
fix(core): ensurePackage fails on pnpm workspaces ( #16002 )
2023-04-06 10:47:15 -04:00
Craigory Coppola
0370794e63
feat(core): add --quiet option to suppress generate output ( #15802 )
2023-03-21 19:53:21 -04:00
Jason Jean
66f498ac8a
fix(devkit): allow ensured packages to resolve from workspace node_mo… ( #15386 )
2023-03-02 12:45:36 -05:00
Jason Jean
fa6e8ea987
fix(js): refactor ensurePackage ( #15074 )
2023-02-22 18:47:40 -05:00
Craigory Coppola
e91e2c5b93
feat(devkit): add method to read installed Nx version ( #14669 )
2023-02-22 00:54:54 +00:00
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
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
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
Colum Ferry
657cdbab60
fix(devkit): incorrect conditional to decide if package should be added ( #12749 )
2022-10-21 18:15:03 +00: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
Colum Ferry
f4ce897128
fix(devkit): do not duplicate dependencies ( #10921 )
2022-08-03 12:23:25 -04:00
Craigory Coppola
c9897c61e6
fix(core): swc should be an optional peer dependency ( #10461 )
2022-05-26 12:09:27 -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
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
Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package ( #9621 )
2022-03-31 09:07:22 -04:00
Victor Savkin
6f038e7a4a
feat(core): reorganize packges to consolidate all cli-related code in nx
2022-03-14 16:42:51 -04:00
Jason Jean
89a4ac29b2
cleanup(devkit): rename all variable names of host to tree ( #6541 )
2021-07-29 15:46:41 -04:00
Benjamin Cabanes
09fa02112b
docs(core): correctly format function comments for doc generation ( #6055 )
2021-06-17 18:32:06 +00:00
Phillip Barta
6c6e8b36b7
feat(devkit): refactoring for stricter types and better performance
2021-05-27 13:37:29 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos
2021-03-23 13:03:17 -04:00
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators ( #4943 )
...
* feat(linter): convert-tslint-to-eslint generators
* fix(core): remove generators in collection for ng and nest
* fix(core): update tao to support mixed generators and schematics
* fix(core): update tao to support mixed generators and schematics
* fix(core): address some PR feedback
* fix(core): fix snapshots after syncing up with master
* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets
* fix(linter): unit tests
* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next ( #4769 )
2021-02-12 15:29:31 -05:00
Jason Jean
a500088d36
fix(core): do not modify existing files during workspace creation
2021-02-02 14:01:06 -05:00
Jason Jean
4bc9bbda22
feat(testing): move jest to nrwl devkit ( #4454 )
2021-01-08 15:07:27 -05:00