552 Commits

Author SHA1 Message Date
Colum Ferry
4a4a149bce
feat(react): add skipPackageJson flag (#12919) 2022-11-02 14:20:56 -04:00
Caleb Ukle
3f9909a5fe
fix(web): add option to override outputPath for file-server (#12941) 2022-11-02 16:49:04 +00:00
Zachary DeRose
67376209dd
fix(react): fixes broken links to 01-create-application vs 1-code-generation (#12737) 2022-10-21 10:17:13 -07:00
Victor Savkin
23de788b5e
chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04:00
Craigory Coppola
d8f3c6b186
fix(react): migrations use tsquery, so we should provide it (#12575) 2022-10-13 13:37:37 -04:00
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture (#12535) 2022-10-12 22:06:32 +00:00
Jason Jean
85a5c89485
fix(core): fix slashes in inputs migrations (#12444) 2022-10-07 17:58:02 -04:00
Jack Hsu
dda9ea1f87
feat(bundling): remove deprecated UMD format support for rollup (#12426) 2022-10-05 22:44:06 -04:00
Jason Jean
49c5e5069b
feat(core): migrate existing workspaces to use inputs configuration (#12416) 2022-10-05 22:30:03 +00:00
Phillip Barta
d91c7ca4ec
fix(linter): remove leftovers after tslint support removal (#12313) 2022-09-30 12:02:05 +01:00
Phillip Barta
a592af1eb3
cleanup(web): reexport WebpackNxBuildCoordinationPlugin from @nrwl/webpack (#12315) 2022-09-29 10:20:22 -04:00
Jack Hsu
4b491c86f2
fix(web): update http-server lookup so it works with pnpm (#12269) 2022-09-28 09:37:35 -04:00
Jason Gerbes
4dc331c914
feat(react): improve babel preset options (#10940)
Improved the '@nrwl/react/babel' preset to allow for customisation of all options provided by
the
'@nrwl/web/babel' preset.

ISSUES CLOSED: #10939

Co-authored-by: Jason Gerbes <jason.gerbes@vista.co>
2022-09-22 11:16:29 -04:00
Jack Hsu
84a21e904e
fix(bundling): skip web-specific configuration when bundling for node (#12130) 2022-09-20 20:04:35 +00:00
Benjamin Cabanes
da0cc4792f
docs(nxdev): update internal reference links (#12083) 2022-09-19 19:15:19 +00:00
Victor Savkin
6e6925f8e4
chore(repo): update to nx 14.7.6-beta.6 2022-09-17 15:59:06 -04:00
Jack Hsu
dd6addefc3
feat(bundling): move rollup to its own plugin (#12009) 2022-09-15 14:55:06 -04:00
Jack Hsu
ee8ba2de57
feat(misc): remove unused dependencies from packages (#11986) 2022-09-13 08:27:07 -04:00
Jack Hsu
5c00b75dca
chore(misc): update webpack migration to target 14.7.6 (#11987) 2022-09-12 23:49:32 -04:00
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04:00
Jonathan Cammisuli
e7ec91b9e0
feat(core): add file completion types for the nx language server (#11669) 2022-08-26 10:34:33 -04:00
Edd
36a72c7303
fix(react): fix(react): fix missing integrity tags in production builds (#10949)
Subresource Integrity attributes were not generated on production react builds
due to a missing
option pass through when writing the index file.
ISSUES CLOSED: #10926
2022-08-24 13:05:18 -04:00
Craigory Coppola
6948ffdcff fix(core): project graph should be read from executor context
These changes lower the risk of reading the cache during a write operation when multiple
processes are actively writing / reading the cache.
2022-08-19 12:50:07 -04:00
Miroslav Jonaš
187f5200c0
fix(linter): add jest to root .eslintrc if selected as unit test runner (#11555) 2022-08-18 14:51:09 +02:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Jack Hsu
11219071f6
feat(web): update node types to 18.7.1 (#11546) 2022-08-11 14:23:35 +00:00
seanboose
4917239100
fix(web): run swc after other plugins in rollup (#11501) 2022-08-09 10:31:53 -04:00
Jack Hsu
5267f4555d
feat(misc): update shared ts-node and ts-loader packages (#11429) 2022-08-05 16:47:33 +00:00
Jack Hsu
dec910274b
fix(react): allow async functions to work with custom webpack config (#11467) 2022-08-05 16:13:31 +00:00
seanboose
b6bbd41b27
fix(web): fix json imports in rollup with swc (#11436)
moved the json plugin to be before the swc plugin in the rollup executor

ISSUES CLOSED: 11435
2022-08-04 10:43:06 -04:00
Szaby Grünwald
5614307ca2
fix(web): fix http-server proxyOptions arg converter (#11309)
Fix the string interpolation in the http-server command arg converter for proxyOptions.

ISSUES CLOSED: #11302

Co-authored-by: Szabolcs Grünwald <sgruenwald@eurofunk.com>
2022-07-28 12:12:03 -04:00
Jack Hsu
4bb8ab1b36
fix(react): buildable library sets NODE_ENV correctly (#11294) 2022-07-26 13:20:17 -04:00
Leosvel Pérez Espinosa
6f2d5243c5
cleanup(misc): replace usage of rxjs-for-await (#11182) 2022-07-22 15:28:45 -04:00
Jack Hsu
3a63eeab21
chore(core): remove checks for built dependencies in executors since dependsOn guarantees that they are built (#11227) 2022-07-20 15:56:57 +00:00
Jack Hsu
8173887fbb
feat(react): add tailwind setup generator (#11214)
LGTM!
2022-07-19 13:07:37 -06:00
Leosvel Pérez Espinosa
01f7376169
cleanup(misc): consolidate tslib version in generated projects (#11185) 2022-07-19 12:59:37 -04:00
Jack Hsu
d657f912d9
feat(web): upgrade webpack plugin versions (#11191) 2022-07-18 15:23:30 -04:00
Caleb Ukle
8154191eb1
feat(testing): Cypress 10 and component testing support (#9201)
* feat(testing): add generator to aid in the migration to cypress 10

cypress 10 introduces a new configuration format and new layout that requires update settings and
files for e2e projects

* feat(testing): cypress component tests for react/next

initial work for cypress component tests for react and next

* feat(testing): add support for v10 e2e cypress projects

create the correct files for cypress projects >v10 and reorganize tests based on version to allow
easier parsing of tests

* feat(testing): add utils for modifying cypress v10 config

provide ts transformers to take in an existing cypress config and update/add properties within the
given configuration

* fix(testing): fix tests affected by the cypress v10 changes

update tests to assert the correct files/folders/file contents due to the cypress changes in v10

* cleanup(testing): move cypress component testing plugins into the respective packages

move the plugins into out of cypress plugins into the specific vertical plugin to prevent issues
with circular refs

* cleanup(testing): bump cypress version

bump to latest cypress v10 release

* docs(testing): update docs for cypress 10

update cypress docs to include info about component testing and migration to cypress v10

* fix(repo): revert cypress version bump

keep v9 of cypress installed for nx repo until v10 release

* fix(testing): update cypress gen tsconfig and infer targets with converter

* fix(testing): make sure tests use the cypress v10 (for the intermediate)

* fix(testing): update target name after feedback

* fix(testing): support multiple target w/custom configs for cypress v10 migration

* fix(testing): refactor cy component tests into seperate verticals

* feat(testing): create storybook cypress preset

* fix(testing): clean up cy v10 migration

* fix(testing): don't branch for cypress executor testingType

* fix(testing): move cy comp test generator to next

* fix(testing): bump cypress deps

* fix(testing): clean up cy component testing generators

* fix(testing): update cy component testing docs

* fix(testign): dep check. runtime plugin pulls from @nrwl/react

* fix(testing): move e2e into verticals

* fix(testing): address PR feedback

* fix(testing): clean up unit tests

* feat(angular): support migrating angular cli workspaces using cypress v10

* chore(testing): update e2e tests

* fix(testing): address pr feedback

* chore(testing): remove cypress component testing for next.js

* fix(testing): address pr feedback

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-07-08 14:34:00 -05:00
Miroslav Jonaš
b8efa778f6
fix(core): remove eslintrc.json from the package build artifact (#11043) 2022-07-07 18:34:34 +00:00
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