782 Commits

Author SHA1 Message Date
Jack Hsu
027bb9d9ad
feat(react): SVGR and http-server version updates for security fixes (#8334) 2021-12-30 04:55:55 +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
Phillip Barta
e57cef0901
cleanup(repo): use devkit instead of devkit reexports from workspace (#7773) 2021-12-21 21:06:31 +00:00
Victor Savkin
88751a3685 chore(repo): clean up the language to match the new tag line 2021-12-17 16:08:38 -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
Katerina Skroumpelou
c293e7779d
fix(storybook): fix webpack5 check (#7836)
ISSUES CLOSED: #7640
2021-11-26 09:26:01 -05:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
James Henry
8fa36ff3e8
feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 17:22:21 +00:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -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
75513d6f8b
chore(repo): add tests to make sure migration factory/implementation are correct (#7541) 2021-10-27 16:12:07 -04: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
Leosvel Pérez Espinosa
324129b88d
fix(react): fix react webpack plugin check for babel-loader (#7382) 2021-10-15 12:53:01 -04: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
fc3573f1ca
chore(web): remove install and build warnings (#7343) 2021-10-14 05:27:30 +02: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
Jack Hsu
a8bcd27933
fix(react): apply postcss config from apps to their lib dependencies (#7265)
Fixes #7040
2021-10-08 14:10:25 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref (#6994)
close #5079
2021-10-04 14:50:26 -04:00
Santosh Yadav
364a276bc0
fix(core): fix vulnerabilities (#7222) 2021-10-04 16:05:55 +00:00
Miroslav Jonaš
6217899e24
chore(react): migrate testing library to v11.2.6 (#7190) 2021-10-01 18:19:09 +00: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
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -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
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
Ashwin Gokhale
8757423924 feat(react): Allow tailwind glob to watch for changes to html files 2021-09-07 17:48:22 +02:00
Jason Jean
1b6c0ee7fa
feat(misc): add x-type to app and lib generators (#6874) 2021-08-27 19:28:01 -04:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile (#6852) 2021-08-26 11:25:51 -04:00
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00