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
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
Jason Jean
785754ecb5
fix(react): fix storybook generator ( #4808 )
2021-02-16 19:45:56 +00: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
Jonathan Cammisuli
871b3c8f35
fix(react): set defaults properly for unitTestRunner and e2eTestRunner ( #4781 )
...
Also sets the schema.json files to be nx
2021-02-12 15:46:52 +00: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
Jason Jean
f880bd295d
feat(react): remove references to angular devkit from @nrwl/web ( #4705 )
2021-02-04 16:56:44 -05:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit ( #4666 )
2021-02-02 18:56:35 -05:00
katerina
0fc65d8763
feat(storybook): Storybook v6 migration generator for default configurations
...
Co-authored-by: Philip Fulcher <philip@nrwl.io>
2021-02-01 09:17:49 -05:00
Jason Jean
b36c4b5cc1
fix(linter): add @nrwl/linter as a devDependency and error on improper enum schema ( #4634 )
2021-01-28 16:30:10 -05:00
Victor Savkin
14503c27c9
Revert "feat(storybook): storybook v6 migration generator for default configuration"
...
This reverts commit e3c46f3fefd39c3095651d6074a04c0590433ecb.
2021-01-28 16:26:19 -05:00
Katerina Skroumpelou
e3c46f3fef
feat(storybook): storybook v6 migration generator for default configuration
...
Co-authored-by: Philip Fulcher <philip@nrwl.io>
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2021-01-28 21:45:32 +01:00
Victor Savkin
a25e081a84
feat(core): remove angular devkit deps
2021-01-25 12:52:30 -05:00
Sebastian Duque Gutierrez
d70d58fec3
Install @types/react-redux as devDependency for redux schematic ( #4243 )
...
* fix(react): add typings as devDep for react-redux schematic
Tell the user that --skip-nx-cache option can be used with the execution of targets. The option
will
be displayed in both 'nx --help' and 'nx [project][:target][:configuration] --help'
commands.
ISSUES CLOSED: 3338
ISSUES CLOSED: 4225
* feat(core): add move npm package workspace utility
Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between dependencies or
devDependencies
ISSUES CLOSED: 4242
* feat(react): add 11.0.0 migration to move react-redux types to devDeps
Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between dependencies
or
devDependencies
ISSUES CLOSED: 4242
* cleanup(core): rename moveNpmPackages param name to match type
Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between
dependencies
or
devDependencies
ISSUES CLOSED: 4242
2021-01-08 14:53:00 -05:00
Jack Hsu
cd9b96c98e
fix(react): remove generated styles.[ext] file for CSS-in-JS solutions like styled-compoentns/emotion ( #4347 )
2020-12-18 15:35:51 -05:00
Jack Hsu
0a5ee20e46
chore(react): update links for generated react apps ( #4213 )
2020-12-07 13:34:12 -05:00
Victor Savkin
8224a1029e
feat(core): switch default config to v2
2020-12-06 13:29:40 -05:00
victor savkin
a24fb961d8
feat(core): format workspace.json based on version field
2020-12-03 20:20:04 -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
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
Juri
c699f8d5c4
fix(react): dependency resolution for buildable libraries
...
Fixes #3994
2020-11-30 19:28:47 -05:00
Katerina Skroumpelou
0d38b8b560
fix(react): corrected style schematics for css modules ( #4067 )
2020-11-30 16:44:47 -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
victor savkin
234ca36385
cleanup(misc): clean up devkit
2020-11-26 10:19:13 -05:00
Jack Hsu
d7ac67f4f8
chore(react): bump versions for react dependencies and add migration ( #4082 )
2020-11-12 12:41:35 -05:00
Jack Hsu
ea04f62eb3
chore(nextjs): update nextjs to 10.0.0 ( #4012 )
2020-11-02 15:00:09 -05:00
katerina
1849e6b7ef
fix(react): when importing redux config in main.tsx keep custom directory path if provided
...
ISSUES CLOSED: 3932
2020-10-29 08:05:47 -04: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
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
Katerina Skroumpelou
5da9e668fd
feat(storybook): add support for Storybook v6
...
Co-authored-by: Katerina Skroumpelou <katerina@fileas.local>
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-09-28 15:57:10 +02:00
Webber Wang
9efa305b62
feat(storybook): storybook config projectType application ( #2382 ) ( #3611 )
...
* feat(storybook): storybook config projectType application
* docs(storybook): update auto-generated docs
* feat(storybook): supporting projectType application for storybook
feat(storybook): supporting projectType application for storybook
* fix(storybook): change build asset glob pattern
fix(storybook): change build asset glob pattern
Co-authored-by: Webber Wang <webber@codelabstudios.com>
2020-09-24 17:33:24 +03: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
Juri Strumpflohner
18c675a7b1
fix(storybook): pass on generateCypressSpecs from React storybook schematic ( #3687 )
2020-09-08 16:03:11 +03:00
Fernando Montoya
b33815b0a7
fix(react): remove empty space from describe name ( #3504 )
2020-08-12 12:09:12 -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
Juri Strumpflohner
574f97c240
cleanup(repo): fix formatting ( #3442 )
2020-07-31 15:17:09 +02: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
Jack Hsu
62889c3a7a
fix(react): add babel plugin for styled-jsx for libs ( #3441 )
2020-07-31 01:09:35 -04:00
Sushruth Shastry
c835ecfaa9
Using @typescript-eslint/no-unused-expressions instead ( #3297 )
...
Co-authored-by: Sushruth Sastry <susastry@microsoft.com>
2020-07-31 00:28:09 -04:00
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) ( #2840 )
...
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
Jack Hsu
24f544100e
feat(react): generate React apps with <React.StrictMode> by default to catch potential problems ( #3340 )
2020-07-14 16:46:24 -04:00
Adam L Barrett
c5426d46d6
feat(react): remove IE 11 and old browsers from default config in React/Web Schematics ( #3321 )
2020-07-13 12:41:20 -04:00