Skip to content

Commit 17f4307

Browse files
committed
Merge branch 'master' into develop
2 parents b91e4e3 + 5198092 commit 17f4307

62 files changed

Lines changed: 548 additions & 2252 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

circle.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,18 +1853,13 @@ jobs:
18531853
- run:
18541854
name: Build + Install
18551855
command: |
1856-
yarn workspace @cypress/schematic build:all
1856+
yarn workspace @cypress/schematic build
18571857
working_directory: npm/cypress-schematic
18581858
- run:
18591859
name: Run unit tests
18601860
command: |
18611861
yarn test
18621862
working_directory: npm/cypress-schematic
1863-
- run:
1864-
name: Launch Sandbox and Install Schematic
1865-
command: |
1866-
yarn launch:test12
1867-
working_directory: npm/cypress-schematic
18681863
- store-npm-logs
18691864

18701865
npm-release:

npm/angular/CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# @cypress/angular-v1.0.0 (2022-08-04)
2+
3+
4+
### Bug Fixes
5+
6+
* **angular:** set rxjs versions > 6.6.0 as dependency ([#16676](https://github.com/cypress-io/cypress/issues/16676)) ([46de81e](https://github.com/cypress-io/cypress/commit/46de81e75fd18bc37cb884e9a751106fff4d08ad))
7+
* scaffold correct config file ([#19776](https://github.com/cypress-io/cypress/issues/19776)) ([8f32960](https://github.com/cypress-io/cypress/commit/8f32960ef803f539f065d41f01fff33bfe33ed5d))
8+
* scope config to current testing type ([#20677](https://github.com/cypress-io/cypress/issues/20677)) ([61f7cfc](https://github.com/cypress-io/cypress/commit/61f7cfc59284a2938e0a1c15d74ee75215ba5f8b))
9+
* terminal error message for non migrated config ([#21467](https://github.com/cypress-io/cypress/issues/21467)) ([3274da7](https://github.com/cypress-io/cypress/commit/3274da7842f5ef1ddad62b1c630d0ff9120e4289))
10+
* update scaffold template to use correct path ([#20047](https://github.com/cypress-io/cypress/issues/20047)) ([6e80359](https://github.com/cypress-io/cypress/commit/6e803597a379222cf936e5977c8314d693ee1912))
11+
12+
13+
### Features
14+
15+
* add devServer to config file ([#18962](https://github.com/cypress-io/cypress/issues/18962)) ([2573375](https://github.com/cypress-io/cypress/commit/2573375b5b6616efd2d213a94cd55fd8e0385864))
16+
* **angular:** angular mount ([#22858](https://github.com/cypress-io/cypress/issues/22858)) ([4131b1f](https://github.com/cypress-io/cypress/commit/4131b1fa8482ae08113bef337965baa1ac12f66c))
17+
* Deprecate run-ct / open-ct, and update all examples to use --ct instead ([#18422](https://github.com/cypress-io/cypress/issues/18422)) ([196e8f6](https://github.com/cypress-io/cypress/commit/196e8f62cc6d27974f235945cb5700624b3dae41))
18+
* ProjectLifecycleManager & general launchpad cleanup ([#19347](https://github.com/cypress-io/cypress/issues/19347)) ([4626f74](https://github.com/cypress-io/cypress/commit/4626f7481c9904fec484aa167a02e0197a3095c4))
19+
* remove testFiles reference ([#20565](https://github.com/cypress-io/cypress/issues/20565)) ([5670344](https://github.com/cypress-io/cypress/commit/567034459089d9d53dfab5556cb9369fb335c3db))
20+
* support specPattern, deprecate integrationFolder and componentFolder ([#19319](https://github.com/cypress-io/cypress/issues/19319)) ([792980a](https://github.com/cypress-io/cypress/commit/792980ac12746ef47b9c944ebe4c6c353a187ab2))
21+
* support webpack-dev-server v4 ([#17918](https://github.com/cypress-io/cypress/issues/17918)) ([16e4759](https://github.com/cypress-io/cypress/commit/16e4759e0196f68c5f0525efb020211337748f94))
22+
* swap the #__cy_root id selector to become data-cy-root for component mounting ([#20951](https://github.com/cypress-io/cypress/issues/20951)) ([0e7b555](https://github.com/cypress-io/cypress/commit/0e7b555f93fb403f431c5de4a07ae7ad6ac89ba2))
23+
* Use .config files ([#18578](https://github.com/cypress-io/cypress/issues/18578)) ([081dd19](https://github.com/cypress-io/cypress/commit/081dd19cc6da3da229a7af9c84f62730c85a5cd6))
24+
* use devServer instad of startDevServer ([#20092](https://github.com/cypress-io/cypress/issues/20092)) ([8a6768f](https://github.com/cypress-io/cypress/commit/8a6768fee6f46b908c5a9daf23da8b804a6c627f))
25+
* use hoisted yarn install in binary build ([#17285](https://github.com/cypress-io/cypress/issues/17285)) ([e4f5b10](https://github.com/cypress-io/cypress/commit/e4f5b106d49d6ac0857c5fdac886f83b99558c88))
26+
* Use plugins on config files ([#18798](https://github.com/cypress-io/cypress/issues/18798)) ([bb8251b](https://github.com/cypress-io/cypress/commit/bb8251b752ac44f1184f9160194cf12d41fc867f))
27+
* use supportFile by testingType ([#19364](https://github.com/cypress-io/cypress/issues/19364)) ([0366d4f](https://github.com/cypress-io/cypress/commit/0366d4fa8971e5e5189c6fd6450cc3c8d72dcfe1))
28+
29+
# @cypress/angular-v1.0.0 (2022-08-04)
30+
31+
32+
### Bug Fixes
33+
34+
* **angular:** set rxjs versions > 6.6.0 as dependency ([#16676](https://github.com/cypress-io/cypress/issues/16676)) ([46de81e](https://github.com/cypress-io/cypress/commit/46de81e75fd18bc37cb884e9a751106fff4d08ad))
35+
* scaffold correct config file ([#19776](https://github.com/cypress-io/cypress/issues/19776)) ([8f32960](https://github.com/cypress-io/cypress/commit/8f32960ef803f539f065d41f01fff33bfe33ed5d))
36+
* scope config to current testing type ([#20677](https://github.com/cypress-io/cypress/issues/20677)) ([61f7cfc](https://github.com/cypress-io/cypress/commit/61f7cfc59284a2938e0a1c15d74ee75215ba5f8b))
37+
* terminal error message for non migrated config ([#21467](https://github.com/cypress-io/cypress/issues/21467)) ([3274da7](https://github.com/cypress-io/cypress/commit/3274da7842f5ef1ddad62b1c630d0ff9120e4289))
38+
* update scaffold template to use correct path ([#20047](https://github.com/cypress-io/cypress/issues/20047)) ([6e80359](https://github.com/cypress-io/cypress/commit/6e803597a379222cf936e5977c8314d693ee1912))
39+
40+
41+
### Features
42+
43+
* add devServer to config file ([#18962](https://github.com/cypress-io/cypress/issues/18962)) ([2573375](https://github.com/cypress-io/cypress/commit/2573375b5b6616efd2d213a94cd55fd8e0385864))
44+
* **angular:** angular mount ([#22858](https://github.com/cypress-io/cypress/issues/22858)) ([4131b1f](https://github.com/cypress-io/cypress/commit/4131b1fa8482ae08113bef337965baa1ac12f66c))
45+
* Deprecate run-ct / open-ct, and update all examples to use --ct instead ([#18422](https://github.com/cypress-io/cypress/issues/18422)) ([196e8f6](https://github.com/cypress-io/cypress/commit/196e8f62cc6d27974f235945cb5700624b3dae41))
46+
* ProjectLifecycleManager & general launchpad cleanup ([#19347](https://github.com/cypress-io/cypress/issues/19347)) ([4626f74](https://github.com/cypress-io/cypress/commit/4626f7481c9904fec484aa167a02e0197a3095c4))
47+
* remove testFiles reference ([#20565](https://github.com/cypress-io/cypress/issues/20565)) ([5670344](https://github.com/cypress-io/cypress/commit/567034459089d9d53dfab5556cb9369fb335c3db))
48+
* support specPattern, deprecate integrationFolder and componentFolder ([#19319](https://github.com/cypress-io/cypress/issues/19319)) ([792980a](https://github.com/cypress-io/cypress/commit/792980ac12746ef47b9c944ebe4c6c353a187ab2))
49+
* support webpack-dev-server v4 ([#17918](https://github.com/cypress-io/cypress/issues/17918)) ([16e4759](https://github.com/cypress-io/cypress/commit/16e4759e0196f68c5f0525efb020211337748f94))
50+
* swap the #__cy_root id selector to become data-cy-root for component mounting ([#20951](https://github.com/cypress-io/cypress/issues/20951)) ([0e7b555](https://github.com/cypress-io/cypress/commit/0e7b555f93fb403f431c5de4a07ae7ad6ac89ba2))
51+
* Use .config files ([#18578](https://github.com/cypress-io/cypress/issues/18578)) ([081dd19](https://github.com/cypress-io/cypress/commit/081dd19cc6da3da229a7af9c84f62730c85a5cd6))
52+
* use devServer instad of startDevServer ([#20092](https://github.com/cypress-io/cypress/issues/20092)) ([8a6768f](https://github.com/cypress-io/cypress/commit/8a6768fee6f46b908c5a9daf23da8b804a6c627f))
53+
* use hoisted yarn install in binary build ([#17285](https://github.com/cypress-io/cypress/issues/17285)) ([e4f5b10](https://github.com/cypress-io/cypress/commit/e4f5b106d49d6ac0857c5fdac886f83b99558c88))
54+
* Use plugins on config files ([#18798](https://github.com/cypress-io/cypress/issues/18798)) ([bb8251b](https://github.com/cypress-io/cypress/commit/bb8251b752ac44f1184f9160194cf12d41fc867f))
55+
* use supportFile by testingType ([#19364](https://github.com/cypress-io/cypress/issues/19364)) ([0366d4f](https://github.com/cypress-io/cypress/commit/0366d4fa8971e5e5189c6fd6450cc3c8d72dcfe1))

npm/angular/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@cypress/angular",
33
"version": "0.0.0-development",
44
"description": "Test Angular Components using Cypress",
5+
"private": true,
56
"main": "dist/index.js",
67
"scripts": {
78
"prebuild": "rimraf dist",

npm/cypress-schematic/CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
# [@cypress/schematic-v2.0.2](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v2.0.1...@cypress/schematic-v2.0.2) (2022-08-10)
2+
3+
4+
### Bug Fixes
5+
6+
* use legacy-peer-deps for semantic-release process ([#23231](https://github.com/cypress-io/cypress/issues/23231)) ([1a354b2](https://github.com/cypress-io/cypress/commit/1a354b237563df7c7cc47e28733a9dd1aa44a0b8))
7+
8+
# [@cypress/schematic-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v2.0.0...@cypress/schematic-v2.0.1) (2022-08-09)
9+
10+
11+
### Bug Fixes
12+
13+
* **cypress/schematic:** add --e2e option. ensure binary is installed in Angular 14 ([#22922](https://github.com/cypress-io/cypress/issues/22922)) ([915859c](https://github.com/cypress-io/cypress/commit/915859c1a7e9546a040cacb21a15fc4d2ac98a73))
14+
* **cypress/schematic:** run configuration does not work anymore without baseUrl ([#21629](https://github.com/cypress-io/cypress/issues/21629)) ([3ed93e1](https://github.com/cypress-io/cypress/commit/3ed93e1dae8e540ab45cbbf4e3ff5e33630ff386))
15+
* cypress-schematic ci issue with @types/eslint ([#22636](https://github.com/cypress-io/cypress/issues/22636)) ([62199b7](https://github.com/cypress-io/cypress/commit/62199b7379cbf600f045f9a8508b7d15af4c4359))
16+
17+
# [@cypress/schematic-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v2.0.0...@cypress/schematic-v2.0.1) (2022-08-05)
18+
19+
20+
### Bug Fixes
21+
22+
* cypress-schematic ci issue with @types/eslint ([#22636](https://github.com/cypress-io/cypress/issues/22636)) ([62199b7](https://github.com/cypress-io/cypress/commit/62199b7379cbf600f045f9a8508b7d15af4c4359))
23+
* **cypress/schematic:** add --e2e option. ensure binary is installed in Angular 14 ([#22922](https://github.com/cypress-io/cypress/issues/22922)) ([915859c](https://github.com/cypress-io/cypress/commit/915859c1a7e9546a040cacb21a15fc4d2ac98a73))
24+
* **cypress/schematic:** run configuration does not work anymore without baseUrl ([#21629](https://github.com/cypress-io/cypress/issues/21629)) ([3ed93e1](https://github.com/cypress-io/cypress/commit/3ed93e1dae8e540ab45cbbf4e3ff5e33630ff386))
25+
26+
# [@cypress/schematic-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v2.0.0...@cypress/schematic-v2.0.1) (2022-08-05)
27+
28+
29+
### Bug Fixes
30+
31+
* cypress-schematic ci issue with @types/eslint ([#22636](https://github.com/cypress-io/cypress/issues/22636)) ([62199b7](https://github.com/cypress-io/cypress/commit/62199b7379cbf600f045f9a8508b7d15af4c4359))
32+
* **cypress/schematic:** add --e2e option. ensure binary is installed in Angular 14 ([#22922](https://github.com/cypress-io/cypress/issues/22922)) ([915859c](https://github.com/cypress-io/cypress/commit/915859c1a7e9546a040cacb21a15fc4d2ac98a73))
33+
* **cypress/schematic:** run configuration does not work anymore without baseUrl ([#21629](https://github.com/cypress-io/cypress/issues/21629)) ([3ed93e1](https://github.com/cypress-io/cypress/commit/3ed93e1dae8e540ab45cbbf4e3ff5e33630ff386))
34+
35+
# [@cypress/schematic-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v2.0.0...@cypress/schematic-v2.0.1) (2022-08-05)
36+
37+
38+
### Bug Fixes
39+
40+
* cypress-schematic ci issue with @types/eslint ([#22636](https://github.com/cypress-io/cypress/issues/22636)) ([62199b7](https://github.com/cypress-io/cypress/commit/62199b7379cbf600f045f9a8508b7d15af4c4359))
41+
* **cypress/schematic:** add --e2e option. ensure binary is installed in Angular 14 ([#22922](https://github.com/cypress-io/cypress/issues/22922)) ([915859c](https://github.com/cypress-io/cypress/commit/915859c1a7e9546a040cacb21a15fc4d2ac98a73))
42+
* **cypress/schematic:** run configuration does not work anymore without baseUrl ([#21629](https://github.com/cypress-io/cypress/issues/21629)) ([3ed93e1](https://github.com/cypress-io/cypress/commit/3ed93e1dae8e540ab45cbbf4e3ff5e33630ff386))
43+
44+
# [@cypress/schematic-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v2.0.0...@cypress/schematic-v2.0.1) (2022-08-05)
45+
46+
47+
### Bug Fixes
48+
49+
* cypress-schematic ci issue with @types/eslint ([#22636](https://github.com/cypress-io/cypress/issues/22636)) ([62199b7](https://github.com/cypress-io/cypress/commit/62199b7379cbf600f045f9a8508b7d15af4c4359))
50+
* **cypress/schematic:** add --e2e option. ensure binary is installed in Angular 14 ([#22922](https://github.com/cypress-io/cypress/issues/22922)) ([915859c](https://github.com/cypress-io/cypress/commit/915859c1a7e9546a040cacb21a15fc4d2ac98a73))
51+
* **cypress/schematic:** run configuration does not work anymore without baseUrl ([#21629](https://github.com/cypress-io/cypress/issues/21629)) ([3ed93e1](https://github.com/cypress-io/cypress/commit/3ed93e1dae8e540ab45cbbf4e3ff5e33630ff386))
52+
153
# [@cypress/schematic-v2.0.1](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v2.0.0...@cypress/schematic-v2.0.1) (2022-07-25)
254

355

npm/cypress-schematic/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To generate new e2e spec files:
6161

6262
```shell script
6363
ng generate @cypress/schematic:e2e
64-
```
64+
```
6565

6666
## Builder Options 🛠
6767

npm/cypress-schematic/package.json

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,30 @@
55
"main": "./src",
66
"scripts": {
77
"build": "tsc -p tsconfig.json",
8-
"build:test": "tsc -p tsconfig.spec.json",
9-
"build:all": "tsc -p tsconfig.json && tsc -p tsconfig.spec.json",
108
"build:watch": "tsc -p tsconfig.json --watch",
11-
"clean12": "git checkout HEAD -- sandbox12 && git clean -f -d sandbox12",
12-
"launch12": "yarn link:sandbox12 && cd sandbox12 && ng add @cypress/schematic && cd ..",
13-
"launch:test12": "yarn link:sandbox12 && cd sandbox12 && ng add @cypress/schematic --e2eUpdate && cd ..",
14-
"link:sandbox12": "yarn link && cd sandbox12 && yarn link @cypress/schematic",
15-
"test": "mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json src/**/*.spec.ts",
16-
"test:e2e:sandbox12": "cd sandbox12 && ng run sandbox:cypress-run",
17-
"unlink:sandbox12": "cd sandbox12 && yarn unlink @cypress/schematic && cd .. && yarn unlink"
9+
"test": "mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json src/**/*.spec.ts"
1810
},
1911
"dependencies": {
20-
"@angular-devkit/architect": "^0.1202.10",
21-
"@angular-devkit/core": "^12.2.17",
22-
"@angular-devkit/schematics": "^12.2.17",
23-
"@schematics/angular": "^12.2.17",
12+
"@angular-devkit/architect": "^0.1401.0",
13+
"@angular-devkit/core": "^14.1.0",
14+
"@angular-devkit/schematics": "^14.1.0",
15+
"@schematics/angular": "^14.1.0",
2416
"jsonc-parser": "^3.0.0",
2517
"rxjs": "~6.6.0"
2618
},
2719
"devDependencies": {
28-
"@angular-devkit/schematics-cli": "^12.2.17",
29-
"@angular/cli": "^12.2.17",
20+
"@angular-devkit/schematics-cli": "^14.1.0",
21+
"@angular/cli": "^14.1.0",
3022
"@types/chai-enzyme": "0.6.7",
3123
"@types/mocha": "8.0.3",
32-
"@types/node": "^12.11.1",
24+
"@types/node": "^18.0.6",
3325
"chai": "4.2.0",
34-
"cypress": "0.0.0-development",
3526
"mocha": "3.5.3",
36-
"typescript": "~4.2.4"
27+
"typescript": "~4.2.3"
3728
},
3829
"peerDependencies": {
39-
"@angular/cli": ">=12",
40-
"@angular/core": ">=12"
30+
"@angular/cli": ">=14.1.0",
31+
"@angular/core": ">=14.1.0"
4132
},
4233
"license": "MIT",
4334
"repository": {

npm/cypress-schematic/sandbox12/.browserslistrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

npm/cypress-schematic/sandbox12/.editorconfig

Lines changed: 0 additions & 16 deletions
This file was deleted.

npm/cypress-schematic/sandbox12/.gitignore

Lines changed: 0 additions & 45 deletions
This file was deleted.

npm/cypress-schematic/sandbox12/README.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)