1524 Commits

Author SHA1 Message Date
Jack Hsu
c6014adef3
fix(core): exclude nxWorkspaceRoot from args when calling custom preset (#8189) 2021-12-15 19:08:23 +00:00
Victor Savkin
385512a6e7 fix(core): use absolute paths when resolving package.json 2021-12-15 09:31:50 -05:00
Colum Ferry
08172bc3c8
feat(angular): upgrade to angular 13.1 (#8182) 2021-12-15 13:04:09 +00:00
Jack Hsu
6090b24c36
fix(core): properly set workspace root when using custom preset (#8173) 2021-12-15 01:41:35 +00:00
Nicholas Cunningham
18b3d61a1d
feat(core): Add support for versioning in the preset package name (#8146) 2021-12-14 10:07:57 -05:00
Craigory Coppola
a23284e9ce
fix(core): misc. ng cli compat layer fixes (#8141)
* fix(core): misc. ng cli compat layer fixes

* chore(core): unit test fixes
2021-12-13 18:48:11 -05:00
Jack Hsu
1f44bbeed9
fix(core): properly pass args to custom preset (#8154) 2021-12-13 22:26:41 +00:00
Jack Hsu
d6307181ab
fix(core): allow tsConfig without compilerOptions to work (#8119) 2021-12-10 21:56:17 +00:00
Nicholas Cunningham
3bedfd8039
feat(core): preset now supports external generators when creating a workspace. (#8084)
When you run create-nx-workspace --preset you can now pass in an npm package name.
This package will contain a generator named preset which is run after the workspace has been generated.
2021-12-10 15:44:20 -05:00
Benjamin Cabanes
ea0d65b019
docs(nxdev): better api generator templates (#8109) 2021-12-10 12:18:46 -05:00
Kyle Cannon
46cd008028
fix(core): add default export for tasksRunnerV2 (#8088)
Fixes #8085
2021-12-10 10:04:06 -05:00
Leosvel Pérez Espinosa
0ce96a47f1
fix(core): forward args to target dependencies with the same executor as the target that is being run (#8104) 2021-12-10 10:01:06 -05:00
Craigory Coppola
ea26751523
fix(core): remove generator should work w/o workspace.json (#8077) 2021-12-09 16:59:51 +00:00
Craigory Coppola
4685b1ee50
cleanup(core): add tests for merging package json scripts with targets (#8066) 2021-12-09 10:51:40 -05:00
Victor Savkin
1e6761ebc3 fix(core): propagate errors when daemon isn't able to start 2021-12-09 09:49:46 -05:00
Leosvel Pérez Espinosa
d808bc206b
fix(core): forward args to target dependencies with the same target name as the target that is being run (#8034) 2021-12-09 09:46:00 +00:00
Victor Savkin
3ecd1c28b7 fix(core): daemon should copy file maps 2021-12-08 14:44:12 -05:00
James Henry
406a94f237
chore(core): add foundations of ink powered life-cycle (#8028) 2021-12-08 19:09:51 +00:00
Leosvel Pérez Espinosa
051e7f1d10
fix(misc): fix list plugins to handle generators/executors collections that are not exported (#8057) 2021-12-08 16:33:12 +00:00
Victor Savkin
7885018ae9 fix(repo): handle circular deps between workspace and cli/jest 2021-12-08 10:28:26 -05:00
Victor Savkin
b2699df779 fix(core): correctly resolve project names when constructing deps using package.json files 2021-12-07 20:47:36 -05:00
Craigory Coppola
fce3d9be35
feat(core): merge package json scripts with targets list when building dependency graph (#7979)
* feat(core): merge package json scripts with targets list when building dependency graph

* chore(repo): add tsconfig path handling to generate CLI docs
2021-12-07 18:02:19 -05:00
Victor Savkin
ce25ef4708 fix(core): write a terminal output file when using the pipe capture method 2021-12-07 11:34:50 -05:00
Noriyuki Shinpuku
d1666b9234
fix(core): prevent overwriting nx.json options to undefined (#8009) 2021-12-06 19:08:21 -06:00
Victor Savkin
85b3d67224 fix(core): daemon uses lock file hash to detect version changes 2021-12-05 11:24:12 -05:00
Victor Savkin
4935049fab fix(core): handle errors in the deamon when recomputing file map incrementally 2021-12-04 21:10:39 -05:00
Victor Savkin
ddaa36f8f7 chore(repo): update nx to 13.3.0-beta.13 2021-12-04 14:00:31 -05:00
Philip Fulcher
f2ffd83d4d
fix(core): fix error message on formatFiles schematic and generator (#8003) 2021-12-04 04:28:58 +00:00
Benjamin Cabanes
1560a43acd
docs(nxdev): flatten ui libs (#8006) 2021-12-04 02:14:13 +00:00
Victor Savkin
738708c11c fix(core): daemon process should propagate file watcher errors to client 2021-12-02 14:36:11 -05:00
Philip Fulcher
f65d6fd42d
fix(core): fix formatFiles schematic to write changes to correct workspace config file (#7944) 2021-12-02 09:44:06 -05:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file (#7584) 2021-11-30 15:02:06 -06:00
Miroslav Jonaš
1aec1124e6
fix(linter): linter utils should respect nx.json folder configuration (#7949) 2021-11-30 16:42:11 +01:00
Miroslav Jonaš
64d388e607
feat(linter): allow banning of transitive dependencies from imports (#7906) 2021-11-30 13:34:32 +01:00
Miroslav Jonaš
2ad82adb10
chore(core): cleanup the obsolete graph version check from graph builder (#7903) 2021-11-26 12:30:54 +00:00
Victor Savkin
6f478c4e1d fix(core): git hashing fails when trying to hash a dir 2021-11-22 15:15:23 -05:00
Leosvel Pérez Espinosa
f6289beff6
fix(core): fix adding node_modules to path on windows when running migrations (#7835) 2021-11-22 12:14:56 +00:00
Miroslav Jonaš
2af9d4b4b1
fix(linter): fix broken circular deps output (#7810) 2021-11-22 10:51:41 +01:00
Leosvel Pérez Espinosa
4570ea2df6
fix(core): handle optional tasksRunnerOptions when checking whether to use the daemon (#7814) 2021-11-21 19:58:05 +00:00
Victor Savkin
3f7a74f1be cleanup(core): throw a meaningful error when versions are misaligned 2021-11-19 15:50:16 -05:00
Jason Jean
b222c47202
Revert "fix(core): prevent overwriting already added tasks when adding target dependencies tasks" (#7815)
This reverts commit babcbf613e70cdc895d425ad8f3ef6f0b1159fb4.
2021-11-19 20:30:18 +00:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
James Henry
8fa36ff3e8
feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 17:22:21 +00:00
Victor Savkin
1ddb6120a2 chore(repo): update the version of nx cloud 2021-11-19 09:25:12 -05:00
Ben Callaghan
d10b4ae69f
fix(core): add better error message for invalid tools tsconfig (#7792)
Co-authored-by: Ben Callaghan <bcallaghan@selectbankcard.com>
2021-11-18 19:00:30 +00:00
Victor Savkin
9eb4df9aeb fix(core): small fixes for issue discovered during migration 2021-11-17 16:32:22 -05:00
Leosvel Pérez Espinosa
babcbf613e fix(core): prevent overwriting already added tasks when adding target dependencies tasks 2021-11-16 20:08:17 -05:00
Victor Savkin
e3c7b979b2 feat(core): rework the tasks runner to use life cycle for printing messages 2021-11-16 20:07:34 -05:00
Leosvel Pérez Espinosa
4e1456e4b6
fix(misc): prevent formatting root config files twice (#7753) 2021-11-16 11:13:48 +00:00
Victor Savkin
3d54a7961a fix(core): NODE_PATH should include both workspace and tmp folders 2021-11-15 12:05:17 -05:00