193 Commits

Author SHA1 Message Date
Jason Jean
b42d3f7c2b
feat(core): deprecate @nrwl/tao (#16550) 2023-04-25 14:54:29 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
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
Jason Jean
2213b4d1a8
fix(core): fix parsing of dot notation flags (#8889) 2022-02-08 10:35:34 -05:00
Jack Hsu
f231cfc01b
feat(repo): move gatsby plugin to nx-labs repo (#8617) 2022-01-20 12:00:51 -05:00
Luís Miguel Cabral
bc2d9c0cc6 fix(core): Leave passthrough parameters untouched
Previously when the passing through complex parameters nx would alter
the original parameters in the following  scenarios:
- When passing through parameters, dot notation parameters would be
parsed and no longer would be passthrough the the following process
correctly ( --cucumberOpts.timeout=10000" would instead be passed as
"--cucumberOpts=[Object]")
- strings with spaces (delimited by quotes) would be rendered as
multiple words instead ('--tags="not @exclude"' would be passed as
'--tags=not @exclude' where '@exclude' no longer is part of the tags
param)

This would that when running nx  cli to run a command the final command
would not get the correct parameters
2022-01-20 11:33:35 -05:00
Jason Jean
736df256b5
fix(misc): handle migrating packages with numbers in the name (#8598) 2022-01-19 17:21:24 -05: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
Martin Gansler
b73da63026
fix(core): update @nrwl/js package with nx migrate latest (#8363)
ISSUES CLOSED: #8362
2022-01-11 12:21:53 -05:00
Victor Savkin
20f731990c docs(misc): rework the top section of docs 2022-01-04 14:11:31 -05:00
Craigory Coppola
814061dbff
feat(core): support for extending project inference capabilities (#8210) 2021-12-20 11:18:31 -05:00
Victor Savkin
88751a3685 chore(repo): clean up the language to match the new tag line 2021-12-17 16:08:38 -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
Leosvel Pérez Espinosa
7d13b54216 fix(core): prevent processing migrations for transitive dependencies 2021-12-09 09:46:43 -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
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
Victor Savkin
7d14859863 fix(core): support target names with colons 2021-11-11 21:43:31 -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
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
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
Craigory V Coppola
b416bb6dc9
fix(core): npmrc should be obeyed during nx migrate (#6781) 2021-09-01 23:37:40 +00:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
Leosvel Pérez Espinosa
ce7441217f
cleanup(misc): refactor absolute imports to self (#6667) 2021-08-10 12:45:43 +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
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
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
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
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
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
Phillip Barta
5e6cf9646b feat(devkit): reexport package manager methods in devkit 2021-06-25 17:07:35 -04:00
Jason Jean
632d2f72ae fix(core): catch errors when cleaning up tmp dir during migrate 2021-06-25 16:48:42 -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