46 Commits

Author SHA1 Message Date
MaxKless
59f696c85b
cleanup(misc): remove outdated run-e2e-tests targets (#18147) 2023-07-17 15:05:39 -04:00
Jack Hsu
a19fbb1ddb
feat(js): add preset for TS standalone workspace (#17467) 2023-06-13 14:32:06 -04:00
Jack Hsu
8d5ef222cc
feat(testing): add support for additional environment options when generating vite config (#17560) 2023-06-13 13:30:52 -04:00
Emily Xiong
075ac2545d
chore(repo): change e2e to use verdaccio executor (#17347) 2023-06-07 12:26:43 -04:00
Jason Jean
a0d18bb588
chore(repo): replace references to @nrwl in e2e tests (#16441) 2023-04-24 18:48:44 -04:00
Miroslav Jonaš
2dd59c3b57
feat(core): extract js related code from affected and hasher (#16244) 2023-04-18 10:42:05 -04:00
Miroslav Jonaš
cafb49ac84
feat(core): remove @nrwl/workspace:lib (#16122) 2023-04-12 15:28:09 -04:00
Jason Jean
92610fe4b6
chore(repo): update nx to 15.8.0-beta.7 (#15293) 2023-02-27 17:24:06 -05:00
Jason Jean
84fedf36e0
Revert "chore(repo): update nx to 15.8.0-beta.6" (#15274) 2023-02-26 12:39:15 -05:00
Jason Jean
3c50474f40
chore(repo): update nx to 15.8.0-beta.6 (#15247) 2023-02-26 02:26:53 -05:00
Colum Ferry
576bec2553
chore(misc): fix failing test (#15131) 2023-02-20 12:36:04 -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
Colum Ferry
fe6ffa20d9
feat(angular): set angular devkit packages as peer deps (#14723) 2023-02-01 17:09:29 +00:00
Craigory Coppola
7992ec618f
chore(repo): setup negative config for several targets (#14080) 2023-01-04 11:34:50 -05:00
Jack Hsu
0eadfc81b1
fix(repo): fix failing e2e tests (#13855) 2022-12-15 14:46:44 -05:00
Victor Savkin
40b39b2e64 fix(core): remove leading ./ when normalizing root project outputs 2022-12-10 15:53:25 -05: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
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Victor Savkin
23de788b5e
chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04:00
Miroslav Jonaš
96be1f55fe
fix(testing): add cleanup on cypress e2e tests (#12089) 2022-09-19 19:22:07 +00:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -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
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
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files (#9854)
* feat(testing): move jest config to .ts

move jest config and preset to ts files

ISSUES CLOSED: #8344

* fix(testing): update tests for jest.config.ts changes

update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Caleb Ukle
b3d59bdcc5
docs(core): Add example of using global scripts for jest and nx libraries (#9483)
* docs(testing): add example on how to use ts path aliases within jest global setup/teardown

Jest global setup/teardown scripts run before path aliaes are mapped, so the path resigstration must
happen in the userland global scripts that are set to run
initially the thought of doing this within
the jest executor was thought, but this will provide an inconsistent way to running tests if the
tests are run via an editor plugin or calling `jest` directly; therefore, it's deferred to register
the paths within userland files that are needing the paths to be registered in order to allow for
proper handling (cleanup) and not to overcall unneeded features when global scripts are not in use
for those not using the feature.

ISSUES CLOSED: #8709

* cleanup(testing): test the usage of jest global scripts to ensure no regressions

streamline e2e jest project testing and update global tests to test global functions are working as
intended
2022-04-11 13:51:29 +00:00
Miroslav Jonaš
0a62f1f963
chore(repo): use npx on e2e ng calls to fix windows failures (#9078) 2022-02-22 13:34:47 +00:00
Caleb Ukle
baf44ad662
fix(testing): Create root babel config if one isn't present (#7816)
* fix(testing): create root babel config for babel-jest option

when creating a jest project with babel-jest a root babel.config.json file will be create if one

doesn't exist and babel deps install for allowing jest tests to run successfully

ISSUES CLOSED: #6782

* feat(testing): add migration for missing root babel config
2022-01-07 17:05:32 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -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
Miroslav Jonaš
051dc7ced4
chore(repo): enable node 15 and 16 in the nightly runs (#6708) 2021-08-13 16:41:15 +02:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Miroslav Jonaš
bb8d73fb3e
feat(repo): remove obsolete kill commands and check if ports closed (#5939) 2021-06-14 12:48:33 +02:00
vsavkin
d4e659c660 feat(repo): explicitly kill processes holding onto ports 2021-05-03 11:59:28 -04:00
Tasos Bekos
156e3c2c40 chore(repo): use jest-circus runner 2021-04-26 15:16:09 -04:00
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -04:00
Victor Savkin
4511ec65fb feat(web): add file-server builder 2020-11-17 19:31:08 -05:00
Jason Jean
6c4aacf212
feat(repo): update to nx 10.3 (#3840) 2020-10-02 13:12:34 -04:00
Tasos Bekos
8abc06d3af fix(testing): handle coverageRepoters for Jest through CLI 2020-09-03 11:07:06 -04:00
Victor Savkin
8d2a7dbc43 fix(repo): fix tsconfig to make editors resolve references 2020-07-22 15:13:24 -04:00
Victor Savkin
5d53661139 fix(repo): update the repo to nx 10 2020-07-16 16:18:00 -04:00
Victor Savkin
96a7f69d33 feat(core): add second way of capturing output 2020-06-15 16:55:35 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00