Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos
2021-03-23 13:03:17 -04:00
Kirils L
0822d00e0c
fix(nextjs): support next 10.0.9 ( #5033 )
2021-03-17 19:40:42 +00: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
kirjai
9d863a7073
fix(nextjs): include peer dependencies in built package.json
2021-03-15 10:29:33 -04: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
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
Kirils Ladovs
df54518f33
fix(nextjs): remove tsconfig.app.json ( #4970 )
2021-03-09 17:39:17 -05: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
Jason Jean
fc9caccffb
chore(repo): update nx to 11.5.0-beta.0 ( #4957 )
2021-03-05 19:57:26 -05: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
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
Jason Jean
fd18b5edec
feat(react): migrate next builders to devkit ( #4861 )
2021-02-23 11:39:20 -05:00
vsavkin
aa311fa073
fix(nextjs): fix the executor
2021-02-22 10:21:33 -05:00
Jason Jean
4ae9c3ed2f
fix(react): add architect to next and gatsby ( #4802 )
2021-02-16 12:19:42 -05:00
Brandon
e4faaf1ef4
feat(angular): update Angular packages to 11.2.x release ( #4788 )
...
* feat(angular): update Angular packages to 11.2.x release
* chore(angular): fix storybook 5-6 default schematic unit test
* fix(angular): fix Angular Devkit discrepancies
2021-02-16 10:38:11 -05:00
Jason Jean
2bf04b4c61
fix(react): fix init generators for react ( #4787 )
2021-02-12 16:47:35 -05:00
Jason Jean
18c8b2b30d
fix(core): change running tasks in parallel to running in serial ( #4785 )
2021-02-12 21:39:55 +00:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next ( #4769 )
2021-02-12 15:29:31 -05:00
James Henry
4f758d435f
fix(core): restore tslint for next, clean up Linter enum usage ( #4780 )
...
* fix(core): restore tslint for next
* fix(nextjs): type issue
2021-02-12 09:12:16 -05:00
Jack Hsu
e71cef0ba9
feat(nextjs): convert Next.js schematics to generators ( #4756 )
2021-02-11 05:39:49 +00:00
Jonathan Cammisuli
d9aef75bd5
chore(react): move react schematics to generators ( #4745 )
...
* chore(react): move react schematics to generators
* chore(react): update lib generators
* chore(react): update redux generators
* chore(react): move react story book generators
* chore(react): add old implementation for update babel in next
* chore(react): rename tsconfig json template files to include __tmpl__
* chore(react): update deps
* chore(react): fix component template file
* chore(react): remove angular-devkit deps
* chore(react): remove angular-devkit deps
2021-02-10 21:30:55 -05:00
Tasos Bekos
1f534317d0
fix(nextjs): support shared assets
...
Closes #4552
2021-01-27 15:07:52 -05:00
Victor Savkin
a25e081a84
feat(core): remove angular devkit deps
2021-01-25 12:52:30 -05:00
William Ghelfi
742ea79d53
Fix svgr/webpack conf ( #4327 )
...
* fix(misc): avoid issues with refs in SVGs
The previous "import friendly" syntax was actually disabling refs in SVGs parsed by svgr.
I found 3 possible solutions:
1. Removing "![path]"
2. Separating "+ref![path]" with another comma: "+ref,![path]"
3. Rewriting the loader entry in the style of the other loader entries
I chose the last one for added clarity within the file.
* fix(core): fix compilation errors
2021-01-15 09:09:55 -05:00
Remo Vetere
543928d9f8
Pass down all webpack options to support all cases of next.config.js ( #4443 )
2021-01-08 10:55:01 -05:00
Victor Savkin
599923bc68
fix(misc): remov peer deps to make npm 7 install work
...
Closes #4436
2021-01-07 20:27:11 -05:00
James Henry
2a47cdf0aa
feat(nextjs): apply experimental-serverless-trace to vercel next configs ( #4459 )
2021-01-07 11:47:55 -05:00
Victor Savkin
d4b08eb27a
fix(nextjs): fix an invalid next peer dep
...
Closes #4436
2021-01-05 20:05:00 -05:00
Rick van Laarhoven
99d6b830c3
fix(nextjs): use html component from next/document
2021-01-05 11:15:10 -05:00
Jack Hsu
09a205c995
fix(nextjs): remove duplicated public folder in dist ( #4389 )
2020-12-23 14:48:38 -05:00
Tasos Bekos
7f70f3a153
feat(nextjs): add --js flag support
2020-12-19 14:19:52 -05:00
Jack Hsu
110fe37c00
fix(nextjs): add "@nrwl/workspace" to the generated package.json file for built next apps ( #4348 )
2020-12-18 16:17:04 -05:00
Tasos Bekos
db917a2b71
fix(nextjs): don't duplicate styles in styled components
...
Previously `styled-jsx` was not able to compile due to `styles` variable usage.
Also, `styleContent` were duplicated inside the styled page.
2020-12-08 20:14:35 -05:00
Tasos Bekos
b70be188d4
fix(nextjs): pin css-loader version for pnpm
...
`@zeit/next-less` & `@zeit/next-stylus` internal configuration is working only for specific CSS loader version, causing PNPM resolution to fail.
This commits adds a `resolution` property to make it explicit.
2020-12-08 11:10:42 -05:00
Tasos Bekos
25858397a7
fix(nextjs): use appropriate file extensions for Less & Stylus
2020-12-07 19:44:02 -05:00
Jack Hsu
0a5ee20e46
chore(react): update links for generated react apps ( #4213 )
2020-12-07 13:34:12 -05:00
Adam L Barrett
c062c6e657
fix(nextjs): copy the next.config.js file to the dist when building ( #4179 )
...
This is nessecary for the next server to respect config options
2020-12-04 11:04:32 -05:00
victor savkin
a24fb961d8
feat(core): format workspace.json based on version field
2020-12-03 20:20:04 -05:00
Adam L Barrett
3106a53c77
fix(nextjs): disable the default-server x-powered-by option on the express server ( #4180 )
...
This way, when disabling the same option in the next.config.js it doesn't just revert to express
ISSUES CLOSED : #3961
2020-12-03 10:48:58 -05:00
victor savkin
93ebc835dc
docs(misc): clean up api docs
2020-12-02 10:51:43 -05:00
victor savkin
baa8c23d0f
feat(misc): make all generators public
2020-12-02 10:51:43 -05:00
victor savkin
8afc5c5bce
feat(core): make older builders support new config formats
2020-12-01 15:46:00 -05:00
Tasos Bekos
6c1335ac83
feat(core): interpolated outputs & cache coverage folder
2020-12-01 13:49:43 -05:00
Tasos Bekos
1c3b215a9f
cleanup(repo): enable missing dependencies check
2020-12-01 14:25:13 +02:00
Katerina Skroumpelou
0d38b8b560
fix(react): corrected style schematics for css modules ( #4067 )
2020-11-30 16:44:47 -05:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 ( #4095 )
2020-11-30 14:07:27 -05:00
Adam L Barrett
889b648886
Emotion upgrade for React and Next plugins ( #4088 )
...
* chore(react): update emotion to new versions and new package names on react plugin
* chore(nextjs): update emotion to latest version and the new package names
* feat(misc): have react and next plugin migrations update emotion imports
* add renamePackageImports and renameNpmPackage rules to workspace utils
* update migrations to update emotion imports to the new name and version
2020-11-27 13:32:42 -06:00