3835 Commits

Author SHA1 Message Date
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
vsavkin
8088f20df7 fix(misc): remove the old video from the plugin docs 2021-03-11 20:48:53 -05:00
vsavkin
77d1cc3a02 fix(misc): fix treeview code samples 2021-03-11 20:36:18 -05:00
Damian Bielecki
d47555ea98 chore(core): nx plugin submission @ns3/nx-jest-playwright 2021-03-11 15:59:47 -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
593b9a9a7b Release 11.5.1 2021-03-10 17:44:35 -05:00
Jason Jean
e44217999b
fix(react): temporarily remove babel migration (#4997) 2021-03-10 17:38:56 -05:00
Jason Jean
5410b63f84 Release 11.5.0 2021-03-10 15:57:24 -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
Zack DeRose
e746fcaab3 chore(repo): internal link checker: adding file scraping for direct links 2021-03-10 08:44:47 -05: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
Tasos Bekos
fca2bfe64a cleanup(repo): free space during e2e & enable Windows 2021-03-08 20:21:18 +02:00
katerina
00f01bec1c docs(nxdev): updated the tutorial headings in the docs 2021-03-08 11:03:11 -05:00
Vivek More
49ba90b81a cleanup(misc): use shorthand 2021-03-08 10:13:06 -05:00
Damian Bielecki
7f21d5e85e chore(core): nx plugin submission @ns3/nx-serverless 2021-03-08 10:10:14 -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
ben
be640fa41f docs(core): Update core team members 2021-03-05 19:38:14 -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
Jonathan Cammisuli
bba26b08bd
feat(express): add express preset to create-nx-workspace (#4909) 2021-03-05 11:40:40 -05:00
Juri Strumpflohner
1716c0b7f7
fix(angular): adjust ngcc postinstall command (#4641) 2021-03-05 11:40:28 -05:00
Jason Jean
d50beb00bb
docs(devkit): clean up devkit docs (#4913) 2021-03-05 11:13:15 -05:00
Juri Strumpflohner
468c878bd1
fix(core): add @nrwl/storybook & @nrwl/gatsby to pkgs listed by nx report (#4948) 2021-03-05 10:39:00 +01:00
Noriyuki Shinpuku
041340b06a
feat(web): improve support for decorators (#4826)
* chore(repo): add babel-plugin-transform-typescript-metadata

* feat(web): improve support for decorators

* fix(web): fix the order of babel-plugin-transform-typescript-metadata
2021-03-01 15:20:03 -05:00
Tasos Bekos
d2bac514ac
fix(core): fix creating workspace on Windows for npm@7 (#4926) 2021-03-01 15:08:42 -05:00
Jack Hsu
1591519f9e
Revert "Fix babel for NextJS and Gatsby (#4873)" (#4931)
This reverts commit affbaeeb7b624b8c42816ecca851d2fffd20d36e.
2021-03-01 13:55:44 -05:00
Damian Bielecki
affbaeeb7b
Fix babel for NextJS and Gatsby (#4873)
* chore(nextjs): replace babelrc with babel.config.js

* chore(gatsby): replace babelrc with babel.config.js
2021-03-01 09:33:34 -05:00
Katerina Skroumpelou
c9a2b2c1c0
feat(nextjs): allow custom distDir (#4885) 2021-02-26 14:35:22 -05:00
Jack Hsu
6dcd5a6519
fix(devkit): generateFiles function handles image files properly (#4912) 2021-02-26 19:29:31 +00:00
Isaac Mann
1c94df17c7
docs(nxdev): fix link to docs from executors (#4908)
ISSUES CLOSED: #4862

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2021-02-26 09:43:58 -05:00