Juri
7723e941c0
docs(core): adjusts description on library schematics
...
right now "where the app is placed" is displayed which might be confusing given we generate a
library
2020-02-20 08:26:28 -05:00
Rares Matei
c04f8afeba
feat(core): "cwd" option for commands runner ( #2501 )
...
* feat(core): add cwd option to commands runner
* docs(core): add docs for new cwd option in commands runner
* cleanup(core): remove unecesarry import in test
* fix(core): fix failing unit test
* feat(core): allow additionalProperties for run commands
* docs(core): format docs for command runner
2020-02-20 11:21:13 +00:00
Rares Matei
eee8c18ebc
feat(core): specify a custom .env file for workspace:run-commands ( #2505 )
...
* feat(core): add envFile option to commands runner
* feat(core): add tests for dotenv functionality in command runner
2020-02-19 15:07:26 -05:00
Jack Hsu
f1599f5ad7
fix(core): mark all projects as affected when npm package is deleted ( #2508 )
2020-02-19 12:55:08 -05:00
x87
647a657827
fix(core): find the most qualifying project for a changed file ( #2468 )
...
* fix(core): find the most qualifying project for a changed file
2020-02-19 08:47:51 -05:00
Jason Jean
1d1063fb1a
fix(core): recalculate dep-graph when root files are touched
2020-02-16 17:20:56 -05:00
Victor Savkin
a8f9e12fb6
fix(core): update ts eslint version to remove the warning
2020-02-16 12:50:12 -05:00
Victor Savkin
dd598e215d
fix(core): update create-nx-workspace to perform unit testing and linting
2020-02-16 12:50:12 -05:00
Bradley Zeggelaar
4d8b38b7ce
feat(core): adds host binding option to dep-graph command
2020-02-16 10:28:24 -05:00
Jason Jean
e5db43f92b
fix(misc): loosen dependencies for angular dependencies
2020-02-16 09:59:11 -05:00
Jack Hsu
a0a9180cec
fix(core): perform package.json update if one of the deps is missing ( #2481 )
...
* fix(core): perform package.json update if one of the deps is missing
* fix(core): add test for package.json update
Co-authored-by: Juri Strumpflohner <juri.strumpflohner@gmail.com>
2020-02-14 09:43:30 -05:00
Philip Fulcher
1719e04a5a
fix(core): fix 'group by folder' checkbox, small style changes
2020-02-13 17:31:07 -05:00
Philip Fulcher
9f81564d7c
feat(core): add better filtering to dep-graph visualization
2020-02-13 17:31:07 -05:00
Victor Savkin
5a994fd0d3
fix(core): set the version of rxjs with a caret
2020-02-09 16:49:04 -05:00
Brandon Roberts
c4a35e7d16
fix(core): check semver before updating dependencies using migrations.json
2020-02-07 13:49:03 -05:00
Jason Jean
fd0b192161
feat(core): update to devkit 9.0.1
2020-02-07 13:47:54 -05:00
Brandon Roberts
56c1c358ce
fix(core): update @nrwl/workspace migration versions
2020-02-07 13:47:47 -05:00
Jason Jean
35e3be2469
feat(angular): update to angular 9.0.0
2020-02-06 15:16:21 -05:00
Jason Jean
3c6d8c67f8
feat(angular): update angular to 9-rc.14 ( #2437 )
2020-02-06 13:01:04 -05:00
Jason Jean
be495c27ef
fix(core): fix migration adding duplicate implicit dependencies
2020-02-04 15:14:18 -05:00
Victor Savkin
04a9c5edbb
feat(core): minor cache improvements to improve dev ergonomics
2020-02-04 15:02:19 -05:00
Victor Savkin
e70f91170f
feat(core): add life cycle methods to the new tasks runner
2020-02-01 21:14:26 -05:00
Jason Jean
6e069c4a34
fix(misc): fix paths for ng add @nrwl/workspace ( #2413 )
2020-02-01 11:41:02 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" ( #2264 )
...
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Jonathan Cammisuli
1c4078986f
TypeScript module resolution and lint updates ( #2309 )
...
* Revert "Revert "fix(core): sort node names for module resolution""
This reverts commit 0b77072fcfe63f8d02fccb73ba138aca99cb7f66.
* fix(core): add target project locator
This will sort nodes by length of the root (high to low) then nodes that have no root.
It also uses TypeScript to first try and resolve a module. If it is not found via TypeScript, it will
fall back to using a string match.
2020-01-31 13:08:12 -05:00
Jason Jean
f923697358
fix(core): invalidate previous failed projects
2020-01-29 17:43:21 -05:00
Juri
c213ae1a99
fix(misc): update package.json only if needed
...
Adjusts the schematic to only touch the package.json if really required
ISSUES CLOSED : #2317
2020-01-28 21:26:22 -05:00
Jo Pearce
8c99bc3da7
feat(angular): add --project alias, default argv source and example to move schemas ( #2390 )
2020-01-28 16:46:29 +00:00
Victor Savkin
ea85a11adb
feat(core): add 'nx migrate' command to package.json
2020-01-26 22:02:05 -05:00
Jason Jean
3eeb7bf47f
fix(core): fix nx.json and workspace.json analysis ( #2375 )
2020-01-24 14:52:04 -05:00
Brandon
d7be9c1694
feat(core): add support for interactive mode when using presets ( #2258 )
...
* feat(core): add support for interactive mode when using presets
* fix(angular): get interactive flag from schematic context for preset task
* docs(core): add note about using interactive mode with presets
* fix(core): update parsing of interactive argument for preset
2020-01-24 13:00:35 -05:00
Jason Jean
b30930f95f
feat(core): analyze changes to nx.json and workspace.json ( #2338 )
2020-01-24 12:59:31 -05:00
Rares Matei
616fbd6c0d
fix(testing): fix race condition in tests for parallel commands runner ( #2358 )
...
* fix(testing): fix race condition in tests for parallel commands runner
We are now checking for the presence of both command outputs regardless of the order they were
written in to the file
* fix(testing): check if the runner schedules all tasks when running in parallel
In addition to checking whether the tasks complete and they write to the file, we are now also
checking if the runner creates all the tasks synchronously when invoked with parallel: true, vs.
zero or at most 1 when ran in serial mode.
* fix(testing): wait a micro-tick for the serial cmd test runner
Due to differences in implementation between serial and parallel runner, we need to wait for a
micro-tick in the serial test runner tests before checking for calls to spawn-process, otherwise it
would be zero.
2020-01-24 12:03:48 -05:00
Jonathan Cammisuli
ff45b7ee44
fix(core): set default linter for schematics in newly created workspaces ( #2364 )
...
a default linter is added to the following:
`@nrwl/node:library` and `@nrwl/nx-plugin:plugin`
2020-01-23 10:20:30 -05:00
Jonathan Cammisuli
fe98e29e4b
feat(nx-plugin): add new package for creating nx plugins
2020-01-21 15:18:13 -05:00
Jonathan Cammisuli
ca69622ebe
fix(misc): update dependencies for angular, linter, react and workspace
2020-01-21 15:00:38 -05:00
Juri
98a60d118f
feat(core): add enforceBuildableLibDependency to make buildable lib rule configurable
...
This way if the buildable lib dependency rule doesn't work for some people they have an easy way to
opt-out of it
2020-01-21 12:02:13 -05:00
Juri
36463cf2a2
feat(core): add rule to enforce deps buildable-lib to buildable-lib
...
buildable libraries should only be able to import other buildable libraries
to avoid confusion. Importing non-buildable libs would effectively
mean embedding their src into the buildable libs, even potentially
multiple times.
2020-01-21 12:02:13 -05:00
Jack Hsu
f7590cd5d4
chore(react): cleans up polyfill logic and provide custom-element polyfills when choosing wc preset ( #2347 )
...
Closes #1250
2020-01-20 15:08:01 -05:00
Victor Savkin
ed2259b5f1
feat(core): hash tasks in run commands
2020-01-19 16:19:23 -05:00
Jonathan Cammisuli
342ee9db77
chore(misc): update tree-kill package to 1.2.2 ( #2328 )
2020-01-16 19:53:04 -05:00
Juri
7a9d4bde0c
chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
...
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 21:10:42 -05:00
Victor Savkin
840f49943e
fix(core): make command caching work with earlier versions of node
2020-01-15 21:06:42 -05:00
Victor Savkin
f43897978c
Revert "chore(core): update @angular-devkit/* deps to fix browserslist out of date issue"
...
This reverts commit 3780eba421bda7f4755e6c433f1d6eba8fd86104.
2020-01-15 10:20:56 -05:00
Juri
3780eba421
chore(core): update @angular-devkit/* deps to fix browserslist out of date issue
...
see https://github.com/angular/angular-cli/issues/16560
2020-01-15 09:39:01 -05:00
Jack Hsu
b96dd1fd05
fix(core): handle removed npm package for affected logic
...
Closes #2274
2020-01-14 09:23:28 -05:00
Victor Savkin
0b77072fcf
Revert "fix(core): sort node names for module resolution"
2020-01-11 22:42:33 -05:00
Victor Savkin
2c3d46a1d7
fix(core): hasher should handle circular dependencies
2020-01-11 22:42:33 -05:00
Victor Savkin
f84c55d5aa
feat(core): remove old cache records
2020-01-10 08:04:55 -05:00
Jonathan Cammisuli
dddc1b1e6c
fix(core): sort node names for module resolution
2020-01-09 19:13:53 -05:00