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
Jonathan Cammisuli
3d05bf08d0
Revert "Revert "fix(misc): resolve projects for linting using TypeScript""
...
This reverts commit ab25e84b08a938661d5766c5c7f4d501cfaf8b0b.
2020-01-09 19:13:53 -05:00
Jonathan Cammisuli
37d4ab2560
Revert "Revert "feat(core): use TypeScript to resolve import modules for dependencies""
...
This reverts commit d00e1f1eea4fae204eee04d07ed829959583ad1d.
2020-01-09 19:13:53 -05:00
Jason Jean
311685762e
feat(core): generate implicit dependencies for e2e projects
2020-01-09 12:08:17 -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
Victor Savkin
0c7a9d3c87
fix(core): affected logic bug fixes
2020-01-08 13:19:02 -05:00
Brandon Roberts
db0d133dbc
fix(angular): support ng add with missing e2e, lint, test targets
2020-01-08 13:13:22 -05:00
Jo Hanna Pearce
25de783a26
feat(angular): add move schematic for workspace and angular collections
2020-01-08 13:09:24 -05:00
Jack Hsu
417d443fb8
fix(core): fix cache hasher to work without implicitDependencies
2020-01-06 16:22:49 -05:00
Jason Jean
8eea4b3157
feat(misc): add color option to run-commands
2020-01-05 16:37:10 -05:00
Victor Savkin
6bcffed425
fix(core): hasher should not process more than 2000 files at a time
2020-01-02 23:10:25 -05:00
Victor Savkin
d00e1f1eea
Revert "feat(core): use TypeScript to resolve import modules for dependencies"
...
This reverts commit aeeebeb12c32d1cd8dfb73d8821ee1fd10102c25.
2020-01-02 22:19:39 -05:00
Victor Savkin
ab25e84b08
Revert "fix(misc): resolve projects for linting using TypeScript"
...
This reverts commit 6411a29683eff436ad314692aec61ea403155d3a.
2020-01-02 22:19:33 -05:00
Jack Hsu
fd47229764
feat(react): add option to generate js files instead of ts files ( #2247 )
2020-01-02 15:56:14 -05:00
Victor Savkin
eb455b93be
fix(core): pass options to tasks runner correctly
2020-01-02 15:10:57 -05:00
Victor Savkin
d2d9f1cca0
feat(core): implement caching
2020-01-01 10:51:58 -05:00
Jonathan Cammisuli
6411a29683
fix(misc): resolve projects for linting using TypeScript
2019-12-30 15:39:46 -05:00
Victor Savkin
a0a2a6de76
Revert "fix(core): add import to project string comparitor locator"
...
This reverts commit 9fea0bc02ba4fe1c7239c821c8be31bf2ee24715.
2019-12-28 11:53:28 -05:00
Victor Savkin
c98745a55e
fix(core): wait for deps to be built before building projects
2019-12-28 10:57:03 -05:00
Jason Jean
e41b448085
fix(core): default to whole file change type
2019-12-23 16:08:47 -05:00
Jack Hsu
cc5050ebf7
fix(core): fix calculation of json diff ( #2234 )
2019-12-23 10:57:27 -05:00
Jason Jean
bbb7cfdb3f
fix(misc): add prettier to create-nx-workspace sandbox
2019-12-22 11:22:05 -05:00
Jason Jean
9fea0bc02b
fix(core): add import to project string comparitor locator
2019-12-20 18:24:50 -05:00
Jack Hsu
3a36c24873
feat(core): add support for npm package dependencies in project graph
2019-12-20 18:23:02 -05:00
Jason Jean
cee6888a12
feat(misc): export mock builder context from workspace ( #2221 )
2019-12-19 18:30:21 -05:00
Mike Brocchi
8da8ee08a2
fix(core): account for files with paths ( #2166 )
2019-12-18 23:09:43 -05:00
Jonathan Cammisuli
aeeebeb12c
feat(core): use TypeScript to resolve import modules for dependencies
2019-12-18 12:44:57 -05:00
Jason Jean
36b757b8d7
fix(misc): add missing packages to package group ( #2208 )
2019-12-18 10:29:46 -05:00
Jason Jean
40ae2032c7
fix(repo): fix imports and error on unsuccessful documentation generation
2019-12-16 17:36:57 -05:00
Victor Savkin
8e08924bc3
feat(core): add ability to select data from the print affected output
2019-12-16 16:04:35 -05:00
Victor Savkin
8749c18f91
cleanup(core): extract "core" folder from "command-line"
2019-12-16 16:04:35 -05:00