1256 Commits

Author SHA1 Message Date
Chau Tran
1139c616e1 feat(js): add nrwl/js:node executor to serve node apps 2021-12-22 10:33:02 -05:00
Phillip Barta
e57cef0901
cleanup(repo): use devkit instead of devkit reexports from workspace (#7773) 2021-12-21 21:06:31 +00:00
Craigory Coppola
814061dbff
feat(core): support for extending project inference capabilities (#8210) 2021-12-20 11:18:31 -05:00
Victor Savkin
9051ff2605 feat(core): add ts preset to create-nx-workspace 2021-12-17 21:57:15 -05:00
Miroslav Jonaš
581e5619e3
fix(linter): improve message when trying to import application (#8138) 2021-12-17 12:12:30 +00:00
Victor Savkin
f80a9b5ac9 feat(js): add e2e tests for the swc compiler 2021-12-16 20:26:00 -05:00
Leosvel Pérez Espinosa
2b00c99db1
feat(angular): add support for configuring tailwind in existing and new apps and buildable/publishable libs (#8043) 2021-12-16 17:25:32 +00:00
Miroslav Jonaš
c8de730580
chore(storybook): disable flaky e2e tests (#8193) 2021-12-15 20:58:29 +00:00
Jack Hsu
6d6f29439d
feat(testing): add --compiler=tsc|swc|babel option for jest project generator (#8177) 2021-12-15 14:27:53 +00:00
Jack Hsu
f8c394af46
feat(web): add swc compiler option for webpack executor (#8114) 2021-12-10 16:09:20 -05:00
Miroslav Jonaš
c5b66abb9d
fix(linter): improve error message when attempting to use deprecated tslint (#8090) 2021-12-10 12:27:00 +01:00
Miroslav Jonaš
7b63e83132
chore(storybook): reuse workspace and project in E2E tests (#8098) 2021-12-10 10:43:28 +01:00
Miroslav Jonaš
f5d04080aa
chore(storybook): optimize E2E tests (#8097) 2021-12-10 10:21:37 +01:00
Kirils L
015f1b78f4
feat(web): support swc compiler (#7997) 2021-12-09 21:16:35 +00:00
Craigory Coppola
4685b1ee50
cleanup(core): add tests for merging package json scripts with targets (#8066) 2021-12-09 10:51:40 -05:00
Juri
6f4226af75 feat(storybook): upgrade to Storybook 6.4 2021-12-09 10:06:10 -05:00
Craigory Coppola
28cd781b33
cleanup(testing): add e2e test for add-nx-to-monorepo (#8004) 2021-12-09 10:00:56 +01:00
Victor Savkin
3ecd1c28b7 fix(core): daemon should copy file maps 2021-12-08 14:44:12 -05:00
Miroslav Jonaš
bd5f04835f
chore(repo): extend e2e project cleanup to stop the daemon as well (#8037) 2021-12-08 00:01:03 +01:00
Victor Savkin
8806d1f815 Revert "feat(storybook): upgrade to Storybook 6.4 (#7917)"
This reverts commit e4595867cc16cd5fe20d02e242d6ccbc727bd1f1.
2021-12-06 20:02:54 -05:00
Juri Strumpflohner
e4595867cc
feat(storybook): upgrade to Storybook 6.4 (#7917) 2021-12-06 12:49:16 +02:00
Victor Savkin
ddaa36f8f7 chore(repo): update nx to 13.3.0-beta.13 2021-12-04 14:00:31 -05:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter (#7912) 2021-12-03 11:05:09 -05:00
Miroslav Jonaš
c66f3b8856
chore(repo): align verbose logging parameter names (#7984) 2021-12-03 10:32:52 +01:00
Leosvel Pérez Espinosa
9a08a83591
feat(angular): add tailwind support for buildable libraries (#7961) 2021-12-02 11:16:01 +00:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file (#7584) 2021-11-30 15:02:06 -06:00
Emily Xiong
49df712d5f
bugfix(react-native): change to entryFile absoluste path (#7953) 2021-11-30 13:18:33 -05:00
Victor Savkin
9898b11c80 chore(repo): temporary disable failed e2e test 2021-11-28 11:57:18 -05:00
Emily Xiong
1e79975fa1
bugfix(react-native): fix invalid entry file for react native with js (#7782) 2021-11-26 09:15:21 -05:00
Emily Xiong
624f3f944e
feat(react-native): enable pnpm support for react-native (#7781) 2021-11-26 09:14:55 -05:00
Kirils L
3d7b909af7
fix(nextjs): codesplit buildable next libs (#7717) 2021-11-22 09:40:14 -05:00
James Henry
8fa36ff3e8
feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 17:22:21 +00:00
Victor Savkin
1ddb6120a2 chore(repo): update the version of nx cloud 2021-11-19 09:25:12 -05:00
Colum Ferry
5293b2d70d
chore(angular): use yarn for buildable libs test (#7769)
* chore(angular): use yarn for buildable libs test

* chore(core): allow passing package manager to newProject
2021-11-19 10:47:56 +00:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00
Colum Ferry
d110bc77c0
chore(angular): bump ngrx to 13.0.0 (#7765)
* chore(angular): bump ngrx to 13.0.0

* fix(angular): add path filter to resolver for exports

* fix(testing): add mjs to jest module extensions and add dependency on resolve.exports

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-18 10:06:30 +00:00
Victor Savkin
e3c7b979b2 feat(core): rework the tasks runner to use life cycle for printing messages 2021-11-16 20:07:34 -05:00
Juri Strumpflohner
d057139122
chore(storybook): update Storybook to 6.4 RC.3 (#7755)
* chore(storybook): update Storybook to 6.4 RC.3

* chore(storybook): fix e2e test

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-16 17:11:07 -05:00
Victor Savkin
fcecebeb3a feat(js): add library and app generators 2021-11-15 21:29:28 -05:00
Juri Strumpflohner
1d9825875e
feat(storybook): angular v13 and Storybook 6.4 support (#7690)
* feat(storybook): angular v13 and Storybook 6.4 support

* fixup! feat(storybook): angular v13 and Storybook 6.4 support

* fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fix(angular): add specific storybook prerelease for angular 13 support

* fixup! fixup! fix(angular): add specific storybook prerelease for angular 13 support

* feat(angular): add storybook support for angular 13

* fix(angular): temporarily disable storybook tests

Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-11-13 02:14:10 +00:00
Craigory Coppola
d28f571874
feat(js): create @nrwl/js package and move @nrwl/workspace:tsc to it (#7604) 2021-11-12 16:41:30 -06:00
Victor Savkin
7d14859863 fix(core): support target names with colons 2021-11-11 21:43:31 -05:00
Chau Tran
421d4f2f02
feat(node): add outputFileName to build executor (#7708)
Fixes  #4969
2021-11-11 17:01:20 -06:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
Emily Xiong
7712167d3e
chore(react): remove deprecated @types/styled-jsx (#7697) 2021-11-11 13:12:52 -05:00
Brandon
d1f276af52
chore(angular): change version of NgRx to ~12.5.0 release (#7676) 2021-11-11 08:24:26 -06:00
Emily Xiong
e818f61806
feat(gatsby): upgrade gatsby to 4.1.3 (#7691) 2021-11-10 13:00: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
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