97 Commits

Author SHA1 Message Date
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
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