Leosvel Pérez Espinosa
3a2fd3f419
fix(angular): support target aliases existing in the angular-cli ( #8787 )
2022-02-01 13:59:02 -05:00
Jason Jean
490c66f245
fix(core): fix dot notation parsing ( #8763 )
2022-01-28 18:36:20 -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
Phillip Barta
e57cef0901
cleanup(repo): use devkit instead of devkit reexports from workspace ( #7773 )
2021-12-21 21:06:31 +00: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
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
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
James Henry
9d2a304b11
chore(core): updates to daemon outputs, socket location and help
2021-10-12 20:02:00 -04:00
James Henry
3351ef80bc
chore(core): opt-in daemon for ProjectGraph creation, refactor hasher ( #6572 )
2021-08-12 08:56:01 -04:00
vsavkin
0e52c43665
feat(core): store file deps and only reanalyze changed files
2021-07-16 20:21:45 -04:00
vsavkin
c0d66563b4
fix(core): error messase when missing targets
2021-07-03 21:20:09 -04:00
Victor Savkin
80d3999d42
fix(core): correct detect run commands when using project.json ( #6221 )
2021-07-02 08:15:57 -04:00
Phillip Barta
868de62ae7
feat(core): use common fileutils in @nrwl/cli and create-nx-plugin ( #5940 )
2021-06-14 11:08:05 +02:00
Leosvel Pérez Espinosa
8354c54b18
fix(core): nx run should not use defaultConfiguration when configuration is passed ( #5796 )
...
ISSUES CLOSED : #5793
2021-05-26 11:35:52 +01: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
Jason Jean
c7ce8d2b28
fix(core): consistently process args with yargs-parser instead of minimist ( #5488 )
2021-04-30 19:08:59 -04:00
vsavkin
1a918d7e6b
feat(misc): add a convenince command to connect to nx cloud
2021-04-04 20:14:57 -04:00
Vivek More 🧐
212fb00548
cleanup(misc): use more es6 features
...
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
Victor Savkin
429fb22260
feat(core): default to running npm scripts when no targets are defined
2021-01-28 18:52:16 -05:00
Tasos Bekos
9abdb78a4a
feat(repo): run E2E tests on Windows (cmd)
2021-01-06 15:47:18 -05:00
Victor Savkin
86b5c5c518
fix(core): support invoking nx from a subdirectory
...
Closes #4298
2020-12-17 21:25:30 -05:00
Victor Savkin
1c22f7fa71
fix(core): throw when invalid config is provided for initiating project
2020-12-15 22:08:43 -05:00
victor savkin
8afc5c5bce
feat(core): make older builders support new config formats
2020-12-01 15:46:00 -05:00
Victor Savkin
68a4a7eb8c
feat(core): add nx devkit builders
2020-11-17 19:31:08 -05:00
Victor Savkin
326bff6f1a
fix(core): update the version of yargs to fix npm audit
2020-09-04 10:15:07 -04:00
Jason Jean
e2f123dc56
fix(core): override --prod with --configuration
2020-07-29 17:10:03 -04:00
Victor Savkin
d0cbc35efa
feat(repo): build nx with nx
2020-06-03 16:25:25 -04:00
Victor Savkin
690be207be
fix(misc): several misc fixes
2020-05-28 15:02:06 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 ( #2934 )
...
this is just for the repo, and not the workspace
Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Victor Savkin
ed85bc57c3
fix(core): run-one runner doesn't handle --help
2020-03-26 10:12:36 -04:00
Victor Savkin
dae258928c
fix(core): provide better error messages when the target is incorrect
2020-03-10 10:07:30 -04:00
Victor Savkin
b780a1b585
feat(core): switch to use tasks-runner-v2 by default
2020-03-09 12:01:20 -04:00
Victor Savkin
ff6b434548
feat(core): add ability to run targets against project's deps
2020-02-28 16:42:38 -05:00
Victor Savkin
90879eb469
feat(core): add ability to skip cache
2020-02-25 16:38:43 -05:00
Victor Savkin
c3fdf2e702
feat(core): running one task uses the same tasks runner as run-many
2020-01-09 12:07:41 -05:00