4169 Commits

Author SHA1 Message Date
Emily Xiong
9eb3ac58e9
chore(react-native): uncomment detox e2e test to build and test native ios (#7479) 2021-11-08 12:33:13 -05:00
Colum Ferry
8d6ac4f694
chore(angular): support angular 13 (#7161)
* chore(angular): support angular 13

Support Angular 13

chore(angular): support ng 13 next 11

chore(angular): upgrade tslib dep

chore(angular): update package and ng-packagr-lite executors to align with ng-packagr v13

chore(angular): update test snapshots with ts version

fix(angular): buildable lib tsconfig transform test

* chore(angular): sync ng-packagr changes to the package and ng-packagr-lite executors

* chore(angular): add migrations

* chore(angular): rxjs7

* feat(angular): check rxjs version to install

* feat(angular): update jest resolver to resolve esm

* chore(angular): fix version

* chore(angular): support jest-preset-angular

* fix(angular): tests

* fix(angular): fix e2e tests and add .angular to gitignore

* fix(angular): fix jest transformers ignore pattern

* fix(angular): fix node test

* fix(angular): fix workspace test

* fix(angular): import marble utils from jasmine-marbles instead of @nrwl/angular/testing

* feat(angular): update ngrx to 13.0.0-beta.;0

* fix(angular): temporarily skip test with pnpm

* fix(angular): bump jest-preset-angular to fix jest performance issues

* fix(angular): webpack-browser and server schema changes

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-08 12:01:55 -05:00
Benjamin Cabanes
9c27adad44
docs(nxdev): add nx playground banner for 50% off (#7652) 2021-11-08 11:33:15 -05:00
Imdadul Huq
9e61e8cdc6
docs(nxdev): updated generator doc (#7649) 2021-11-08 11:04:21 -05:00
Nico
5bc169264b
fix(web): custom typescript webpack config files are now compatible for react applications (#7633)
When a typescript webpack config file is provided as an option for the web build executor
`nx
run
project:serve` will not fail because the file type is typescript.
ISSUES CLOSED: #7454
2021-11-05 21:50:45 +00:00
Philip Fulcher
cbc5ccc2d3
fix(misc): fix dep-graph HTML generation (#7619) 2021-11-05 15:22:36 -06:00
danjor
7332bbce81
fix(core): fixing move generator to update all import path (#7611) 2021-11-05 15:16:27 -05:00
Caleb Ukle
0ca5a88bf1
fix(testing) generated jest ts configs mismatch (#7556)
* fix(testing): add .test. files to spec tsconfig template

add support for .test.ts and with supportTsx .test.{js|tsx|jsx} files
in the tsconfig.spec.json template.

Note each package that excludes testing files will need to be updated to
exclude the new files (coming in future commits)

* fix(angular): add .test.ts support in tsconfigs

add .test.ts in angular jest template
update angular generators to exclude test files

* fix(gatsby): add .test. file prefixes to tsconfig ignore

ignore the new .test.{js|ts|jsx|tsx} files added to jest configs

* fix(react): add .test. file prefix to app/lib tsconfigs

add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig

* fix(node): add .test. file prefix to app/lib tsconfig

add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig

ISSUES CLOSED: #7263

* fix(nest): update tests for new .test.ts files in tsconfig

update tests to account for changes in node generators which add .test.ts to the exclude of
tsconfigs

* fix(express): update tests to account for new tsconfig changes

updated snapshots
added new patterns for tsconfig

* fix(linter): update snapshots for new tsconfig changes

snapshot updated to include new .test.ts file changes for tsconfig

* fix(node): update testing to account for spec tsconfig changes

add .test.ts files in e2e tests

* fix(testing): add migration for tsconfig changes

initial migration and test for tsconfig changes

* chore(testing): add to migrations collection

add the update-ts-config-for-test-filenames to migrations

* fix(testing): fix filesystem issue with jest tests

mock readConfig to always return an basic config to prevent issues of not finding a config in non
linux environments, aka missing /root

* cleanup(testing): update error message

update message logged when tsconfig isn't found to mention what was trying to be accompished so it
can be manually updated if desired.
2021-11-05 14:25:25 -05:00
Kirils L
3c6044c821
fix(core): wrong migration docs link again (#7628) 2021-11-05 16:35:33 +00:00
Kirils L
3d6496b7a3
fix(core): wrong migration docs link (#7625) 2021-11-05 15:32:16 +00:00
Miroslav Jonaš
f23a4cf7f1
feat(linter): allow wildcards for banning external imports (#7623) 2021-11-05 15:25:05 +01:00
Miroslav Jonaš
878b44d997
docs(testing): add clarification for baseUrl when devServerTarget is set (#7622) 2021-11-05 15:24:36 +01:00
Leosvel Pérez Espinosa
c09aefd9f9
fix(core): consider available cpus when deciding whether to use workers to build the project graph (#7617) 2021-11-05 13:07:11 +00:00
Katerina Skroumpelou
c68b37e29f fix(storybook): install cypress packages if not installed for e2e apps
ISSUES CLOSED: #7158
2021-11-05 11:06:38 +01:00
Gustavo Perdomo
e960285769
feat(nest): support nest 8 (#6284)
* feat(nest): support nest 8

* feat(nest): update migration and generation logic

* feat(nest): updated according feedback

* feat(nest): fix migration issues

* feat(nest): final changes according feedback

Co-authored-by: Chau Tran <nartc7789@gmail.com>

* fix(nest): log info to install packages install running installPackageTask

Co-authored-by: Chau Tran <nartc7789@gmail.com>
2021-11-04 16:48:38 -05:00
Philip Fulcher
ed28e7d53a
docs(linter): add doc for bannedExternalImports (#7605) 2021-11-04 10:28:01 -06:00
Miroslav Jonaš
1afeeb6be1
docs(core): move misleading migration overview page (#7608) 2021-11-04 14:39:38 +01:00
Ashley Hunter
c08f506c5c
feat(nest): exporting nest generators (#7585) 2021-11-03 11:55:03 -05:00
Jason Jean
588793bd9d Release 13.1.3 2021-11-02 19:12:41 -04:00
Miroslav Jonaš
c8603f1911
fix(core): ensure cache has correct project graph version (#7572) 2021-11-02 09:49:42 -04:00
Brandon
5d81232a61
docs(angular): cleanup Angular tutorial (#7583) 2021-11-01 15:01:23 -05:00
Ashley Hunter
cae625a817
feat(nest): nest resource generator (#7571)
* feat(nest): adding nest resource generator

Adding a generator to run the Nest Resource schematic

ISSUES CLOSED: #6754

* feat(nest): adding nest resource generator

Adding a generator to run the Nest Resource schematic

ISSUES CLOSED: #6754

* feat(nest): adding nest resource generator

Adding a generator to run the Nest Resource schematic

ISSUES CLOSED: #6754
2021-11-01 11:10:58 -05:00
Victor Savkin
cc3078e307 cleanup(nxdev): minor home page tweaks 2021-11-01 12:06:48 -04:00
Miroslav Jonaš
27cc2d9c5f
fix(core): improve graph version adapter error message (#7573) 2021-10-29 22:42:51 +00:00
Isaac Mann
72aba68b0d
docs(core): update contributor guide (#7568)
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2021-10-29 18:21:14 +00:00
Juri Strumpflohner
1241068fd4
fix(storybook): find Angular components in destructured arrays (#7494)
ISSUES CLOSED: 7117
2021-10-29 20:26:10 +03:00
Juri Strumpflohner
0d3a5c375d
fix(storybook): make sure Storybook can use TypeScript for the config files (#7566)
ISSUES CLOSED: #7515
2021-10-29 20:23:34 +03:00
Gustavo Perdomo
89fc04da72 fix(nextjs): fix peer next version 2021-10-28 20:37:08 -04:00
Pierre-Alexandre
6734187051 cleanup(core): avoid first format to modify nx.json
Getting the `nx.json` code formatting right on brand new workspaces, so the first `nx format` won't update that file
2021-10-28 20:35:46 -04:00
Victor Savkin
5b9992c62a docs(react): rework the core section to highlight nx core 2021-10-28 19:48:13 -04:00
Jack Hsu
75513d6f8b
chore(repo): add tests to make sure migration factory/implementation are correct (#7541) 2021-10-27 16:12:07 -04:00
Jack Hsu
0b9eaeb92c
chore(nextjs): enable SWC for nx.dev (#7539) 2021-10-27 12:45:20 -04:00
Victor Savkin
922d4e5100 Release 13.1.2 2021-10-27 10:20:18 -04:00
Jack Hsu
339661f18a
fix(nextjs): fix migration path for enable-swc (#7535) 2021-10-27 14:15:54 +00:00
Miroslav Jonaš
30e2e4a2f1
chore(repo): add applesimutils on circleci setup (#7533) 2021-10-27 16:13:18 +02:00
Miroslav Jonaš
4b4266a17e
fix(nxdev): fix broken test setup (#7534) 2021-10-27 14:33:00 +02:00
Victor Savkin
8e42c722ca Release 13.1.1 2021-10-27 06:46:58 -04:00
Jack Hsu
2cbba1748f
chore(nextjs): add a guard for SWC migration for custom babel configs (#7529) 2021-10-26 22:47:42 -04:00
Jack Hsu
1000663a91
feat(nextjs): migration to enable SWC for nextjs apps (#7528) 2021-10-26 22:06:23 -04:00
Victor Savkin
9bcdc9e217 Release 13.1.0 2021-10-26 20:42:48 -04:00
Jack Hsu
39bc2e293e
feat(nextjs): bump Next.js version to 12.0.0 (#7524) 2021-10-27 00:37:14 +00:00
Leosvel Pérez Espinosa
8311a172d7
feat(angular): add secondary entry point generator for publishable libraries (#7501) 2021-10-26 11:12:53 +01:00
Craigory Coppola
f11baf6813
fix(core): nx daemon shouldn't cause flickering on windows (#7492) 2021-10-26 12:25:00 +04:00
Chau Tran
9356f73380
feat(node): add tsPlugins to node:package executor (#7477)
node:build currently has tsPlugins options to invoke TypeScript Plugins (transformers). This PR
brings the same functionality to node:package

ISSUES CLOSED: #7420
2021-10-25 20:03:56 -05:00
Jordan
338dc289a7
docs(testing): update migration guide from protractor to cypress (#7513) 2021-10-25 15:07:39 -05:00
Jack Hsu
8686e919fb
fix(core): update generator logic so empty strings ("") for appsDir and libsDir work properly (#7508) 2021-10-25 12:01:53 -04:00
Kirils L
67ff4acea2
fix(nextjs): sourcemaps display transpiled code (#7487) 2021-10-25 10:01:07 -04:00
Victor Savkin
748995cb25 chore(repo): update nxdev docs 2021-10-23 20:49:32 -04:00
Benjamin Cabanes
5107d954e7
docs(nxdev): use active flavor on doc sidebar (#7502) 2021-10-23 19:43:07 +00:00
Philip Fulcher
777347e932
cleanup(misc): fix dep-graph e2e test on Windows (#7496) 2021-10-23 10:58:21 -06:00