72 Commits

Author SHA1 Message Date
Jason Jean
5d5be04865 chore(core): format tao re-exports 2022-03-15 15:54:49 -04:00
Victor Savkin
0f7cf3464e
fix(misc): reexport tokens that from nx 2022-03-15 15:20:49 -04:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Colum Ferry
dc2ed97a6f
fix(core): run command is swallowing errors from angular builders (#8571)
* fix(core): run command is swallowing errors from angular builders

* fix(core): log errors from angular builders when they exist
2022-01-18 14:48:21 -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
Craigory Coppola
9fd3e248e0
fix(core): fix stack overflow when using standalone configs with 600+ projects (#8026) 2021-12-06 18:13:48 -05:00
Craigory Coppola
7dbb645b8b
fix(core): ngcli adapter should find changed matching files correctly (#7980) 2021-12-02 20:23:02 -05:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file (#7584) 2021-11-30 15:02:06 -06: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
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
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
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
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +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
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
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
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
Phillip Barta
5e6cf9646b feat(devkit): reexport package manager methods in devkit 2021-06-25 17:07:35 -04:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Benjamin Cabanes
09fa02112b
docs(core): correctly format function comments for doc generation (#6055) 2021-06-17 18:32:06 +00:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Leosvel Pérez Espinosa
668ed1c54f
fix(angular): override TSLint deprecation message to point to Nx ESLint conversion generator (#5893) 2021-06-14 13:33:27 -04:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Leosvel Pérez Espinosa
d3992e9453
fix(core): override isDirectory in wrapped angular schematics host (#5869) 2021-06-03 14:00:45 +01:00
Leosvel Pérez Espinosa
329bb25404
feat(core): warn when deprecated options are used in generators and executors (#5845) 2021-06-01 21:45:06 -04:00
Leosvel Pérez Espinosa
87cae06392
fix(core): list files from the tree in the ngcli-adapter (#5860) 2021-06-01 18:16:44 -04:00
Leosvel Pérez Espinosa
7a10cb4361
fix(angular): add workaround to prevent process from exiting early when building (#5807) 2021-05-27 16:13:30 +01:00
vsavkin
fe0dec1f99 fix(angular): adjust the adapter to work with angular 12 2021-05-18 11:07:11 -04:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Phillip Barta
86387de99a
cleanup(core): refactored @nrwl/tao to improve code quality (#5412)
cleanup(core): clean up "fs" usage in @nrwl/tao
2021-04-21 12:47:42 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
vsavkin
3157293752 fix(core): support unit testing of nx generators invoking wrapped schematics 2021-02-23 12:08:25 -05:00
Jason Jean
5eb4518733
fix(core): add debug to logger when wrapping angular devkit schematics (#4830) 2021-02-18 13:48:57 -05:00
Victor Savkin
5f222245ed
fix(misc): fix the react-express preset (#4827) 2021-02-18 15:53:35 +00:00
Victor Savkin
3ebed2aba2
fix(core): wrapAngularDevkitSchematic should respect dry run (#4748) 2021-02-09 19:33:33 +00:00
Jason Jean
a941961bd4
fix(core): fix @angular-devkit/architect not being found (#4683) 2021-02-03 11:00:45 -05:00
Jason Jean
ec758b4276
feat(linter): remove tslint from empty workspace and fix tslint support (#4622) 2021-01-27 18:38:07 -05:00
Jason Jean
0933bcafd8
feat(core): clean up remaining usages of angular devkit (#4610) 2021-01-25 17:21:42 -05:00
Jason Jean
7066e8b821 feat(core): migrate preset to devkit 2021-01-22 20:13:33 -05:00
Victor Savkin
c40ce8a539 feat(testing): update cypress use nx devkit 2021-01-18 21:46:17 -05:00
Victor Savkin
1961bc97fb feat(core): support executors returning async iterators 2021-01-17 09:34:13 -05:00
Victor Savkin
764f580e99 fix(core): workaround node 12 resolve issue in migration host 2021-01-12 20:41:37 -05:00
Jason Jean
4bc9bbda22
feat(testing): move jest to nrwl devkit (#4454) 2021-01-08 15:07:27 -05:00
Victor Savkin
f907e83dd1 fix(core): print actual config name when using scope host 2021-01-05 12:02:44 -05:00