Michael Stramel
2f79bf530e
fix(nextjs): Pass defaultLoaders through to user webpack config ( #4137 )
2020-11-27 13:58:42 -05:00
victor savkin
234ca36385
cleanup(misc): clean up devkit
2020-11-26 10:19:13 -05:00
Katerina Skroumpelou
4f545a1316
feat(nextjs): creating a tsconfig.app.json next to tsconfig.json for consistency ( #4110 )
...
ISSUES CLOSED : #4092
2020-11-18 12:33:26 -05:00
Jack Hsu
a297db6324
fix(nextjs): add Next.js config enhancer for supporting css moduels in workspace libs ( #4047 )
2020-11-09 11:52:03 -05:00
Jack Hsu
3f84cab9ef
fix(nextjs): fix comments in generated index page component ( #4036 )
2020-11-06 11:25:09 -05:00
Jack Hsu
ea04f62eb3
chore(nextjs): update nextjs to 10.0.0 ( #4012 )
2020-11-02 15:00:09 -05:00
Tasos Bekos
463d2cb9e0
fix(repo): add missing tslib dependency in generated applications ( #3858 )
2020-10-23 17:09:35 -04:00
James Henry
588effd5c5
feat(linter): shareable eslint configs ( #3882 )
...
* feat(linter): shareable eslint configs
* chore(linter): migration towards shareable eslint configs
2020-10-16 15:31:26 -04:00
Jack Hsu
af15cb09a6
feat(nextjs): add nextConfig option for nextjs build builder to provide customization ( #3899 )
2020-10-09 19:36:04 -06:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 ( #3840 )
2020-10-02 13:12:34 -04:00
James Henry
e339ece224
feat(linter): add explicit file extension to config files ( #3847 )
...
* feat(linter): add explicit file extension to config files
* feat(linter): update references to .eslintrc for new projects
* fix(linter): fix quotes in global eslint config
2020-10-01 18:59:45 -04:00
James Henry
e22f9370f5
feat(linter): new eslint builder ( #3834 )
...
* feat(linter): new eslint builder
* chore(linter): move migration to linter, add implementation
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-09-29 20:52:10 -04:00
Jason Jean
232fd9f30b
feat(core): update to typescript 4 ( #3814 )
2020-09-29 18:53:22 -04:00
Tasos Bekos
9153007462
feat(repo): check package dependencies on CI
2020-09-25 09:06:02 +03:00
Adam L Barrett
e021f74142
fix(nextjs): add project deps to package.json when bulding nextjs apps ( #3594 )
...
ISSUES CLOSED : #3062
2020-09-11 08:45:10 -04:00
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins ( #3636 )
...
ISSUES CLOSED : #3041
2020-09-08 13:59:36 -04:00
Jack Hsu
9f35646c65
fix(nextjs): fix Next.js schematics to support dynamic routes and remove unnecessary next plugins (as of 9.5) ( #3574 )
...
Closes #2478 , #2490
2020-08-21 14:25:22 -04:00
Jonathan Cammisuli
7dbf48a11e
chore(repo): update to 10.1.0-beta ( #3561 )
2020-08-19 13:06:12 -04:00
Adam L Barrett
4e06d83a1c
feat(nextjs): update nextjs and related packages to current version (9.5.1) ( #3485 )
2020-08-18 22:02:53 -04:00
Spencer Elliott
5b6df632cb
fix(core): resolve webpack loaders with require.resolve() ( #3436 )
...
* fix(core): resolve webpack loaders with `require.resolve()`
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.
This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.
See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
* fix(core): resolve absolute 'raw-loader' path
When replacing the 'raw-loader' rule in the `getStylesPartial` function,
check for the absolute path of 'raw-loader' rather than just the name.
2020-08-08 17:53:00 -04:00
Victor Savkin
aff592b930
feat(angular): add an option to use eslint
2020-08-06 22:08:16 -04:00
Jo Hanna Pearce
53b69272eb
fix(misc): add regex pattern to schematics to prevent empty app/lib creation ( #3396 )
...
ISSUES CLOSED : #2924
2020-07-31 10:44:31 -04:00
Jack Hsu
b1d6c392a9
fix(react): add styled-jsx to babel jest setup to avoid warnings ( #3242 )
2020-07-31 02:02:05 -04:00
Victor Savkin
3cd9f4fe6c
feat(misc): add nx package to make installing global cli easier
2020-07-29 12:16:12 -04:00
Jack Hsu
ed8bd2bbe8
Revert "fix(core): resolve webpack loaders with require.resolve() ( #3341 )" ( #3371 )
...
This reverts commit d74ab4e9d6eae6d83c3bb76072b45f7a4c7a6305.
2020-07-20 16:24:47 -04:00
Victor Savkin
5d53661139
fix(repo): update the repo to nx 10
2020-07-16 16:18:00 -04:00
Spencer Elliott
d74ab4e9d6
fix(core): resolve webpack loaders with require.resolve() ( #3341 )
...
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.
This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.
See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
2020-07-15 13:55:38 -04:00
Jason Jean
a7b7af2dfe
feat(core): switch over to angular 10 ( #3056 )
...
* feat(core): switch over to devkit 10-rc.0
* feat(core): implement solution tsconfigs wip
* feat(angular): add angular migrations
* fix(angular): modify angularjs tests
2020-07-07 17:02:06 -04:00
Jack Hsu
40f9180eba
feat(react): add styled-jsx support for apps, libs, and components ( #3204 )
2020-06-22 20:41:57 -04:00
Jason Jean
0ab2fc7875
fix(repo): register local collections for unit tests ( #3207 )
2020-06-20 03:01:03 -04:00
Victor Savkin
1e593a2b07
fix(misc): minor format changes in readmes
2020-06-15 10:27:07 -04:00
Victor Savkin
0111d87575
feat(repo): have separate readmes for all plugins
2020-06-14 23:33:05 -04:00
Victor Savkin
e71ceba4ce
feat(repo): run e2e tests using nx
2020-06-07 23:31:38 -04:00
Victor Savkin
d0cbc35efa
feat(repo): build nx with nx
2020-06-03 16:25:25 -04:00
Jack Hsu
c2b8c22555
fix(linter): remove config builder option for @nrwl/linter:lint when using eslint ( #3093 )
...
- eslint automatically detects .eslintrc files already
- removing the config option also enables nested configs
- provide a migration to remove config as long as users didn't customize it
2020-05-29 16:30:32 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized ( #3089 )
...
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Victor Savkin
7679df22f5
Revert "feat(react): refactored babel support so options are more easily customized ( #3058 )"
...
This reverts commit 0e036272cbe156fe9750a2f2bc6498a08cf7f457.
2020-05-28 13:11:56 -04:00
Jack Hsu
0e036272cb
feat(react): refactored babel support so options are more easily customized ( #3058 )
2020-05-26 09:16:36 -04:00
Jack Hsu
bd5ca7d909
fix(nextjs): copy public folder to dist when building Next app ( #3047 )
...
Closes #3019
2020-05-22 15:56:15 -04:00
Rares Matei
9fba3355a9
fix(nextjs): fix path to migration file for nextjs dev server rename ( #3046 )
2020-05-21 09:57:11 -04:00
Rares Matei
f5181ba188
fix(nextjs): add migration for renaming next/dev-server to next/server in workspace.json ( #3040 )
...
ISSUES CLOSED : #3039
2020-05-20 17:59:50 -04:00
Victor Savkin
a95cba3144
feat(core): support different workspace layouts
2020-05-17 16:39:14 -04:00
Devin Shoemaker
0a70e46b6b
cleanup(core): export setDefaultCollection from @nrwl/workspace ( #2970 )
2020-05-09 12:12:40 -04:00
Jack Hsu
adc7b78303
feat(nextjs): use flat structure for page schematic ( #2939 )
2020-04-29 21:26:39 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 ( #2934 )
...
this is just for the repo, and not the workspace
Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Jack Hsu
82088560c4
feat(nextjs): add page and component schematics to Next ( #2810 )
...
* `directory` option for react components will override default lib/app path as well
2020-04-14 22:17:38 -04:00
Jack Hsu
36e1d40784
feat(nextjs): support building and serving production server ( #2792 )
2020-04-04 14:57:08 -04:00
Jack Hsu
5e9a583d7c
fix(nextjs): next config is generated correctly for styled-components and @emotion/styled ( #2799 )
2020-04-02 16:37:34 -04:00
Jason Jean
4e4bd6d764
fix(misc): skip jest and cypress configuration when generating… ( #2743 )
2020-04-02 12:49:55 -04:00
Rares Matei
567ddc8238
fix(nextjs): import node_sass only for scss styles ( #2797 )
2020-04-02 15:21:11 +01:00