115 Commits

Author SHA1 Message Date
Jack Hsu
b6361738a4
fix(nextjs): support relative imports in next.config.js (#17127) 2023-05-23 14:34:12 -04:00
Jack Hsu
c9cd67ea76 fix(repo): add missing lsof package needed to kill ports 2023-05-19 09:21:41 -04:00
Nicholas Cunningham
8ce9606a5b
feat(nextjs): Add --turbo support (#17069) 2023-05-18 11:17:00 -06:00
Nicholas Cunningham
3d76d95b29
feat(nextjs): Use next.js cli for build and serve targets (#16896) 2023-05-17 11:09:11 -04:00
Jack Hsu
95421c6945
feat(nextjs): update Next.js to 13.4.1 and default to App Router for new apps (#16948) 2023-05-12 16:09:20 -04:00
Jack Hsu
854b180013
fix(nextjs): inline dev-only dependencies and add e2e test to catch issues (#16890) 2023-05-09 13:28:52 -04:00
Miroslav Jonaš
1e8e84777c
fix(nextjs): increase timeout on styles e2e test (#16800) 2023-05-08 14:45:08 -04:00
Jack Hsu
8d35edac39
fix(nextjs): add workspace dependencies to transpilePackages automatically (#16774) 2023-05-04 18:08:34 -04:00
Jack Hsu
66addbfa81
fix(nextjs): with stylus and less support (#16764) 2023-05-04 08:32:44 -06:00
Ahmed Elsakaan
4cab83eb99
chore(nextjs): changes application generator tsconfig strict to true (#14855) 2023-04-26 09:14:48 -04:00
Jason Jean
a0d18bb588
chore(repo): replace references to @nrwl in e2e tests (#16441) 2023-04-24 18:48:44 -04:00
Caleb Ukle
06a885aca2
feat(next): support nextjs cypress component testing (#16292) 2023-04-21 15:15:28 -04:00
Nicholas Cunningham
338dc64d91
feat(nextjs): Add standalone Nextjs option to react selection when running CNW (#16317) 2023-04-19 15:29:31 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Jack Hsu
ea34e88473
chore(nextjs): increase test timeout to avoid intermittent failure (#16059) 2023-04-03 09:26:54 -06:00
Jack Hsu
b3200fb7c4
fix(nextjs): set correct distDir when running production server through Nx (#15861) 2023-03-23 16:57:10 +00:00
Jack Hsu
c7e49c564a
fix(nextjs): produce correct next.config.js file for production server (#15824) 2023-03-22 14:03:09 -04:00
Jack Hsu
63cdddfa11
fix(nextjs): handle buildable libs correctly (#15795) 2023-03-21 11:21:02 -04:00
Colum Ferry
80f3d03d1d
feat(core): move string utils to devkit (#15479) 2023-03-10 13:15:47 -05:00
Miroslav Jonaš
088a236306
chore(repo): temporarily disabling flaky next test (#15473) 2023-03-06 10:49:47 -05:00
Jason Jean
92610fe4b6
chore(repo): update nx to 15.8.0-beta.7 (#15293) 2023-02-27 17:24:06 -05:00
Jason Jean
84fedf36e0
Revert "chore(repo): update nx to 15.8.0-beta.6" (#15274) 2023-02-26 12:39:15 -05:00
Jason Jean
3c50474f40
chore(repo): update nx to 15.8.0-beta.6 (#15247) 2023-02-26 02:26:53 -05:00
Caleb Ukle
5ddd657a42
chore(repo): enable cypress in CI (#15155) 2023-02-24 11:16:19 -05:00
Miroslav Jonaš
b80286191d
feat(core): refactor lock file parsing and pruning (#13864)
Co-authored-by: Jason Jean <FrozenPandaz@users.noreply.github.com>
Co-authored-by: Victor Savkin <vsavkin@users.noreply.github.com>
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-06 11:39:36 -05:00
Jack Hsu
d3ba6447d0
fix(nextjs): hide lockfile generation behind a flag so it can be toggled on and off (#14204) 2023-01-06 20:26:10 +00:00
Craigory Coppola
7992ec618f
chore(repo): setup negative config for several targets (#14080) 2023-01-04 11:34:50 -05:00
Jason Jean
4a43a04caf
chore(repo): re-enable next.js styles tests (#13995) 2022-12-22 16:58:12 -05:00
Jason Jean
5e5892f086
chore(repo): update nx to 15.4.0-beta.3 (#13904) 2022-12-20 17:48:03 -05:00
Miroslav Jonaš
75de1651a1
feat(core): add lockfile pruning to executors that generate package.json (#13734) 2022-12-09 12:17:36 -05:00
Jack Hsu
66c85bd15c
cleanup(nextjs): remove workaround for enhanced-resolve bug in e2e test (#13639) 2022-12-05 12:20:18 -05:00
Miroslav Jonaš
1a3cc515a4
fix(core): prevent peer deps from ending up as dev deps in create package json (#13502) 2022-12-01 12:07:52 +01:00
Jack Hsu
98a6cb1e32
chore(repo): re-enable storybook e2e tests with overrides for enhance… (#13339) 2022-11-22 16:49:35 -05:00
Jack Hsu
6b305ef4c1
chore(repo): disable storybook e2e tests temporarily until a fix for … (#13336) 2022-11-22 16:07:40 -05:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Victor Savkin
23de788b5e
chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04:00
Jack Hsu
17cef57656
cleanup(nextjs): re-enable storybook e2e test for next.js (#12384) 2022-10-04 00:19:31 -04:00
Jack Hsu
5ae5f8858d
fix(nextjs): return correct webpack config for next.js storybook app (#12371) 2022-10-04 02:36:55 +00:00
Jack Hsu
ce5393776c
chore(misc): update graph-client build-base target to @nrwl/webpack:webpack (#12073) 2022-09-19 15:20:10 +00:00
Jack Hsu
dd6addefc3
feat(bundling): move rollup to its own plugin (#12009) 2022-09-15 14:55:06 -04:00
Jack Hsu
84c2330311
chore(nextjs): add a e2e test for next.js without nx config entry (#11913) 2022-09-07 09:12:35 -04:00
Jack Hsu
525350f844
fix(nextjs): use SWC compiler for next.js libraries (#11848) 2022-09-02 14:10:33 +00:00
Jack Hsu
9b26bc1585
fix(nextjs): SVGR plugin should not be used if nx: { svgr: false } is set in next.config.js (#11829) 2022-09-01 15:55:24 +00:00
Jack Hsu
51da354e65
feat(nextjs): add --custom-server option to app generator (#11607) 2022-08-16 10:32:30 -04:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Jack Hsu
e45c2f24ba
feat(nextjs): improve support for custom server (#11325)
- Add new generator for custom server
- Add @nrwl/js:node executor for serving custom server
- Deprecate @nrwl/node:node in favor of the above
2022-08-02 18:37:23 +00:00
Jack Hsu
8075cb9a9f
chore(nextjs): remove outdir from Next.js config since it is no longer needed (#11257) 2022-07-22 11:06:22 -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
Nicholas Cunningham
89d9d9afd6
fix(nextjs): update e2e test case to cover env variables exported from libraries (#10532)
ISSUES CLOSED: #9633

update

Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-06-01 14:36:54 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00