337 Commits

Author SHA1 Message Date
Phillip Barta
fc16d6228d
cleanup(devkit): use Mode type from fs for Tree permissions (#11188) 2022-07-19 12:58:23 -04:00
Miroslav Jonaš
b8efa778f6
fix(core): remove eslintrc.json from the package build artifact (#11043) 2022-07-07 18:34:34 +00: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
Jason Jean
bc7c8ad972 Revert "fix(core): fix ignore logic and un-expose the functions from devkit (#10703)"
This reverts commit 0fd3281d3c7dc7c086adfe754ce1be85b0f890bb.
2022-06-13 13:16:05 -04:00
Jason Jean
0fd3281d3c
fix(core): fix ignore logic and un-expose the functions from devkit (#10703) 2022-06-10 21:50:31 -04:00
Gabriel Terwesten
36d8ee26c4
feat(core): support nested ignore files (#10455) 2022-06-10 14:05:41 -04:00
Craigory Coppola
15c04b099e
chore(repo): enable eslint plugin checks (#10666) 2022-06-09 18:04:06 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -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
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Chau Tran
17c40229a7
fix(js): format .lib.swcrc file with nx format (#10254) 2022-05-16 10:19:49 -04:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
925499803c
fix(devkit): update ejs (#10072) 2022-04-29 19:35:45 +00: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
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
Jason Jean
3d563685d1
fix(core): fix having multiple versions of nx/devkit (#9998) 2022-04-26 14:39:18 -04:00
James Henry
13807d3a81
chore(core): remove deprecated with-deps, NxJsonProjectConfiguration + operators (#9947) 2022-04-26 10:55:24 -04:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00: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
James Henry
46e7b4d49c
chore(core): improve help output for generators and executors (#9800) 2022-04-12 14:05:55 -04:00
Craigory Coppola
e4e5c3b63b
chore(repo): relocate types from migrate.ts (#9790) 2022-04-11 13:33:54 -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
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
Leosvel Pérez Espinosa
18776f6764
feat(angular): update ng-add generator so the migration result is more aligned with new nx workspaces (#9630) 2022-03-31 16:30:06 +01:00
Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package (#9621) 2022-03-31 09:07:22 -04:00
danjor
c2c3cf58ba
fix(devkit): add missing parameter to prettier getFileInfo (#9577)
Co-authored-by: Jordan CALVI <jordan.calvi.external@atos.net>
2022-03-29 10:14:52 -04:00
Victor Savkin
fe846882aa
chore(repo): update repo to 13.10 (#9497) 2022-03-24 12:21:07 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Benjamin Cabanes
1723e8e6b3
docs(nxdev): remove unused versions & flavors feature (#9462) 2022-03-22 17:44:35 +00:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Victor Savkin
4e9375f5f4 chore(repo): update the version of nx 2022-03-11 10:40:40 -05:00
Jason Jean
94687e993c
chore(repo): ensure license file exists for all published packages (#9274) 2022-03-10 18:33:06 -05:00
Leosvel Pérez Espinosa
081ff42955
fix(angular): handle newProjectRoot correctly when generating apps and libs (#9255) 2022-03-10 13:09:04 +00:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
Jason Jean
5964379bc9
feat(core): use package manager workspace globs to find projects (#9131) 2022-03-02 16:03:21 -05:00
Leosvel Pérez Espinosa
e677a1d82d
fix(devkit): fall back to the target default config when reading target options and the config is not provided (#8932) 2022-02-25 09:18:27 +00:00
Miroslav Jonaš
b251234af9
feat(core): use stricter types for project graph node references (#8813) 2022-02-16 11:45:04 +01:00
John Woodruff
9a0db6a61e
fix(angular): newProjectRoot key is removed on Angular CLI conversion (#8865)
When converting an Angular CLI project to an NX Workspace, the newProjectRoot key needs to be removed
from the angular.json to ensure generators function properly.

Closes #8851
2022-02-08 09:24:48 +00:00
Victor Savkin
4e474773bf
Revert "feat(core): show dep types in dep graph (#2760) (#8132)"
This reverts commit 31bb2f36261fdf222e9e8e962227dcd911dfee66.
2022-01-25 15:23:25 -05:00
David Nunez
3d36169b49
fix(core): need to read in any base nx.json when building a workspace (#8333)
* fix(core): need to read in any base nx.json when building a workspace

* chore(core): remove changes to ngcli-adapter and cleanup nx extension

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-01-24 18:46:36 -05:00
Victor Savkin
298ceba5b3
chore(repo): readme fixes 2022-01-24 09:39:31 -05:00
Victor Savkin
9e75918154
feat(core): speed up file map creation (#8597) 2022-01-19 15:30:21 -05:00
MaximSagan
31bb2f3626
feat(core): show dep types in dep graph (#2760) (#8132) 2022-01-18 10:20:09 -07:00
Phillip Barta
8abcaab7c3
fix(misc): dont publish jest.config.js files (#8341) 2022-01-07 14:10:24 -05:00
Victor Savkin
57593f5df7 feat(core): add the ability to remove edges in the graph 2021-12-22 12:51:16 -05:00
Craigory Coppola
814061dbff
feat(core): support for extending project inference capabilities (#8210) 2021-12-20 11:18:31 -05:00