284 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
Kirils L
3c6044c821
fix(core): wrong migration docs link again (#7628) 2021-11-05 16:35:33 +00:00
Kirils L
3d6496b7a3
fix(core): wrong migration docs link (#7625) 2021-11-05 15:32:16 +00:00
Craigory Coppola
0fe1614505
fix(core): convert-nx-executor should be executable in ng workspace (#7474) 2021-10-21 12:29:49 -04:00
Jason Jean
d2c18e651f
fix(core): throw an error when configuration is invalid/ outdated (#7452) 2021-10-20 17:05:37 +00: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
Antoine Leblanc
a965f89d89
Update GitHub brand name usage (#7291)
* docs(misc): update github brand name usage

Relates to https://github.com/logos

* docs(nxdev): update github brand name usage

Relates to https://github.com/logos

* fix(misc): update github brand name usage

Relates to https://github.com/logos
2021-10-12 15:09:03 -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
Jason Jean
4c4826667e
fix(core): fix defaulting object properties to empty {} (#7288) 2021-10-08 13:15:37 -04:00
Jason Jean
a57ca80a19
fix(core): fix error when tsconfig.base.json is invalid json (#7204) 2021-10-01 20:05:30 -04:00
Jason Jean
04f8426fa8
fix(angular): remove relative calculation for config paths in wrapped angular devkit schematics (#7201) 2021-10-01 21:13:41 +00:00
Jason Jean
4c3d65541e
fix(core): simplify the way angular devkit migrations run (#7135) 2021-09-24 21:31:13 -04:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
AgentEnder
a3599a525b fix(core): convert-to-nx-project should normalize paths
fixes #6968
2021-09-15 11:54:03 -04:00
AgentEnder
8f9da7c762 fix(core): read v2 workspace format in converted nx generators
closes #6452
2021-09-15 11:54:03 -04:00
AgentEnder
f929a474c6 fix(core): display dynamic prompts in angular cli 2021-09-15 11:54:03 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
Craigory Coppola
06dc66b770
chore(repo): fix copy dep ordering (#6919) 2021-09-02 17:52:38 -04:00
Craigory V Coppola
b416bb6dc9
fix(core): npmrc should be obeyed during nx migrate (#6781) 2021-09-01 23:37:40 +00:00
Craigory V Coppola
a656959204
fix(core): configFilePath included in hash (#6881)
closes #6880
2021-08-31 16:46:26 -04:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Jason Jean
bfa06ce8b0
feat(misc): add generator for simple npm-package (#6784) 2021-08-20 14:10:00 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Jason Jean
5c1bc60de8
fix(core): fix validation of string length (#6741) 2021-08-17 02:42:22 +00:00
Jason Jean
d6cb7f9fdc
fix(core): parse aliases in target configuration and coerce aliased options (#6705) 2021-08-13 13:30:29 -04:00
Leosvel Pérez Espinosa
ce7441217f
cleanup(misc): refactor absolute imports to self (#6667) 2021-08-10 12:45:43 +01:00
Leosvel Pérez Espinosa
86a113c682
fix(core): fix prompt support for enum definitions (#6651) 2021-08-09 11:19:28 +01:00
Nrwl CI Machine
bc4ec52f53 cleanup(misc): avoid importing rxjs in the core path 2021-08-06 16:29:16 -04:00
Chau Tran
f7aeb99e58
fix(core): ensure to only passthrough verbose if isVerbose is true (#6607)
* fix(core): ensure to only passthrough verbose if isVerbose is true

ISSUES CLOSED: #6606

* fix(core): update applyVerbosity test

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-05 15:18:57 -04:00
Leosvel Pérez Espinosa
5037f2ca6e
feat(core): add devkit tree method to change the permissions of a file (#6598) 2021-08-04 16:49:41 +01:00
Chau Tran
ffcd28348b
fix(core): apply verbose flag to combined options if the schema allows it (#6593)
`--verbose` flag is spliced from the command args upon invoking nx commands. This PR makes sure to
set the `verbose` property based on `isVerbose` flag if the Schema allows it

ISSUES CLOSED: #6520 #4160

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-08-03 19:39:47 +01:00
Leosvel Pérez Espinosa
595776db19
fix(core): flush changes using the tree write file options (#6592) 2021-08-03 13:52:40 -04:00
Jason Jean
e53e58bc83
fix(core): add better option validation (#6557) 2021-07-30 19:04:56 -04:00
Leosvel Pérez Espinosa
0af1780b81
fix(core): improve run-commands dx for ready-when (#6448) 2021-07-22 09:17:22 +01:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
vsavkin
0e52c43665 feat(core): store file deps and only reanalyze changed files 2021-07-16 20:21:45 -04:00
Leosvel Pérez Espinosa
3a18c4da0a
fix(core): validate pattern if specified for a schema property (#6395) 2021-07-16 16:27:22 +01:00
Craigory V Coppola
d32ac2bfd8
cleanup(misc): fix missing return statement in ngcli-adapter (#6380) 2021-07-15 10:58:34 -04:00
Craigory V Coppola
6ef8afbfd9
fix(core): wrapped angular schematics should be able to update newly created standalone projects (#6351)
* fix(core): wrapped angular schematics should be able to update newly created standalone projects

Wrapped angular schematics inside of generators should be able to update a newly created standalone
project configuration

ISSUES CLOSED: #6342

* fix(core): angular devkit schematics should normalize project paths before writing

Wrapped angular schematics inside of generators should be able to update a newly created
standalone
project configuration
ISSUES CLOSED: #6342

ISSUES CLOSED: #6353

* fix(core): wrapped angular-devkit schematics should pick up standaloneAsDefault

ISSUES CLOSED: #6354
2021-07-15 10:40:15 -04:00
Juri Strumpflohner
1670199115
fix(core): adjust logger to avoid errors when the passed object is not a string (#6320) 2021-07-09 17:41:39 +00:00
Kirils L
651b0d1f95
feat(core): migrations can add packages as dev dependencies (#6287) 2021-07-09 11:08:41 -04:00
Craigory V Coppola
651ba3649c
fix(core): project.json files are not being used with wrapAngularDevkitSchematic (#6276)
ISSUES CLOSED: #6271 #6272
2021-07-08 17:18:18 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Leosvel Pérez Espinosa
604242b58f
fix(angular): check for angular.json when converting config event path (#6170) 2021-06-29 18:02:53 +01:00
Jason Jean
8ac7519ada feat(core): introduce batch executors 2021-06-28 14:46:53 -04:00
Craigory V Coppola
7c7191a2f9
docs(core): docs for project.json files + associated generator (#6107)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-06-28 10:20:11 -04:00
Jason Jean
3093fd16fa fix(core): do not migrate nrwl packages that are not installed 2021-06-28 00:48:07 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Phillip Barta
5e6cf9646b feat(devkit): reexport package manager methods in devkit 2021-06-25 17:07:35 -04:00