2290 Commits

Author SHA1 Message Date
Vivek
2c72700526
feat(nx-plugin): default the import path to the npmPackageName (#4777)
ISSUES CLOSED: #4700
2021-03-23 13:19:57 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos 2021-03-23 13:03:17 -04:00
Leosvel Pérez Espinosa
36f3a662c3 fix(web): fix dev-server executor output causing ng cli schema validation to fail 2021-03-23 12:53:56 -04:00
Jason Jean
1918e62625 Revert "fix(angular): fix angular move merge conflict (#5088)"
This reverts commit e6ec5f914232f81e5393d4d528b35d77f7528582.
2021-03-23 11:51:30 -04:00
Jason Jean
e6ec5f9142
fix(angular): fix angular move merge conflict (#5088) 2021-03-22 21:40:57 +00:00
Tasos Bekos
82799042db
fix(node): fix unreachable code on library generation (#5080) 2021-03-22 11:18:42 -04:00
Juri Strumpflohner
2ac10d9952
fix(storybook): changes in Storybook server options path in v6.2 (#5072)
ISSUES CLOSED: #4747
2021-03-22 14:28:17 +02:00
James Henry
00dec221e2
feat(linter): convert-tslint-to-eslint generators (#4943)
* feat(linter): convert-tslint-to-eslint generators

* fix(core): remove generators in collection for ng and nest

* fix(core): update tao to support mixed generators and schematics

* fix(core): update tao to support mixed generators and schematics

* fix(core): address some PR feedback

* fix(core): fix snapshots after syncing up with master

* feat(core): store user preference for removeTSLintIfNoMoreTSLintTargets

* fix(linter): unit tests

* feat(core): apply root tslint.json conversion to root .eslintrc.json
2021-03-19 13:41:13 -04:00
Jason Jean
754ccf2983
fix(devkit): omit identical file updates from actions preventing unnecessary installs (#5055) 2021-03-18 12:44:27 -04:00
Kirils L
0822d00e0c
fix(nextjs): support next 10.0.9 (#5033) 2021-03-17 19:40:42 +00:00
Jack Hsu
31404cb969
fix(react): add migrations to fix babel setup for workspaces using react, next.js, and gatsby (#5041) 2021-03-17 19:25:32 +00:00
Jason Jean
dafdfded95
fix(core): fix prompts for enums (#5036) 2021-03-17 14:29:35 -04:00
Sebastián Cruz
6e8349f6ed
Fix error when importing .js libraries into nextjs app (#4996)
ISSUES CLOSED: #4904
2021-03-17 19:46:38 +02:00
Jack Hsu
f6c4958e80
feat(web): added runtimeChunk option (#5043)
Co-authored-by: Tycho Bokdam <tycho@palmtreecoding.com>
2021-03-16 14:47:51 +00:00
Noriyuki Shinpuku
6dbdaee9f6
feat(react): add strict option to react library generator (#5006) 2021-03-16 10:31:14 -04:00
Tasos Bekos
4f95d4e7ec fix(core): git hasher identifies deleted files
Closes #4201
2021-03-15 20:47:13 -04:00
Tasos Bekos
26a383912a fix(core): git hashing handles "unusual" pathname characters
See: https://git-scm.com/docs/git-status#_pathname_format_notes_and_z
2021-03-15 10:30:54 -04:00
kirjai
9d863a7073 fix(nextjs): include peer dependencies in built package.json 2021-03-15 10:29:33 -04:00
vsavkin
e40c65194d feat(misc): add a spinner when creating a workspace 2021-03-15 10:25:14 -04:00
Jason Jean
d4629be208
feat(node): migrate @nrwl/node builders to devkit (#5012) 2021-03-12 23:06:32 +00:00
Jason Jean
3137511626
fix(storybook): do not update existing root configuration (#5023) 2021-03-12 17:10:59 -05:00
johannesf95
71d9f86762
fix(core): fix project dependency resolution for relative imports on windows (#5009)
* fix(core): fix project dependency resolution for relative imports on windows


Replaced `join` with `posix.join` to fix comparison with root of projects for relative import paths on windows

Closes #5002

* fix(core): project dependency resolution for relative imports on windows

fixed format
2021-03-12 13:07:36 -05:00
Gustavo Perdomo
17dd93362c chore(core): update @types/node version to 14.14.33 2021-03-12 09:15:39 -05:00
Zachary Williams
564a86e096 feat(core): add option to skip serve step for cypress builder
The builder currently supports skipping the serve step by passing an empty value
for
devServerTarget. This is not intuitive and makes configuring this via the command line messy.
This
flag has the same behavior as passing an empty devServerTarget but is more user-friendly.
This
option can be useful for CI purposes where applications are previously built and want to use
the
same configuration for e2e testing but the serve step is unnecessary.

ISSUES CLOSED: #3744
2021-03-12 09:07:10 -05:00
Gustavo Perdomo
242a542429 chore(core): update dotenv version to 8.2.0 2021-03-11 15:58:26 -05:00
vsavkin
cad02e4399 feat(core): speed up and clean up create-nx-workspace 2021-03-11 15:56:00 -05:00
vsavkin
7457b16811 cleanup(misc): misc docs update and small cleanups 2021-03-11 15:45:54 -05:00
Jason Jean
4df3b66152
feat(node): migrate @nrwl/node schematics to devkit (#4958) 2021-03-11 19:18:22 +00:00
Kirils Ladovs
aba5c44ec1
Tsconfig js migration (#4993)
* chore(gatsby): add migration to add js file patterns to tsconfig.app.json

* chore(nextjs): add migration to add js file patterns to tsconfig
2021-03-11 13:34:46 -05:00
Dmitry Zakharov
00516ecd68
fix(testing): remove jest executor error while babel-jest exists with ts-jest (#4729) (#4730) 2021-03-11 11:14:07 -05:00
Jason Jean
e44217999b
fix(react): temporarily remove babel migration (#4997) 2021-03-10 17:38:56 -05:00
Jason Jean
d44b5c8dc2
fix(core): fix typo in error for improper targets (#4995) 2021-03-10 15:54:57 -05:00
Jason Jean
61fda0c66e
fix(core): throw an error when running default projects with improper targets (#4994) 2021-03-10 20:17:28 +00:00
Victor Savkin
b977f42f67
fix(core): optimize task orderer to handle large graphs (#4992) 2021-03-10 17:36:05 +00:00
Jack Hsu
0dbcd52521
fix(nextjs): use require.resolve(...) for babel plugin so it works with pnpm (#4991) 2021-03-10 16:42:08 +00:00
Kirils Ladovs
253addef4a
chore(nextjs): add migration to remove tsconfig.app.json (#4988)
additionally, fix linter migration to migrate next.js apps correctly
2021-03-10 11:25:07 -05:00
Jack Hsu
65552919e0
chore(nextjs): fix babel migration for nextjs (#4984) 2021-03-10 15:06:43 +00:00
Jason Jean
0b7e057a0c
fix(core): use proper command for removing a dependency via yarn (#4980) 2021-03-09 23:31:36 +00:00
Kirils Ladovs
df54518f33
fix(nextjs): remove tsconfig.app.json (#4970) 2021-03-09 17:39:17 -05:00
Jack Hsu
2527dc629e
chore(linter): convert linter migration to @nrwl/devkit (#4978) 2021-03-09 21:40:47 +00:00
Jack Hsu
ddec362a5a
fix(nextjs): update babel setup to better support next apps (#4944)
* fix(nextjs): update babel setup to better support next apps

* fix(testing): remove babel-jest.config.json used in jest.config.js

- Fix `@nrwl/web/babel` to support Jest as well
2021-03-09 21:32:36 +00:00
Santosh Yadav
372b7939c6
feat(angular): support font inling optimization for builds (#4971) 2021-03-09 16:19:54 -05:00
cesine
16c33c1bbc
chore(react): Update autoprefixer to latest (#4972)
* update autoprefixer to latest

https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md

* chore(react): update autoprefixer
2021-03-09 12:28:12 -05:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
duncan
f160583d5c feat(core): allow excluding imports using a special ignore comment called nx-import-ignore
Placing a comment called nx-import-ignore above an import will exclude it from being used in the creation of the project dependency graph. This allows bypassing the circular dependency linting rule whenever needed.
2021-03-06 13:07:05 -05:00
Tasos Bekos
2932738c66 fix(core): run-commands doesn't camelcase option parameters 2021-03-06 13:07:57 +02:00
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 (#4957) 2021-03-05 19:57:26 -05:00
Jason Jean
70a892cb93
fix(devkit): support partially defining generators in schematics and generators (#4951) 2021-03-05 16:01:02 -05:00
Gustavo Perdomo
5b0f23a3e4
chore(linter): update eslint-config-prettier (#4899)
* chore(linter): update eslint-config-prettier

* fix(linter): fix migrations

* feat(linter): update migrations

* fix(linter): move peer dependency to eslint-plugin-nx

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 20:22:16 +00:00
James Henry
48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -05:00