Colum Ferry
78976bcfa1
fix(storybook): do not update existing react stories ( #8920 )
2022-02-10 18:25:15 +02:00
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson ( #8806 )
2022-02-01 16:32:47 -05:00
Philip Fulcher
9ba836bfda
feat(react): upgrade eslint-plugin-react-hooks to 4.3.0
2022-01-28 13:52:16 -05:00
Noriyuki Shinpuku
6a3914ed42
fix(linter): remove @typescript-eslint/no-unused-vars override ( #8147 )
...
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2022-01-24 15:57:25 +01:00
Philip Fulcher
5e66babcee
fix(react): enforce valid jest config when creating workspace with react preset ( #8626 )
...
ISSUES CLOSED : #8354
2022-01-21 14:25:15 -07:00
Isaac Mann
07ebdb36a3
feat(core): add nx graph as alias of nx dep-graph ( #8539 )
...
* feat(core): add nx graph as alias of nx dep-graph
* docs(core): add note about old dep-graph syntax
* cleanup(core): formatting
* feat(core): formatting
* feat(core): formatting
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-01-21 11:15:23 -05:00
Phillip Barta
574160ddc4
cleanup(repo): import ignore instead of require ( #8579 )
2022-01-19 10:11:22 -05:00
Chau Tran
978cfe942d
fix(testing): turn swc/jest back on for react, web, and js ( #8464 )
2022-01-11 09:28:30 -05:00
Kirils L
4ce7c7aaa8
fix(react): update conflicting eslint plugin versions ( #8376 )
2022-01-06 19:03:38 +00:00
Chau Tran
214ef8ac4f
chore(testing): adjust tests that are affected by removing swc
2021-12-23 19:56:58 -05:00
Chau Tran
4430733f57
chore(testing): assert options.compiler to tsc
2021-12-23 19:56:58 -05:00
Jack Hsu
6d6f29439d
feat(testing): add --compiler=tsc|swc|babel option for jest project generator ( #8177 )
2021-12-15 14:27:53 +00:00
Noriyuki Shinpuku
e4f7e2e40b
feat(react): update complier options for strict mode ( #8127 )
2021-12-14 22:31:40 -05:00
Kirils L
232eaafc21
fix(nextjs): incorrectly named nested page component files ( #8170 )
2021-12-14 16:00:44 -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
f8c394af46
feat(web): add swc compiler option for webpack executor ( #8114 )
2021-12-10 16:09:20 -05:00
Kirils L
015f1b78f4
feat(web): support swc compiler ( #7997 )
2021-12-09 21:16:35 +00:00
Benjamin Cabanes
1560a43acd
docs(nxdev): flatten ui libs ( #8006 )
2021-12-04 02:14:13 +00:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter ( #7912 )
2021-12-03 11:05:09 -05:00
Jack Hsu
157c6e0fb0
feat(web): rename @nrwl/web:build to @nrwl/web:webpack ( #7952 )
2021-11-30 14:22:34 -05:00
Kirils L
bfd1a4715a
feat(web): rename package executor to rollup ( #7904 )
2021-11-30 09:32:12 -05:00
Emily Xiong
7712167d3e
chore(react): remove deprecated @types/styled-jsx ( #7697 )
2021-11-11 13:12:52 -05:00
Nico
6ac6e981cd
fix(react): install missing react-test-renderer dependency ( #7675 )
...
When we install @nrwl/react we should also install react-test-renderer.
ISSUES CLOSED : #7578
2021-11-10 11:47:17 -05:00
Caleb Ukle
0ca5a88bf1
fix(testing) generated jest ts configs mismatch ( #7556 )
...
* fix(testing): add .test. files to spec tsconfig template
add support for .test.ts and with supportTsx .test.{js|tsx|jsx} files
in the tsconfig.spec.json template.
Note each package that excludes testing files will need to be updated to
exclude the new files (coming in future commits)
* fix(angular): add .test.ts support in tsconfigs
add .test.ts in angular jest template
update angular generators to exclude test files
* fix(gatsby): add .test. file prefixes to tsconfig ignore
ignore the new .test.{js|ts|jsx|tsx} files added to jest configs
* fix(react): add .test. file prefix to app/lib tsconfigs
add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig
* fix(node): add .test. file prefix to app/lib tsconfig
add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig
ISSUES CLOSED : #7263
* fix(nest): update tests for new .test.ts files in tsconfig
update tests to account for changes in node generators which add .test.ts to the exclude of
tsconfigs
* fix(express): update tests to account for new tsconfig changes
updated snapshots
added new patterns for tsconfig
* fix(linter): update snapshots for new tsconfig changes
snapshot updated to include new .test.ts file changes for tsconfig
* fix(node): update testing to account for spec tsconfig changes
add .test.ts files in e2e tests
* fix(testing): add migration for tsconfig changes
initial migration and test for tsconfig changes
* chore(testing): add to migrations collection
add the update-ts-config-for-test-filenames to migrations
* fix(testing): fix filesystem issue with jest tests
mock readConfig to always return an basic config to prevent issues of not finding a config in non
linux environments, aka missing /root
* cleanup(testing): update error message
update message logged when tsconfig isn't found to mention what was trying to be accompished so it
can be manually updated if desired.
2021-11-05 14:25:25 -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
Jack Hsu
8686e919fb
fix(core): update generator logic so empty strings ("") for appsDir and libsDir work properly ( #7508 )
2021-10-25 12:01:53 -04: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
Jack Hsu
22294e98a5
chore(react): update react packages ( #7434 )
2021-10-19 22:08:55 -04:00
Jack Hsu
9c1ae3a1b0
chore(web): clean up webpack setup ( #7411 )
2021-10-19 09:07:33 -06:00
Katerina Skroumpelou
fd3868c94e
feat(storybook): migrator for webpack 5
2021-10-19 16:31:16 +02:00
Katerina Skroumpelou
ce9dbd011c
fix(storybook): if there is no propstype name do not add angle brackets
2021-10-18 18:11:25 +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
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default ( #7351 )
...
* feat(core): standalone project configuration is default
* chore(core): changes to e2e tests
* fix(core): intuit projects when inside their directories when using project.json files
* chore(core): e2e changes
* fix(core): standalone configurations work with npm-project generator
* chore(core): e2e tests should use standalone configurations
* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes ( #7340 )
2021-10-15 10:08:12 -04:00
Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json ( #6642 )
...
* feat(core): consolidate settings between workspace.json + nx.json
workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.
* chore(core): fix angular unit tests w/ new config
* chore(core): fix failing tests
* chore(core): fix formatting
* chore(core): fix more tests
* chore(core): normalize-nx-json feedback
* chore(core): Fix more unit tests
* chore(core): fix remaining tests in workspace
* chore(linter): fix remaining linter tests
* chore(core): fix remaining spec + build issues
* chore(core): formatting fixes
* feat(core): migration script to move config options to new locations
* chore(core): fix e2e tests
* chore(core): run format
* chore(react-native): fix failing tests
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* feat(core): move properties to new location during format step
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* feat(core): initial pass on ngcli-adapter for property consolidation
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(misc): fix tests
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* docs(core): update docs with changes
* chore(misc): fix tests
* chore(core): code review changes
updateWorkspaceJson -> updateWorkspace, no longer uses updater function
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(core): fix bug in ngcli impl
* fix(core): fix bug in ngcli-adapter
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* fix(core): fix ngcli-adapter
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(core): fix workspace e2e
* chore(core): fix nx-plugin e2e
* fix(core): move defaultProject to nx.json
* chore(core): fix broken workspace test
* chore(core): formatting
* chore(core): fix workspace format
* chore(core): add nxJson to ExecutorContext
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
* chore(core): remove all references ot `NxProjectConfiguration` from our code
* chore(core): Review Changes
* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 ( #7283 )
...
* feat(core): upgrade to webpack 5
* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref ( #6994 )
...
close #5079
2021-10-04 14:50:26 -04:00
Emily Xiong
18e369c85c
bugfix(core): fix issue when having a project name with directory in it ( #7120 )
2021-09-24 15:10:44 -04:00
Himadu2000
e5b9d80abc
feat(react): updating @reduxjs/toolkit to 1.6.1 ( #6939 )
...
Updated @reduxjs/toolkit from 1.5.0 to 1.6.1
2021-09-16 14:05:32 +00:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile ( #6852 )
2021-08-26 11:25:51 -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
Sumit Parakh
295b8d737c
fix(core): fix --directory alias conflict ( #6596 )
...
ISSUES CLOSED : #6571
2021-08-18 18:02:12 -04:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor ( #6706 )
2021-08-16 16:23:17 -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
Jack Hsu
70c0921180
feat(react): add fast refresh support for webpack 5 ( #6529 )
2021-07-29 18:16:26 +00: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
Juri Strumpflohner
7c261511e0
fix(react): align component and e2e test generation ( #6535 )
2021-07-29 10:29:03 -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