1499 Commits

Author SHA1 Message Date
Jason Jean
3cf5b996d6
cleanup(storybook): remove more module related code (#2408) 2020-01-30 22:14:50 -05:00
Jason Jean
05dbcef537
fix(storybook): remove ng module import from angular stories (#2399) 2020-01-30 10:10:30 -05:00
Jason Jean
3ef75b85c1
fix(repo): extend the timeout for plugin e2e tests (#2402) 2020-01-30 10:10:13 -05:00
Jason Jean
c96bdd44b8 cleanup(testing): cleanup unused method in jest init 2020-01-29 17:43:32 -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
aab5cf9284 Release 8.12.0 2020-01-27 16:07:07 -05:00
Victor Savkin
f5d4af2a22 feat(core): create create-nx-plugin package to fix npx issues 2020-01-27 13:09:04 -05:00
Victor Savkin
6706a05042 feat(misc): move create-nx-plugin create script into create-nx-workspace package 2020-01-27 09:45:08 -05:00
pesoklp13
77238e2ce7 feat(core): accept style argument for create-nx-workspace (#2294)
* add style as an available argument for create-nx-workspace command
* updated determineStyle based on parsed argument if passed into command
2020-01-27 13:39:51 +00:00
Victor Savkin
ea85a11adb feat(core): add 'nx migrate' command to package.json 2020-01-26 22:02:05 -05:00
Juri
27c6afc95b fix(core): register node package install executor
Without this registration npm installs won't work with the Nx migrate command
2020-01-26 11:04:08 -05:00
Benjamin Cabanes
5109548710 feat(core): add peerdependency cypress for nrwl/cypress (#2373) 2020-01-24 14:52:22 -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
Juri Strumpflohner
f951a1bc9b feat(angular): library builder to handle buildable libraries with deps (#2307)
This builder makes sure using buildable libraries depending on
other buildable libraries works as expected, without limiting the
current dx with auto-reload when using libraries within apps.
2020-01-24 10:19:24 -05:00
Benjamin Cabanes
02e95d9f8c fix(testing): cypress & fork ts checker plugin (#2316) 2020-01-23 22:10:09 -05:00
Jason Jean
6c10aa4610
feat(core): updating cypress version nrwl/cypress (#2370)
Co-authored-by: Benjamin Cabanes <contact@benjamincabanes.com>
2020-01-23 22:04:59 -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
Alexander Herrmann
26d251acb7 docs(react): added missing react import line (#2354)
ISSUES CLOSED: nrwl/nx#2304
2020-01-23 09:58:08 -05:00
Jack Hsu
8c930f3283
fix(react): migrate React projects with missing options (#2352) 2020-01-21 20:53:24 -05:00
Jo Pearce
e72c3baf1f feat(nextjs): allow SVG imports from non-TS/JS modules (#2359) 2020-01-21 20:05:55 -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
20885513ae
fix(react): add fallback for SVG imports coming from non-TS/JS modules (#2351) 2020-01-21 10:06:30 -05:00
Jack Hsu
1132d9ec57
feat(react): add support for css modules (#2349)
Closes #1744
2020-01-20 15:52:34 -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
Jack Hsu
a0299cbb64
feat(react): update to babel 8.7.0 which includes nullish coalescing and optional chaining (#2346) 2020-01-20 13:49:54 -05:00
Juri Strumpflohner
77298797ed feat(repo): add --local to release and publish script (#2323)
This allows for easier publishing to a local npm registry (i.e. Verdaccio)
2020-01-20 11:36:13 -05:00
Jack Hsu
121d070321
feat(react): update styled-components to v5 (#2335) 2020-01-20 10:04:20 -05:00
Victor Savkin
ed2259b5f1 feat(core): hash tasks in run commands 2020-01-19 16:19:23 -05:00
Victor Savkin
5a145fedde Release 8.11.2 2020-01-18 12:02:48 -05:00
Jack Hsu
2ca8d10fe5 fix(react): suppress erroneous warning coming from license-webpack-plugin 2020-01-18 12:00:46 -05:00
Victor Savkin
9c8e09ab2d feat(core): make migrate command more permissive and add docs 2020-01-18 12:00:25 -05:00
Brandon
29e68b0a7d
docs(core): add guide for workspace schematics (#2318) 2020-01-17 14:14:09 -06:00
Jonathan Cammisuli
342ee9db77 chore(misc): update tree-kill package to 1.2.2 (#2328) 2020-01-16 19:53:04 -05:00
Victor Savkin
3940a1f885 fix(core): migrate should parse versions that don't follow semver 2020-01-16 14:58:49 -05:00
Juri Strumpflohner
1df2cd68e0 chore(repo): update husky prepush configuration (#2325)
The package.json > script gets deprecated and is being moved to a dedicated config entry
2020-01-16 10:03:33 -05:00
Juri
a73548f399 fix(core): align webpack version with @angular-devkit one
Otherwise when having a repo with an Angular and react project we'll get an error "TypeError:
compilation.getAsset is not a function"
2020-01-16 09:19:40 -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
Jonathan Cammisuli
a675c9f438 fix(node): update library to only copy MD files in the root 2020-01-15 21:06:53 -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
d47d2546b8 chore(repo): remove dead code 2020-01-15 15:09:18 -05:00
Victor Savkin
86acf4b5e7 Release 8.11.1 2020-01-15 10:39:50 -05:00
Victor Savkin
3160639d2e refactor(misc): merge tutorial and course notes 2020-01-15 10:38:43 -05:00