1041 Commits

Author SHA1 Message Date
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
Gustavo Perdomo
e960285769
feat(nest): support nest 8 (#6284)
* feat(nest): support nest 8

* feat(nest): update migration and generation logic

* feat(nest): updated according feedback

* feat(nest): fix migration issues

* feat(nest): final changes according feedback

Co-authored-by: Chau Tran <nartc7789@gmail.com>

* fix(nest): log info to install packages install running installPackageTask

Co-authored-by: Chau Tran <nartc7789@gmail.com>
2021-11-04 16:48:38 -05:00
Miroslav Jonaš
c8603f1911
fix(core): ensure cache has correct project graph version (#7572) 2021-11-02 09:49:42 -04:00
Miroslav Jonaš
27cc2d9c5f
fix(core): improve graph version adapter error message (#7573) 2021-10-29 22:42:51 +00:00
Pierre-Alexandre
6734187051 cleanup(core): avoid first format to modify nx.json
Getting the `nx.json` code formatting right on brand new workspaces, so the first `nx format` won't update that file
2021-10-28 20:35:46 -04:00
Jack Hsu
75513d6f8b
chore(repo): add tests to make sure migration factory/implementation are correct (#7541) 2021-10-27 16:12:07 -04:00
Craigory Coppola
f11baf6813
fix(core): nx daemon shouldn't cause flickering on windows (#7492) 2021-10-26 12:25:00 +04:00
Chau Tran
9356f73380
feat(node): add tsPlugins to node:package executor (#7477)
node:build currently has tsPlugins options to invoke TypeScript Plugins (transformers). This PR
brings the same functionality to node:package

ISSUES CLOSED: #7420
2021-10-25 20:03:56 -05:00
Jack Hsu
8686e919fb
fix(core): update generator logic so empty strings ("") for appsDir and libsDir work properly (#7508) 2021-10-25 12:01:53 -04:00
Miroslav Jonaš
3d250efb52
docs(core): update nx-add text (#7445) 2021-10-20 15:21:00 +02:00
Victor Savkin
693bd411d7 fix(core): reset daemon intenral state when cache is missing 2021-10-19 11:19:20 -04:00
Miroslav Jonaš
ff3b8b6106
feat(linter): allow banning of external packages (#7378) 2021-10-18 07:23:49 -07:00
Miroslav Jonaš
d9fd42eec8
chore(linter): update eslint to latest v7 version (#7400) 2021-10-18 15:20:51 +02:00
Miroslav Jonaš
267ad06470
fix(linter): handle also external nodes in find project by import (#7401) 2021-10-18 04:28:33 -04:00
Craigory Coppola
892dfa0bcc
chore(core): fix migration for new config locations (#7390) 2021-10-15 23:45:46 +00:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Victor Savkin
6017a05274
fix(core): print a more descriptive error message telling users invoke decorate-angular-cli.js (#7383) 2021-10-15 12:55:32 -04:00