Jason Jean
4a55ee9a33
fix(js): run prettier with default options when theres no prettierrc ( #15888 )
2023-03-27 18:00:24 -04:00
Leosvel Pérez Espinosa
20434787a3
cleanup(misc): remove internal rootProject flag from generators that can derive it ( #15834 )
2023-03-24 13:54:49 +00:00
Caleb Ukle
1bca34777a
fix(testing): use es2016 for jest-preset-angular projects ( #15646 )
2023-03-17 10:32:30 -04:00
Colum Ferry
c3a58e9c1d
feat(core): move forEachExecutorOptions to devkit ( #15547 )
2023-03-10 17:04:10 +00:00
Colum Ferry
98001cc489
cleanup(core): move ast utils to js ( #15540 )
2023-03-08 18:30:29 -05:00
Colum Ferry
8744698a01
feat(devkit): move runTasksInSerial to devkit ( #15467 )
2023-03-06 13:55:44 -05:00
Leosvel Pérez Espinosa
5e12d053a9
fix(testing): fix generated testMatch pattern in jest config to support windows ( #15415 )
2023-03-03 13:30:32 -05:00
Caleb Ukle
2d2804b0c1
fix(testing): only install dependency for the desired --testEnvironment ( #15244 )
2023-02-28 16:38:01 -05:00
Caleb Ukle
8c7a27f3da
fix(testing): use root preset for snapshot config changes first ( #15237 )
2023-02-24 12:11:31 -06:00
Caleb Ukle
8a97b43eb1
feat(testing): jest 29 support ( #14701 )
2023-02-23 14:30:47 -06:00
Jason Jean
fa6e8ea987
fix(js): refactor ensurePackage ( #15074 )
2023-02-22 18:47:40 -05:00
Emily Xiong
a97212b601
feat(core): move tsconfig.base.json to @nrwl/js:init ( #14467 )
2023-02-16 11:17:30 -05:00
Emily Xiong
032efc2cfb
fix(angular): ensure peer deps are installed when initializing the plugin ( #14906 )
...
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-02-14 11:07:51 -05:00
Caleb Ukle
0f15c140fe
fix(testing): jest batch mode improvements ( #13744 )
2023-01-27 17:23:56 +00:00
Jonathan Roth
d9c27a1706
feat(testing): allow updating jest config nested keys with dots ( #13894 )
2023-01-25 10:21:07 -06:00
Jack Hsu
d7536aa7e3
feat(core): clean up workspace configuration code
2023-01-23 19:35:15 -05:00
Jack Hsu
5e11adbba4
feat(js): move babel preset to @nrwl/js/babel so @nrwl/web is not… ( #14478 )
2023-01-23 15:32:07 +00:00
Caleb Ukle
ef3d5de759
docs(testing): add x-priority to jest package ( #14252 )
2023-01-23 09:29:13 -06:00
Daniel Schuba
41a9bc18fd
feat(misc): move ci options to configuration ( #14215 )
...
CLOSED https://github.com/nrwl/nx/issues/12045
Fixes https://github.com/nrwl/nx/issues/12045
2023-01-23 08:42:21 -06:00
Victor Berchet
da4e2a5a6b
fix(testing): do not add a duplicate tsconfig.spec.json ref ( #14201 )
2023-01-09 11:16:24 -05:00
Victor Savkin
422c8c735a
cleanup(core): clearly split nx.json config and projects config
2023-01-05 15:35:36 -05:00
Caleb Ukle
8c014f0d48
docs(testing): add deprecation messages for Jest/Cypress ( #14137 )
2023-01-04 10:33:04 -06:00
Victor Savkin
34d861d234
fix(testing): preserve the old coverage layout
2022-12-11 14:47:16 -05:00
Victor Savkin
40b39b2e64
fix(core): remove leading ./ when normalizing root project outputs
2022-12-10 15:53:25 -05:00
Jason Jean
61d7d74378
fix(misc): fix tsconfig file includes
2022-12-05 10:39:03 -05:00
Jason Jean
804fb19291
fix(testing): fix jest paths for root directory ( #13520 )
2022-11-30 20:51:38 +00:00
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
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
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
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
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
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