4886 Commits

Author SHA1 Message Date
Jason Jean
e0f08096c4
fix(testing): fix resolver to try using default resolution before using a package filter (#7681) 2021-11-10 09:50:36 +00:00
Victor Savkin
3d1899eec8 feat(core): deprecate --max-parallel and use --paralle=N instead 2021-11-09 20:03:24 -05:00
Fabian Kaupp
8ae3a21656
cleanup(repo): fix id of secondary-entry-point page (#7632)
secondary-entry-point generator has invalid id in `map.json` file.
2021-11-10 00:27:15 +00:00
Brandon
7020fe307e
chore(misc): update Nx livestream branding (#7673) 2021-11-09 14:08:40 -06:00
Jason Jean
f9d9e26882
fix(angular): do not ignore any mjs files for jest (#7670) 2021-11-09 13:44:52 -05:00
Craigory Coppola
e57dc10f4f
fix(testing): first generated cypress project should not include tsconfig specification (#7629)
Closes #6917
2021-11-09 13:15:02 -05:00
Robert Smith
0ca28e7581
docs(misc): Update azure devops condition script (#7637) 2021-11-09 11:21:30 -06:00
Brandon
62d5d43dd8
docs(testing): document adding Cypress E2E app for an existing project (#7669) 2021-11-09 11:15:34 -06:00
Philip Fulcher
0b0c37dbd1
fix(dep-graph): stop search depth from going below 1 (#7661) 2021-11-09 09:18:43 -07:00
Craigory Coppola
5afaad1222
fix(core): prettier should be marked as optional (#7655)
Closes #7421
2021-11-09 09:21:44 -05:00
Colum Ferry
5d70627d18
fix(angular): ignore unmatching jest configs (#7663) 2021-11-09 09:21:15 -05:00
Colum Ferry
f5e98bbd83
fix(angular): migration versions (#7664) 2021-11-09 09:20:13 -05:00
Kirils L
75789e8ea9
chore(nxdev): set incremental to true (#7660) 2021-11-09 13:57:22 +02:00
Philip Fulcher
5f9279a3ff
feat(dep-graph): use xstate for state management (#7634) 2021-11-08 21:00:45 -07:00
Craigory Coppola
07c256b4dc
heckout (#7657)
fix(node): nrwl/node:package should support dotfile assets
2021-11-08 13:43:07 -05:00
Matt
965b11679f
feat(testing): add --testPathIgnorePatterns flag support (#7478)
closes #7462

Co-authored-by: Matt <MattGson>
2021-11-08 13:42:44 -05:00
James Henry
36a81b7c04
chore(core): run workspace-lint in ci (#7631) 2021-11-08 13:29:04 -05:00
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