Jay McDoniel
474dc283ce
fix(core): use pnpm exec instead of pnpx ( #7695 )
...
pnpm is deprecating pnpx and suggests using pnpm exec instead.
pnpx still works at the moment, but if for whatever reason it
isn't installed then this pr can make create-nx-worksapce stsill work.
[pnpx documenation](https://pnpm.io/pnpx-cli )
2021-11-12 11:49:53 -05: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
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
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
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
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
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
d3ba0caf7c
cleanup(core): misc cleanup for project.json files ( #6112 )
2021-06-24 10:16:00 -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