Noriyuki Shinpuku
a2c22eb63a
fix(react): fix external option for @emotion/react ( #7870 )
2022-05-30 13:36:45 -04:00
Jonathan Wagner
c35b13dd26
fix(react): migrations should not crash when adding development configuration ( #10261 )
2022-05-12 14:30:33 -04:00
Chau Tran
512237caf7
feat(core): add nx.json, workspace.json, and project.json JSON schemas ( #10228 )
...
* feat(core): add nx.json, workspace.json, and project.json JSON schemas
ISSUES CLOSED : #8574 , #2299
* fix(core): add ajv to test generated config files based on JSON schema
* fix(core): only add $schema to project.json if it is standalone and in create mode
* feat(core): add migration to add json schema to config files for 14.2.0
* fix(core): adjust schemas
* chore(core): adjust tests across repo to adhere to JSON schema if generated
* fix(core): construct the json schema object instead of using a boolean flag
* chore(core): add ajv tests for workspacejson and nxjson
* chore(core): remove unnecessary standalone check
2022-05-10 15:05:26 -05:00
Victor Savkin
920d8aa355
chore(repo): update repo to nx14 ( #9908 )
2022-04-20 21:40:12 -04:00
Jack Hsu
ff3b3a717c
fix(react): update migrations to work for projects without targets ( #9906 )
2022-04-20 18:59:30 +00:00
Jack Hsu
e7447685cc
fix(react): update migration to work without targets ( #9901 )
2022-04-20 18:25:57 +00:00
Jack Hsu
2b421117bf
feat(react): add default development configuration for React and Next.js apps ( #9892 )
2022-04-20 04:27:19 +00:00
Jack Hsu
25c63b6795
feat(react): upgrade to React 18 ( #9847 )
...
BREAKING CHANGE: react-router API has changed, and @testing-library/react-hooks has been deprecated (See: https://nx.dev/guides/react-18 )
2022-04-19 11:50:27 -04:00
Jack Hsu
67a5b4169f
fix(react): migrate react-test-renderer correctly ( #9811 )
2022-04-13 09:29:58 -04:00
Jack Hsu
b02beb551b
feat(react): update to react 18 ( #9613 )
2022-03-30 17:48:37 +00:00
Victor Savkin
74317bebea
chore(repo): fix flaky tests
2022-03-24 17:10:33 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… ( #9469 )
2022-03-23 22:18:17 -04:00
Victor Savkin
6f038e7a4a
feat(core): reorganize packges to consolidate all cli-related code in nx
2022-03-14 16:42:51 -04:00
Phillip Barta
574160ddc4
cleanup(repo): import ignore instead of require ( #8579 )
2022-01-19 10:11:22 -05:00
Craigory Coppola
a23284e9ce
fix(core): misc. ng cli compat layer fixes ( #8141 )
...
* fix(core): misc. ng cli compat layer fixes
* chore(core): unit test fixes
2021-12-13 18:48:11 -05:00
Jack Hsu
157c6e0fb0
feat(web): rename @nrwl/web:build to @nrwl/web:webpack ( #7952 )
2021-11-30 14:22:34 -05:00
Juri Strumpflohner
0d3a5c375d
fix(storybook): make sure Storybook can use TypeScript for the config files ( #7566 )
...
ISSUES CLOSED : #7515
2021-10-29 20:23:34 +03:00
Krzysztof Orkisz
d0d1a6187e
fix(react): migration to 13
Fixes migration to nx 13: when there are no react projects with storybook but other kind of projects uses SB migration to fails
2021-10-22 18:29:33 +02:00
Katerina Skroumpelou
fd3868c94e
feat(storybook): migrator for webpack 5
2021-10-19 16:31:16 +02:00
Noriyuki Shinpuku
d4f8ba2b2d
feat(react): support css prop for emotion ( #7395 )
...
* feat(react): support css prop for emotion
* feat(react): add migration for css prop
2021-10-17 22:17:16 -04:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes ( #7340 )
2021-10-15 10:08:12 -04:00
Jack Hsu
28ebfae4ea
feat(react): add a hook generator (e.g. useThing) ( #6773 )
...
1- Implement a hook generator which provides the skeleton for a new hook, including a test which
uses @testing-library/react-hooks
2- add --pascalCaseDirs to the component generator, so you can
have 'SomeComponent/SomeComponent.tsx' instead of 'some-component/SomeComponent.tsx'
Co-authored-by: Sam Clement <samclement@msn.com>
2021-08-19 13:19:35 -04:00
Miroslav Jonaš
3aca62af68
cleanup(repo): remove unused ext from file data and fix ext regex matcher ( #6550 )
2021-08-04 09:45:07 -04:00
Miroslav Jonaš
117ee9308a
cleanup(core): use isNpmProject and cleanup project graph utils ( #6522 )
...
* cleanup(core): use isNpmProject and cleanup project graph utils
* chore(core): mark utils/buildable-libs-utils as deprecated
2021-07-29 11:17:31 -04:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json ( #6442 )
2021-07-21 11:42:43 +01:00
Jason Jean
7de111c25b
feat(core): update typescript to 4.3 ( #6397 )
2021-07-16 17:29:03 -04:00
James Henry
87e6d9dc77
chore(core): refactor createProjectGraph to be async, deprecate sync usage
2021-07-14 14:58:16 -04:00
Jason Jean
d007d37fb4
fix(devkit): add env variable to disable project graph cache ( #5297 )
2021-04-15 10:29:33 -04:00
katerina
379d48f1f9
feat(react): remove @types/react-redux package and migrator for older projects
...
ISSUES CLOSED : #5149
2021-04-06 20:21:40 -04:00
Jason Jean
bfb194843f
feat(core): remove readFile argument from createProjectGraph ( #5206 )
...
* feat(core): deprecate creating a project graph from a host
* feat(core): remove readFile argument from createProjectGraph
2021-04-06 13:44:09 -04:00
Jack Hsu
c84bbb3c93
feat(react): add support for new jsx transform ( #5131 )
2021-04-01 13:46:12 +00:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos
2021-03-23 13:03:17 -04:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next ( #4769 )
2021-02-12 15:29:31 -05:00
Jason Jean
f880bd295d
feat(react): remove references to angular devkit from @nrwl/web ( #4705 )
2021-02-04 16:56:44 -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
Victor Savkin
8224a1029e
feat(core): switch default config to v2
2020-12-06 13:29:40 -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
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
c47480bbc8
chore(react): update library versions and update RTK generated code ( #3226 )
2020-06-24 14:02:01 -04:00
Jason Jean
539c65c0be
fix(react): add emotion babel preset during migration ( #3127 )
2020-06-06 20:58:48 -04:00
Victor Savkin
d0cbc35efa
feat(repo): build nx with nx
2020-06-03 16:25:25 -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
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
Jason Jean
09c4654ae9
fix(misc): add formatting to all migrations
2020-03-29 11:30:59 -04:00
Jack Hsu
8c930f3283
fix(react): migrate React projects with missing options ( #2352 )
2020-01-21 20:53:24 -05:00
Jack Hsu
121d070321
feat(react): update styled-components to v5 ( #2335 )
2020-01-20 10:04:20 -05:00