Victor Savkin
c52a8c2e9b
feat(core): finalize the input api
2022-06-29 10:52:14 -04:00
Jack Hsu
bf11bbf709
feat(node): update @types/node to 18.0.0 ( #10916 )
2022-06-27 14:33:48 +00:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional ( #10018 )
2022-06-23 10:57:54 +02:00
Dylan Andersen
8cae2c9eca
docs(core): fix links to nx tutorials ( #10763 )
...
Co-authored-by: Dylan Andersen <dylan@joinhandshake.com@Dylans-MBP.attlocal.net>
2022-06-16 10:54:22 -04:00
Jack Hsu
d58eedccdb
feat(react): add generateExportsField option to @nrwl/web:rollup executor so it is an opt-in feature ( #10742 )
...
- Also adds skipTypeField option in case that is causing issues for users
- Fixes #10741
2022-06-15 14:44:56 +00:00
Nikola Radulaški
63ae3ae077
feat(web): add named extractCss option ( #10710 )
...
In Rollup rollup-plugin-postcss has option of
named extracted css file which can be utilized
by just passing a string to extractCss option.
This does not affect existing functionality.
2022-06-15 09:43:36 -04:00
Nikola Radulaški
f7a61dc2f2
fix(web): in webpack style-loader should be used when extract-css is false ( #10192 )
...
* fix(web): in webpack style-loader should be used when extract-css is false
* fix(web): remove unnecessary fallback
true value is already being read from schema
2022-06-15 09:00:57 -04:00
Jason Jean
5b17335f4d
Revert "feat(core): support nested ignore files ( #10455 )"
...
This reverts commit 36d8ee26c430def7b68b123d1b87b792928411d2.
2022-06-13 13:16:05 -04:00
Huy TQ
3de1cb6089
fix(web): @nrwl/web:file-server throws 404 after refresh ( #9839 )
2022-06-10 18:55:57 +00:00
Gabriel Terwesten
36d8ee26c4
feat(core): support nested ignore files ( #10455 )
2022-06-10 14:05:41 -04:00
Kyzyl-ool Kezhik
c421324060
feat(web): added javascriptEnabled option for @nrwl/web:rollup ( #8327 )
2022-06-10 15:08:17 +00:00
Craigory Coppola
15c04b099e
chore(repo): enable eslint plugin checks ( #10666 )
2022-06-09 18:04:06 -04:00
Phillip Barta
b9e623d84d
cleanup(repo): refactored fileutils ( #10503 )
2022-06-08 10:38:34 -04:00
intellild
5809b8b7f9
feat(web): enable allowDeclareFields for @babel/preset-typescript ( #9805 )
...
* feat(web): enable allowDeclareFields for @babel/preset-typescript
* feat(web): enable allowDeclareFields for @babel/preset-typescript
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
2022-06-07 21:47:57 +00:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators ( #10601 )
2022-06-06 20:03:46 +00:00
Craigory Coppola
7f7bc1a095
fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format ( #10497 )
...
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format
* chore(repo): update usage of new readModulePackageJson function
2022-06-03 20:54:15 +00:00
Leosvel Pérez Espinosa
914f0ce707
feat(misc): update typescript to 4.7 ( #10560 )
2022-06-02 13:29:11 -04:00
Victor Savkin
e491c6f738
feat(core): make nx.json optional
2022-05-31 15:35:28 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1
2022-05-30 20:10:02 -04:00
Nikola
daddcde73c
fix(web): fix dev-server deprecation warning ( #10203 )
...
This PR will resolve deprecation warning:
(node:62713) [DEP_WEBPACK_DEV_SERVER_HTTPS] DeprecationWarning: 'https' option is deprecated. Please use the 'server' option.
2022-05-30 15:58:18 -04:00
Takashi Machinaga
85b185752c
fix(web): enable tree shaking ( #8296 )
2022-05-30 13:38:22 -04:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna ( #10293 )
2022-05-20 00:35:47 +00:00
Leosvel Pérez Espinosa
4c85e0791d
feat(angular): update postcss deps for new and existing workspaces ( #10358 )
2022-05-18 10:46:46 +01:00
Jack Hsu
70f1a6b781
feat(web): add support for Node ESM when used to package SSR-ready library ( #10349 )
2022-05-18 01:11:18 +00:00
Victor Savkin
6351413b98
fix(core): preserve dash casing when passing args to executors
2022-05-17 14:48:53 -04:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default ( #10035 )
...
* fix(testing): jest.preset.ts => jest.preset.js
* fix(testing): update to export default
* fix(testing): migration for moving to export default
* fix(testing): add eslint ignore comments for jest config properties
fixes : #10021
* fix(testing): update tsconfig.spec.json for next apps with project parserOptions
fixes : #9982
* fix(testing): prevent renaming root jest preset
fixes : #9973
* fix(testing): update snapshots for export default
* fix(testing): bump migration version to run
* fix(testing): make sure default jest tests pass for various projects
* fix(js): generate correct jest config for --compiler=swc --js
2022-05-11 18:04:29 +00:00
Jack Hsu
fecbb81120
fix(react): set mode correctly when serve --prod is used ( #10235 )
...
Fixes #10199
2022-05-10 09:56:42 -04:00
Jack Hsu
23f6d5492c
fix(react): SWC compiled code should include react jsx runtime ( #10220 )
...
Fixes #8869
2022-05-09 12:32:08 -04:00
Phillip Barta
0cc7042beb
chore(repo): updated dependency fs-extra to ^10.1.0 ( #9985 )
2022-05-06 17:56:19 -04:00
Jack Hsu
c4e5b7c7c0
fix(react): host server exits when one of the remotes fail ( #10185 )
2022-05-06 12:41:40 -04:00
Colum Ferry
77cc38a624
fix(angular): use fork in file-server for http-server ( #10161 )
2022-05-05 16:08:04 +01:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 ( #10132 )
2022-05-04 15:27:43 +00:00
Victor Savkin
085554b682
cleanup(misc): remove incorrect comments
2022-05-02 11:46:26 -04:00
Victor Savkin
cb8bf523ff
chore(repo): update cloud to 1403 ( #10070 )
2022-04-30 13:21:55 -04:00
William Sedlacek
6db252bc46
fix(web): use cjs format for rollup if umd is not set ( #8919 )
2022-04-26 17:28:10 -04:00
Aaron Dang
0c614b2d6b
fix(web): option --no-runtimeChunk is not working ( #7747 )
...
Co-authored-by: Tuan Dang <tuandang@i3-automation.com>
2022-04-26 17:14:00 -04:00
Victor Savkin
8f1376277b
fix(misc): file server should force remote caching when invoking build
2022-04-25 14:31:23 -04:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 ( #9974 )
2022-04-23 18:06:01 +00:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files ( #9854 )
...
* feat(testing): move jest config to .ts
move jest config and preset to ts files
ISSUES CLOSED : #8344
* fix(testing): update tests for jest.config.ts changes
update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Jack Hsu
7913f31cff
fix(react): use normalized app name in host/remote generators ( #9909 )
2022-04-21 02:54:39 +00:00
Jason Jean
cb7fb22bca
feat(core): remove @types/node from default workspace ( #9853 )
...
Signed-off-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-20 12:43:23 -04:00
Jack Hsu
e32932d267
feat(react): add ability to serve remote apps in dev or static mode ( #9893 )
2022-04-20 12:27:49 -04:00
James Henry
46e7b4d49c
chore(core): improve help output for generators and executors ( #9800 )
2022-04-12 14:05:55 -04:00
Giora Guttsait
75b0744955
fix(core): init generators should not crash when trying to remove dependencies when package.json does not have dependencies ( #9765 )
...
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-04-12 09:10:13 -04:00
Nicholas Cunningham
12f0f195d2
feat(react): add support for MFEs ( #9413 )
...
* feat(react): Add MFE Generator for Host and Remote Apps
Host generator will be able use the mfe-remote generator when remotes are passed into the CLI for the mfe-host command
* docs(react): React Documentation Update
Co-authored-by: Nicholas Cunningham <nico@Nicholass-MacBook-Pro.local>
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-04-04 15:44:18 -04:00
CommanderRoot
05a9544806
cleanup(misc): replace deprecated String.prototype.substr()
...
* cleanup(misc): replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
* fix(js): fix slice change
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-01 23:04:26 +00:00
Jack Hsu
cb4126c442
fix(react): pass configuration from context when reading build target options ( #9656 )
...
Closes #7924
2022-04-01 17:48:40 -04:00
Benjamin Cabanes
cea9c0c146
docs(core): add description to web package ( #9526 )
2022-03-25 19:26:31 +00:00
Isaac Mann
753277ad50
docs(nxdev): customize webpack guide ( #8857 )
...
* docs(nxdev): customize webpack guide
* docs(core): add webpack-merge
* docs(core): webpack config example
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-03-25 11:27:16 -04:00
Victor Savkin
2071c2e5da
fix(repo): fix builds
2022-03-24 16:37:00 -04:00