Marvin Luchs
0644c6bb5b
fix(core): update copy-webpack-plugin ( #3514 )
...
fixes security vulnerability caused by serialize-javascript < 3.1.0
closes #3506
2020-08-14 15:13:24 -04:00
Spencer Elliott
5b6df632cb
fix(core): resolve webpack loaders with require.resolve() ( #3436 )
...
* fix(core): resolve webpack loaders with `require.resolve()`
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.
This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.
See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
* fix(core): resolve absolute 'raw-loader' path
When replacing the 'raw-loader' rule in the `getStylesPartial` function,
check for the absolute path of 'raw-loader' rather than just the name.
2020-08-08 17:53:00 -04:00
Andrew Luca
fdab3b9225
fix(web): use missing umdName option in package builder
2020-08-07 15:52:52 -04:00
Victor Savkin
aff592b930
feat(angular): add an option to use eslint
2020-08-06 22:08:16 -04:00
Christopher Dieringer
68e169ba70
feat(core): pass through builder options to custom rollup config
...
Just as the default rollup config is a function of builder options, so too should-be/could-be userland rollup configuration
Pass in full options to userland rollup config function
2020-08-05 23:13: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
Jason Jean
7af13bbcbe
fix(core): properly resolve tsconfig when serving from project root ( #3403 )
2020-07-31 10:41:11 -04:00
Victor Savkin
3cd9f4fe6c
feat(misc): add nx package to make installing global cli easier
2020-07-29 12:16:12 -04:00
Jack Hsu
7b477eaea4
fix(react): allow env to work in .babelrc for projects ( #3385 )
...
Closes #3351
2020-07-23 16:18:40 -06:00
Jack Hsu
ed8bd2bbe8
Revert "fix(core): resolve webpack loaders with require.resolve() ( #3341 )" ( #3371 )
...
This reverts commit d74ab4e9d6eae6d83c3bb76072b45f7a4c7a6305.
2020-07-20 16:24:47 -04:00
Jack Hsu
83865747e9
fix(react): move url-loader to the react package.json ( #3356 )
2020-07-17 10:41:16 -04:00
Victor Savkin
5d53661139
fix(repo): update the repo to nx 10
2020-07-16 16:18:00 -04:00
Spencer Elliott
d74ab4e9d6
fix(core): resolve webpack loaders with require.resolve() ( #3341 )
...
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.
This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.
See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
2020-07-15 13:55:38 -04:00
Adam L Barrett
9a5650136c
fix(react): fix differential loading in ES6 only Web/React apps ( #3319 )
2020-07-14 11:02:33 -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
Jack Hsu
a6db5facc5
fix(react): fix object destructuring with async-await for buildable libs ( #3308 )
...
Closes #3202
2020-07-10 14:44:37 -04: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
czaplej#26
0c5c81b0be
feat(react): add sass-loader to webpack ( #2853 )
...
`sass-loader` allow export scss variables
Closes #2829
2020-06-24 14:03:36 -04:00
Jason Jean
0ab2fc7875
fix(repo): register local collections for unit tests ( #3207 )
2020-06-20 03:01:03 -04:00
Victor Savkin
1e593a2b07
fix(misc): minor format changes in readmes
2020-06-15 10:27:07 -04:00
Victor Savkin
0111d87575
feat(repo): have separate readmes for all plugins
2020-06-14 23:33:05 -04:00
Victor Savkin
e71ceba4ce
feat(repo): run e2e tests using nx
2020-06-07 23:31:38 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics ( #3113 )
2020-06-05 16:04:53 -04:00
Victor Savkin
d0cbc35efa
feat(repo): build nx with nx
2020-06-03 16:25:25 -04:00
Victor Savkin
2a3116f2e6
feat(misc): add an option not to update package.json files when building libs
2020-06-03 12:55:37 -04:00
Daniel Ji
25432a6395
fix(react): exposed the crossOrigin option for web builder options ( #2830 )
...
ISSUES CLOSED: 2419
Co-authored-by: danielji <daniel.ji@innovid.com>
2020-05-29 11:04:08 -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
Jack Hsu
bd5ca7d909
fix(nextjs): copy public folder to dist when building Next app ( #3047 )
...
Closes #3019
2020-05-22 15:56:15 -04:00
Victor Savkin
a95cba3144
feat(core): support different workspace layouts
2020-05-17 16:39:14 -04:00
Jack Hsu
b95d395ab7
fix(react): update sass-loader to 8.0.2 and fix the options accordingly. ( #2988 )
...
Closes #2099
2020-05-11 23:08:02 -04:00
Devin Shoemaker
0a70e46b6b
cleanup(core): export setDefaultCollection from @nrwl/workspace ( #2970 )
2020-05-09 12:12:40 -04:00
James Spivey
434a288e39
fix(react): fix console log during unit test ( #2938 )
2020-05-01 10:40:44 -04:00
Jack Hsu
8e6ad2ffab
feat(react): add assets option for package builder to copy files to output path ( #2933 )
2020-05-01 09:16:49 -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
3bdcc0b012
fix(core): rework where tmp tsconfigs are generated ( #2805 )
2020-04-16 14:30:49 -04:00
Nathan Walker
a06c256f04
fix(core): file-utils workspaceFileName now returns proper file… ( #2811 )
...
closes https://github.com/nrwl/nx/issues/2253
2020-04-11 21:51:44 +02:00
Noriyuki Shinpuku
40ebe4dd7a
fix(core): fix source map generation for production build ( #2808 )
...
ISSUES CLOSED : #2802
2020-04-04 14:01:18 -04:00
Jason Jean
33dc84672e
fix(react): fix build options being overwritten by undefined se… ( #2798 )
2020-04-02 16:47:15 -04:00
Jason Jean
4e4bd6d764
fix(misc): skip jest and cypress configuration when generating… ( #2743 )
2020-04-02 12:49:55 -04:00
Victor Savkin
70a64c1776
fix(misc): minor misc fixes
2020-03-31 17:45:01 -04:00
Brandon Roberts
49d8ce1297
feat(angular): update Angular libraries to version 9.1.0
2020-03-31 11:25:30 -04:00
Jason Jean
09c4654ae9
fix(misc): add formatting to all migrations
2020-03-29 11:30:59 -04:00
Jason Jean
aeb0bdcb4e
feat(core): enable caching by default
2020-03-26 17:14:17 -04:00
Jack Hsu
7225d29773
feat(react): add support for css modules for SASS/SCSS files ( #2719 )
...
Closes #2406
2020-03-24 22:20:09 -04:00
Jack Hsu
975bd49af0
fix(react): change default browserslist so IE11 is support (via "not dead" query) ( #2718 )
...
Closes #2209
2020-03-24 21:34:55 -04:00
Michael Lancaster
2d02777c9a
feat(core): add web:build support for environment variables
2020-03-23 16:26:11 +00:00
Emilio Martinez
4fb025bd41
fix(core): filter webpack warnings only instead of full output ( #2697 )
...
Remedies an issue where the entire webpack output would be filtered-out if any part of it contained a warning to be ignored.
Additionally, this adds one more warning filter to suppress a `license-webpack-plugin` warning emitted when a license isn't found in a third-party.
Closes #2696
2020-03-20 16:20:46 -04:00
Victor Savkin
2c42431130
feat(core): rewrite path mappings when buildings apps
2020-03-19 21:41:03 -04:00