1048 Commits

Author SHA1 Message Date
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
Rares Matei
4b6c8f0927
fix(testing): invalid jest config --passWithNoTests (#2442)
fix(testing): pass passWithNoTests via builder instead of jest.config.js

ISSUES CLOSED: #2345
2020-02-16 10:56:00 -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
Spencer Elliott
d1170b8e58
feat(misc): add group option to cypress builder (#2480) 2020-02-15 19:12:07 -05:00
Gaetan Paucot
e75fe50299
fix(testing): cypressconfig now propagates to cypress (#2460) 2020-02-15 19:10:38 -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
Jason Jean
cc5130d5f2 fix(angular): bump migration to 9.0.1 2020-02-10 12:47:47 -05:00
Jason Jean
3dd84698f5 feat(node): exclude node_modules from ts-loader 2020-02-10 12:39:11 -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
Victor Savkin
01575f8b3c feat(repo): add a command to test create-nx-workspace 2020-02-06 15:17:29 -05:00
Brandon
c7d075df49
fix(angular): update defaults for NgRx schematics (#2443)
BREAKING CHANGES:

The minimal flag is set to true
The syntax flag is set to creators
The useDataPersistence flag is set to false

BEFORE:

By default, the root Store and Effects modules are registered, with a generated feature
By default, the action classes syntax is used for scaffolding
By default, the DataPersistence class in injected and used in Effects

AFTER:

By default, only the root Store and Effects modules are registered
By default, the creator functions are used for scaffolding with schematics
By default, the DataPersistence operators are used in Effects
2020-02-06 15:17:05 -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
Jo Hanna Pearce
e64f66ca32
feat(nextjs) : add proxy configuration support (#2407)
* feat(nextjs): add proxy configuration support

ISSUES CLOSED: #2011

* chore(bazel): disable recalcitrant bazel e2e tests for now
2020-02-05 10:42:10 -05:00
Juri
c27b33a6ec fix(angular): check for devDeps & peerDeps when writing package version for dep libs
when determining the package version of dependent libraries, make sure that there's no devDeps or
peerDep already set. In such case don't touch the package.json
2020-02-04 15:23:22 -05:00
Juri
da1f8515c7 feat(node): allow building of publishable libs depending on other publishable libs
This commits adds a proper logic to automatically update the tsconfig paths s.t. they correctly
point to the compiled version of potential other dependent publishable libraries.
2020-02-04 15:23:22 -05:00
Juri
5840db16f0 fix(node): add npmScope prefix in library name
Publishable node libraries should use the default npmScope prefix like @proj/mylib. Otherwise it
might lead to inconsistencies when using the library within the monorepo with @proj/mylib and when
publishing it.
2020-02-04 15:23:22 -05:00
Jason Jean
e5e0e312d1 fix(misc): fix nx migrate to execute run-schematic tasks 2020-02-04 15:18:58 -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
33107b050c feat(core): remove deprecated schematics package 2020-02-04 12:14:52 -05:00
Jason Jean
ed0f0f8487
feat(react): rename bundle builder to package (#2411) 2020-02-03 09:04:29 -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
972381bc3f
feat(testing): update to jest-preset-angular v8.0.0 (#2401)
* feat(testing): update to jest-preset-angular v8.0.0 part 1

Updates to jest-preset-angular to v8.0.0, includes migrations to fix any existing projects affected
by the jest-preset-angular update.

closes #1979

* feat(testing): update jest-preset-angular to v8.0.0 part 2

Closed issues: #1979, #2165

Co-authored-by: Joshua D. Mentzer <mentzerj@trinity-health.org>

* feat(testing): update jest-preset-angular to v8.0.0 part 3

Co-authored-by: mentzerj <mentzerj@trinity-health.org>
Co-authored-by: Mehrad Rafigh <4339673+mehrad-rafigh@users.noreply.github.com>
2020-02-01 11:34:31 -05:00
Jason Jean
adc2b2a2c4
fix(storybook): fix ng update for @nrwl/storybook (#2410) 2020-01-31 16:33:43 -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
Jo Hanna Pearce
c4ea49c3c6 fix(nextjs): add SVGR support for jest tests 2020-01-31 11:23:49 +00:00
Jo Hanna Pearce
2f72133dc7 feat(nextjs): add fileReplacements to the builder config 2020-01-31 11:23:49 +00:00
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
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
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