1157 Commits

Author SHA1 Message Date
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
Craigory Coppola
d28f571874
feat(js): create @nrwl/js package and move @nrwl/workspace:tsc to it (#7604) 2021-11-12 16:41:30 -06:00
AgentEnder
91967a37a7 feat(core): include community plugins when running nx report 2021-11-12 12:35:15 -05:00
Jason Jean
5e4aa5abbb fix(core): fix parsing for --parallel 2021-11-12 10:05:29 -05:00
Victor Savkin
e2845647d6 cleanup(core): make the migration script more resilient 2021-11-11 21:45:30 -05:00
Victor Savkin
7d14859863 fix(core): support target names with colons 2021-11-11 21:43:31 -05:00
Victor Savkin
025c15556e fix(core): workspaces with custom layouts should be scanned correctly when not using git 2021-11-11 15:32:03 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
AgentEnder
4d8c3496a3 fix(misc): ng-add fails when prettierignore not present 2021-11-11 15:12:06 -05:00
Victor Savkin
af664f60a1
feat(core): add an option to nx.json to enable project graph creation in the background (#7682) 2021-11-10 10:12:31 +00:00
Victor Savkin
3d1899eec8 feat(core): deprecate --max-parallel and use --paralle=N instead 2021-11-09 20:03:24 -05:00
Craigory Coppola
5afaad1222
fix(core): prettier should be marked as optional (#7655)
Closes #7421
2021-11-09 09:21:44 -05:00
Philip Fulcher
5f9279a3ff
feat(dep-graph): use xstate for state management (#7634) 2021-11-08 21:00:45 -07:00
Colum Ferry
8d6ac4f694
chore(angular): support angular 13 (#7161)
* chore(angular): support angular 13

Support Angular 13

chore(angular): support ng 13 next 11

chore(angular): upgrade tslib dep

chore(angular): update package and ng-packagr-lite executors to align with ng-packagr v13

chore(angular): update test snapshots with ts version

fix(angular): buildable lib tsconfig transform test

* chore(angular): sync ng-packagr changes to the package and ng-packagr-lite executors

* chore(angular): add migrations

* chore(angular): rxjs7

* feat(angular): check rxjs version to install

* feat(angular): update jest resolver to resolve esm

* chore(angular): fix version

* chore(angular): support jest-preset-angular

* fix(angular): tests

* fix(angular): fix e2e tests and add .angular to gitignore

* fix(angular): fix jest transformers ignore pattern

* fix(angular): fix node test

* fix(angular): fix workspace test

* fix(angular): import marble utils from jasmine-marbles instead of @nrwl/angular/testing

* feat(angular): update ngrx to 13.0.0-beta.;0

* fix(angular): temporarily skip test with pnpm

* fix(angular): bump jest-preset-angular to fix jest performance issues

* fix(angular): webpack-browser and server schema changes

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-08 12:01:55 -05:00
Philip Fulcher
cbc5ccc2d3
fix(misc): fix dep-graph HTML generation (#7619) 2021-11-05 15:22:36 -06:00
danjor
7332bbce81
fix(core): fixing move generator to update all import path (#7611) 2021-11-05 15:16:27 -05:00
Miroslav Jonaš
f23a4cf7f1
feat(linter): allow wildcards for banning external imports (#7623) 2021-11-05 15:25:05 +01:00
Leosvel Pérez Espinosa
c09aefd9f9
fix(core): consider available cpus when deciding whether to use workers to build the project graph (#7617) 2021-11-05 13:07:11 +00:00