1012 Commits

Author SHA1 Message Date
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
Edouard Bozon
19964a62ae chore(core): disable commit gpgsign
When running tests locally, if global Git config is set to sign commit with gpg then, tests are failing with `gpg failed to sign the data`, this fixes this issue.
2021-10-15 11:02:09 -04:00
Fabian
65f6c0d562
fix(core): fix single file outputs cache regression (#7355) 2021-10-15 11:00:59 -04:00
puku0x
324738b289 feat(core): strict mode by default for workspace libraries 2021-10-15 10:35:44 -04:00
Jason Jean
3520d7fd48
fix(core): handle failures writing to the cache (#7349) 2021-10-15 10:31:45 -04:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00
James Henry
4ff498fb42 chore(core): lazy load commands 2021-10-14 20:10:20 -04:00
James Henry
a4e0d72edc chore(core): updates to daemon related commands and output 2021-10-14 20:10:20 -04:00
James Henry
e7d49aa55d chore(core): nx reset command, updates to cli help output and docs 2021-10-14 20:10:20 -04:00
Jack Hsu
8779a22be3
chore(core): move webpack utils into web and node packages (#7367) 2021-10-14 18:50:46 +00:00
Craigory Coppola
bcb1c5c797
fix(core): add null check to migration for config locaton swap (#7363) 2021-10-14 14:19:33 -04:00
Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json (#6642)
* feat(core): consolidate settings between workspace.json + nx.json

workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.

* chore(core): fix angular unit tests w/ new config

* chore(core): fix failing tests

* chore(core): fix formatting

* chore(core): fix more tests

* chore(core): normalize-nx-json feedback

* chore(core): Fix more unit tests

* chore(core): fix remaining tests in workspace

* chore(linter): fix remaining linter tests

* chore(core): fix remaining spec + build issues

* chore(core): formatting fixes

* feat(core): migration script to move config options to new locations

* chore(core): fix e2e tests

* chore(core): run format

* chore(react-native): fix failing tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): move properties to new location during format step

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): initial pass on ngcli-adapter for property consolidation

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(misc): fix tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* docs(core): update docs with changes

* chore(misc): fix tests

* chore(core): code review changes

updateWorkspaceJson -> updateWorkspace, no longer uses updater function

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix bug in ngcli impl

* fix(core): fix bug in ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* fix(core): fix ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix workspace e2e

* chore(core): fix nx-plugin e2e

* fix(core): move defaultProject to nx.json

* chore(core): fix broken workspace test

* chore(core): formatting

* chore(core): fix workspace format

* chore(core): add nxJson to ExecutorContext

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): remove all references ot `NxProjectConfiguration` from our code

* chore(core): Review Changes

* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Victor Savkin
dff26ca96c fix(core): daemon watch mode gets stuck 2021-10-13 15:52:21 -04:00
Victor Savkin
1cc1e27110 feat(core): add exponential backoff for graph recomputation 2021-10-13 15:01:17 -04:00
Miroslav Jonaš
1205d2d008
fix(core): update outdated graph version (#7334) 2021-10-13 20:48:56 +02:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
James Henry
9d2a304b11 chore(core): updates to daemon outputs, socket location and help 2021-10-12 20:02:00 -04:00
Leosvel Pérez Espinosa
301e11660a
fix(core): ensure workspace version format is respected when making changes to it (#7043) 2021-10-12 15:05:16 -04:00
Victor Savkin
14f7e66f46 feat(core): remove deprected project graph version 2021-10-12 14:29:03 -04:00
Victor Savkin
18c8e371ad feat(core): compute all workspace files incrementally 2021-10-12 12:10:13 -04:00
Philip Fulcher
2f675f7577
fix(misc): dep-graph --file option supports absolute paths (#7206) 2021-10-12 08:10:15 -06:00
James Henry
65475fe894 chore(core): error propagation, auto-shutdown, log forwarding, etc. 2021-10-12 09:58:30 -04:00
Victor Savkin
a81fbbac1b feat(core): clean up daemon server 2021-10-11 12:56:43 -04:00
Craigory Coppola
8435bdfb6f
feat(core): shift from 'master' to 'main' as default branch and base (#7111)
* chore(core): fix some broken tests

* docs(core): update docs to represent master -> main

* chore(core): review changes

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>

* chore(core): add migration script for backwards-compat w/ main default.

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-10-08 16:48:02 -04:00
Victor Savkin
4b9c00ef39 feat(core): use worker threads to construct a project graph
This reverts commit caac6ee2e9c576c44a33b4f71c59abbd5ba187d7.
2021-10-08 13:45:10 -04:00
Jason Jean
4c4826667e
fix(core): fix defaulting object properties to empty {} (#7288) 2021-10-08 13:15:37 -04:00
Victor Savkin
de680d3ace chore(core): extract daemon client into a separate file 2021-10-07 13:12:52 -04:00
Jason Jean
caac6ee2e9 Revert "feat(core): use worker threads to construct a project graph"
This reverts commit d9175d1ac6e7fbca1229b23a6f72b520a3644322.
2021-10-07 11:25:55 -04:00
Victor Savkin
d9175d1ac6 feat(core): use worker threads to construct a project graph 2021-10-07 11:23:44 -04:00
James Henry
79048fdb5c
chore(core): implement file watching in the daemon (#7232) 2021-10-06 21:42:01 -04:00