321 Commits

Author SHA1 Message Date
Caleb Ukle
74bd0bb00c
feat(testing): support root project generation for jest (#13353)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-11-29 17:03:19 -05:00
Jason Jean
6d35fd4d85
chore(core): reconcile functions to find project of a path (#13364) 2022-11-24 11:02:32 -05:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Caleb Ukle
cd4e983e90
fix(testing): update jest batch mode (#12764)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-10-27 18:10:55 -04:00
Jason Jean
1d4247c2cf
fix(testing): handle trailing commas in 14.0.0 migration (#12837) 2022-10-26 18:28:34 +00:00
Caleb Ukle
53c859842d
fix(testing): make sure jest-environment-dom is always installed (#12747) 2022-10-21 10:13:35 -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
834e2db7cb
feat(core): prefix outputs and warn on non-prefixed outputs (#12470) 2022-10-11 21:54:25 +00:00
Jason Jean
49c5e5069b
feat(core): migrate existing workspaces to use inputs configuration (#12416) 2022-10-05 22:30:03 +00:00
Craigory Coppola
9b63ce167a
feat(core): don't generate workspace.json for v2 workspaces (#12127) 2022-09-27 23:16:22 +00:00
Caleb Ukle
db3660a839
docs(testing): add jest example docs (#12210) 2022-09-23 20:09:41 +00:00
Richard Roozenboom
a088cf0d73
chore(testing): update migration to read all project configuration at once (#12052) 2022-09-22 19:01:57 -04:00
Konstantin Azizov
fc73d036ec
fix(testing): improve return type of getJestProjects (#12040) 2022-09-20 13:49:54 +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
ee8ba2de57
feat(misc): remove unused dependencies from packages (#11986) 2022-09-13 08:27:07 -04:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04:00
Isaac Mann
e717660102
docs(nx-dev): diataxis restructure (#11649)
* docs(nxdev): restructure docs to diataxis style

* docs(nxdev): cleanup

* docs(nxdev): fix links

* chore(nxdev): format

* docs(nxdev): fix broken images

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): tweaks

* docs(nxdev): redirect rules

* docs(nxdev): fixes
2022-08-29 08:36:55 -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
Caleb Ukle
657b2bff5a
feat(testing): support jest 28 (#10857)
* feat(testing): support jest 28

WIP jest migration

* fix(testing): jest-environment-jsdom must be explicitly added now

* fix(testing): add rxjs to the transform lsit

* fix(testing): jest ts-jest updates and resolver issues

* feat(testing): remove test runner for react native jest

* feat(testing): add preprocessor for react native jest

* fix(testing): update query to handle tsx file syntax, remove rxjs transform

* chore(repo): remove file from accident commit

* chore(testing): update migration to target 14.6 for RN jest preprocessor

* fix(testing): call passed in packageFilter if preset

* docs(testing): add resolver env var to troubleshooting guide

* chore(repo): prep resolver for jest 28 migration

* fix(testing): update deps to handle esbuild-wasm service error

* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list

* fix(testing): force babel-jest preset in transformer for project transforms

* chore(testing): address PR feedback

* fix(testing): address pr feedback, remove react-native transform

* chore(testing): update createTreeWithEmptyWorkspace calls

* chore(testing): address pr feedback

* feat(testing): add migration script for react native to rename .babelrc to babel.config.json

* chore(testing): nx format after rebase

* chore(testing): fix display name for @nrwl/js

Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2022-08-18 18:40:31 -04: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
unpunnyfuns
95e579b0cf
fix(testing): restore setting for update-jestconfig (#11457)
Co-authored-by: Pål Nes <pal.nes@fotoware.com>
2022-08-05 13:07:03 -05:00
Caleb Ukle
acab64888d
fix(testing): install ts-node when migrating to ts jest config files (#11427) 2022-08-05 13:55:57 -04:00
Caleb Ukle
bd4e6ac323
fix(testing): exclude jest.config.ts in angular project tsconfigs (#11468) 2022-08-05 12:15:56 -05: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
96e84eea39
fix(misc): add dotenv as dependencies for plugins that import it (#11167) 2022-07-15 16:46:41 -04: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
Victor Savkin
6a65101ec2 feat(core): extend the default hasher to support different filesets 2022-06-21 11:21:42 -04:00
Craigory Coppola
15c04b099e
chore(repo): enable eslint plugin checks (#10666) 2022-06-09 18:04:06 -04:00
Jason Jean
26177d15af
fix(testing): fix ts-node migration version (#10578) 2022-06-03 21:55:07 +00:00
Leosvel Pérez Espinosa
eea2470619
feat(angular): support angular v14.0.0 (#10559) 2022-06-03 10:23:09 -04:00
Leosvel Pérez Espinosa
914f0ce707
feat(misc): update typescript to 4.7 (#10560) 2022-06-02 13:29:11 -04:00
Jason Jean
925a27bf64
fix(devkit): add options allow trailing commas for parsing json (#10538) 2022-06-01 13:13:24 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Caleb Ukle
36a71447c7
fix(testing): add tsquery as a dep for jest (#10454) 2022-05-24 16:57:42 +00:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default (#10035)
* fix(testing): jest.preset.ts => jest.preset.js

* fix(testing): update to export default

* fix(testing): migration for moving to export default

* fix(testing): add eslint ignore comments for jest config properties

fixes: #10021

* fix(testing): update tsconfig.spec.json for next apps with project parserOptions

fixes: #9982

* fix(testing): prevent renaming root jest preset

fixes: #9973

* fix(testing): update snapshots for export default

* fix(testing): bump migration version to run

* fix(testing): make sure default jest tests pass for various projects

* fix(js): generate correct jest config for --compiler=swc --js
2022-05-11 18:04:29 +00:00
Denis Frenademetz
5dc5429632
fix(testing): 14.0.0 jest migration errors when additional configurations are specified 2022-05-06 08:34:04 -05:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
5e23c07077
fix(core): automatically add root to the project.json projects (#9977)
* fix(core): automatically add root to the project.json projects

* chore(core): move project-configuration generator utils to nx package

* fix(core): add migrations to remove root
2022-04-28 13:24:35 -04:00
Craigory Coppola
99fcb7873e
feat(nx-plugin): add --includeHasher option to generate hasher boilerplate (#9891)
Co-authored-by: James Henry <james@henry.sc>
2022-04-27 12:44:48 -04:00
Enoyao
35d6f4da47
chore(core): use destructuring assignment (#9447)
* chore(core): use destructuring assignment

* chore(core): use destructuring assignment

* chore(core): use destructuring assignment

* chore(core): use destructuring assignment

* chore(core): use destructuring assignment
2022-04-26 17:24:54 -04:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00