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
Jack Hsu
bedad1cc77
fix(core): patch resolve logic for tsconfig paths ( #7387 )
2021-10-15 20:47:18 +00:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes ( #7340 )
2021-10-15 10:08:12 -04:00
Jack Hsu
ed11e6ca73
fix(web): turn off fully specified option in webpack so packages like graphql@14 will not break build
2021-10-14 17:03:35 -04:00
Jack Hsu
ccf42f020a
fix(core): update webpack 5 migration smartly match expected version and packages before performing removal ( #7365 )
2021-10-14 19:16:19 +00:00
Jack Hsu
8779a22be3
chore(core): move webpack utils into web and node packages ( #7367 )
2021-10-14 18:50:46 +00: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
f9fe52bb18
fix(web): add support for barrel exports in web build ( #7354 )
2021-10-14 10:07:51 -04:00
Jack Hsu
fc3573f1ca
chore(web): remove install and build warnings ( #7343 )
2021-10-14 05:27:30 +02:00
Jack Hsu
086f67d4bd
chore(web): remove build options deprecated since Nx 11 ( #7330 )
2021-10-13 05:48:31 +00: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
Juri Strumpflohner
c446aa5c1d
feat(storybook): add Webpack 5 support for React Storybook setups ( #6791 )
...
* feat(storybook): add Webpack 5 support for React Storybook setups
ISSUES CLOSED : #6703
* feat(storybook): adding storybook webpack 5 migration to web migrator
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
2021-10-08 21:51:04 -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
Jack Hsu
0d3601e8cb
fix(react): use default module resolution ( #7254 )
...
Fixes #6662
2021-10-05 15:00:07 -04:00
Dan Roujinsky
268fc20305
fix(web): add postcss loader in sass, less and stylus module files ( #7141 )
2021-10-04 14:52:01 -04:00
Sushruth Shastry
11cc599463
fix(web): remove obsolete options for terser in webpack 5 mode ( #6956 )
...
* fix(web): remove chunkFilter option in webpack 5 mode
Fixes #6953
* fix(web): correct fix for the issue
2021-10-04 14:51:15 -04:00
Xie Jay
2bcc552fa0
fix(web): remove default value of baseHref ( #6994 )
...
close #5079
2021-10-04 14:50:26 -04:00
Jack Hsu
9c2a8b155c
feat(react): buildable React libraries now generate smaller ESM packages ( #7199 )
2021-10-04 14:39:20 -04:00
Jack Hsu
2cd26c47d3
fix(nextjs): fix buildable nextjs libs ( #7197 )
2021-10-01 14:16:03 -04:00
Jack Hsu
fec1c39be0
feat(react): add migration to replace deprecated node-sass with sass ( #7105 )
2021-09-23 12:01:38 -04:00
Victor Savkin
d79bba3630
chore(repo): update to nx 12.10
2021-09-20 16:39:13 -04:00
Victor Savkin
3e8427f783
docs(misc): clarify a few things regarding incremental builds
2021-09-18 21:13:53 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json ( #6973 )
2021-09-15 11:53:08 -04:00
Marko Grešak
bbeb89cbc2
fix(web): fix stylesOptimization for webpack 5 ( #6817 )
...
ISSUES CLOSED : #6816
2021-09-15 15:22:07 +00:00
Jack Hsu
06d20352f7
fix(react): fix extracCss option for webpack 5 ( #6925 )
2021-09-03 12:17:48 -04:00
kazamov
804cc73f52
fix(web): npm dependencies from the project graph ( #6843 )
...
get the npm dependencies from the project graph correctly. Allow deep import from `externals` passed from settings
Co-authored-by: Zakir Nuriiev <zakir.nuriev@caspio.com>
2021-09-02 12:51:05 -04: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
Leosvel Pérez Espinosa
ff202d323c
cleanup(misc): rename oss preset to npm and update presets related docs ( #6777 )
2021-08-19 11:10:29 -07:00
Ashwin Gokhale
101a89e9e8
fix(web): Added WebpackError for webpack 4 compatibility ( #6519 )
...
* fix(web): Added WebpackError for webpack 4 compatibility
* Added WebpackError to cypress and node
2021-08-19 09:48:33 -04:00
Jack Hsu
cddb1edd56
feat(react): add format option for buildable libs ( #6753 )
...
- Clean up @nrwl/web:package executor
- Combine react package e2e tests to speed up test time
2021-08-18 23:08:30 -04:00
Ryan Marganti
74964834e5
fix(web): syncs loose option between @babel/preset-env and @babel/plugin-proposal-class-properties ( #6715 )
...
If `loose` is set to `true` for `@babel/plugin-proposal-class-properties`, the same must be true for
`@babel/preset-env`.
ISSUES CLOSED : #6683
2021-08-18 21:57:05 -04:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor ( #6706 )
2021-08-16 16:23:17 -04:00
Jack Hsu
422c5f8c8e
fix(react): relax babel dependency versions ( #6637 )
2021-08-06 15:40:05 -04:00
Juri
b5b5f250d0
feat(react): add Nx React Storybook preset
2021-08-06 18:11:47 +02: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
30428b9552
feat(react): automatically detect npm dependencies as external when building library ( #6560 )
2021-08-03 13:01:45 -04:00
Jack Hsu
cdb954083e
fix(web): remove unnecessary packages from being installed with @nrwl/web ( #6554 )
2021-07-30 15:51:43 -04:00
James Henry
4e8aa4ba68
chore(core): refactor executors to always read from cached project graph ( #6446 )
2021-07-29 15:50:29 -04:00
Jack Hsu
70c0921180
feat(react): add fast refresh support for webpack 5 ( #6529 )
2021-07-29 18:16:26 +00: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
fe34edfdb9
fix(react): ensure version of webpack is updated when running migrate-to-webpack-5 ( #6401 )
2021-07-18 15:48:06 -04: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
vsavkin
0fd5af9fff
fix(nxdev): broken links on home pages
2021-07-14 11:44:57 -04:00
Kirils L
434e2915f0
feat(nextjs): support next 11 ( #6131 )
2021-07-08 11:48:54 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format ( #6286 )
2021-07-08 11:36:35 -04:00
Jack Hsu
801dad4da9
fix(web): fix stylePreprocessorOptions option ( #6265 )
2021-07-07 13:29:51 -04:00
Jack Hsu
4b859493ea
feat(web): add migration generator for webpack 5 ( #6232 )
2021-07-06 12:21:20 -04:00