338 Commits

Author SHA1 Message Date
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
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
Jack Hsu
6b9f35bc45
feat(react): --maxWorkers and --memoryLimit add tests and common fix (#2581)
`nx serve -—maxWorkers=1 -—memoryLimit=1024`

Closes #2366
2020-03-05 09:12:18 -05:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
czaplej#26
884b887d3e
feat(react): nx serve --maxWorkers --memoryLimit should work 2020-02-25 17:24:08 -05:00
Jack Hsu
a433035eca
chore(react): update web/react dependencies and clean up npm warnings (#2547) 2020-02-25 11:03:58 -05:00
Max Koretskyi
9b2e07026d
Remove dependency on Angular specific tools from @nrwl/web (#2543)
cleanup(react): remove dependency on Angular specific tools from @nrwl/web
2020-02-25 08:57:56 -05:00
Rares Matei
bdaf29841c
feat(react): provide only umd & esm bundles when packaging (#2524)
* feat(react): provide only umd & esm bundles when packaging

* fix(react): print output error only once when bundling
2020-02-24 10:10:52 -05:00
Victor Savkin
49168c10e3
feat(react): rework react buildable libraries to read deps from dist (#2513) 2020-02-20 11:00:13 -05:00
Jason Jean
ed0f0f8487
feat(react): rename bundle builder to package (#2411) 2020-02-03 09:04:29 -05:00
Jason Jean
972381bc3f
feat(testing): update to jest-preset-angular v8.0.0 (#2401)
* feat(testing): update to jest-preset-angular v8.0.0 part 1

Updates to jest-preset-angular to v8.0.0, includes migrations to fix any existing projects affected
by the jest-preset-angular update.

closes #1979

* feat(testing): update jest-preset-angular to v8.0.0 part 2

Closed issues: #1979, #2165

Co-authored-by: Joshua D. Mentzer <mentzerj@trinity-health.org>

* feat(testing): update jest-preset-angular to v8.0.0 part 3

Co-authored-by: mentzerj <mentzerj@trinity-health.org>
Co-authored-by: Mehrad Rafigh <4339673+mehrad-rafigh@users.noreply.github.com>
2020-02-01 11:34:31 -05:00
Jason Jean
b6e6b3f1c3
Revert "Revert "feat(core): update to next version of angular deps"" (#2264)
This reverts commit f816fc424d4b0d850e0a49d0ed8e4a30ddca308c.
2020-01-31 13:08:50 -05:00
Jack Hsu
1132d9ec57
feat(react): add support for css modules (#2349)
Closes #1744
2020-01-20 15:52:34 -05:00
Jack Hsu
f7590cd5d4
chore(react): cleans up polyfill logic and provide custom-element polyfills when choosing wc preset (#2347)
Closes #1250
2020-01-20 15:08:01 -05:00
Jack Hsu
2ca8d10fe5 fix(react): suppress erroneous warning coming from license-webpack-plugin 2020-01-18 12:00:46 -05:00
Josip Bojčić
4060930240 feat(react): add an option to set memory limit for type checking service process (#2305) 2020-01-14 10:18:28 -05:00
Jason Jean
311685762e feat(core): generate implicit dependencies for e2e projects 2020-01-09 12:08:17 -05:00
Victor Savkin
d2d9f1cca0 feat(core): implement caching 2020-01-01 10:51:58 -05:00
Jack Hsu
5d0e1ad199
feat(react): add support for const enums (#2224) 2019-12-23 14:06:58 -05:00
Jason Jean
cee6888a12
feat(misc): export mock builder context from workspace (#2221) 2019-12-19 18:30:21 -05:00
Victor Savkin
f5b56fd41b fix(misc): reenable run-many tests 2019-12-14 15:26:34 -05:00
Victor Savkin
f816fc424d Revert "feat(core): update to next version of angular deps"
This reverts commit bd230e0530e690b2ae7896a876510f62002943c8.
2019-12-10 08:07:26 -05:00
Jason Jean
bd230e0530 feat(core): update to next version of angular deps 2019-12-08 16:16:33 -05:00
victor savkin
dbd94926bf fix(web): clean up third-party code to drop unnecessary deps from web's package.json 2019-12-04 09:24:59 -05:00
Victor Savkin
91e1f4ef8b fix(web): do not replace 0.0.0.0 with localhost 2019-12-02 18:08:46 -05:00
Jack Hsu
7a434d469a fix(web): resolve issue where different core-js versions exist in the same workspace
Closes #2086
2019-11-28 07:54:08 -05:00
Brandon Roberts
791c3f25fc chore(nx): fix LicenseWebpackPlugin references 2019-11-12 09:53:43 -05:00
Brandon Roberts
a24c31dd20 chore(nx): format new files 2019-11-12 09:53:43 -05:00
Brandon Roberts
64ebe9483a refactor(nx): remove dependency from @nrwl/web on @angular-devkit/build-angular 2019-11-12 09:53:43 -05:00
Alan Elias
e85f56f9e3 fix(web): fixes devserver allowed hosts option schema validation error
I removed `enum` to fix `--allowed-hosts` option schema validation error. snum should be removed so
developers have the option to pass whatever they want. it was a mistake from
https://github.com/nrwl/nx/pull/1969 PR.
2019-11-03 16:55:12 -05:00
Alan Elias
f3b673e618 feat(web): enable devserver allowed hosts option (#1969)
* feat(web): enable devserver allowed hosts option
2019-10-21 21:49:36 -04:00
Jack Hsu
930cf40a4a
fix(nx): add outputPath in schema.json for web and node build builders. (#1959)
Related: #1945
2019-10-17 12:46:34 -04:00
Jack Hsu
34a887a93f
fix(web): use legacy decorators so they work with TypeScript. (#1928)
Closes #1908
2019-10-08 12:05:30 -04:00
Jack Hsu
a524b2e947 feat(react): add publishable library support
Issue #1521
2019-10-02 16:26:20 -04:00
ben
047fb3200c docs(nx): add nx video course links 2019-09-26 09:23:34 -04:00