-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issues/4486
- Loading branch information
Showing
229 changed files
with
87,051 additions
and
59,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ version: 2.1 | |
parameters: | ||
lockindex: | ||
type: string | ||
default: '0' | ||
default: '1' | ||
|
||
orbs: | ||
windows: circleci/[email protected] | ||
|
||
executors: | ||
core: | ||
docker: | ||
- image: satantime/puppeteer-node:20.9.0 | ||
- image: satantime/puppeteer-node:20.15.1 | ||
resource_class: medium | ||
a5: | ||
docker: | ||
|
@@ -59,11 +59,15 @@ executors: | |
resource_class: medium | ||
a16: | ||
docker: | ||
- image: satantime/puppeteer-node:18.18.2 | ||
- image: satantime/puppeteer-node:18.20.3 | ||
resource_class: medium | ||
a17: | ||
docker: | ||
- image: satantime/puppeteer-node:20.9.0 | ||
- image: satantime/puppeteer-node:20.15.1 | ||
resource_class: medium | ||
a18: | ||
docker: | ||
- image: satantime/puppeteer-node:20.15.1 | ||
resource_class: medium | ||
|
||
commands: | ||
|
@@ -75,15 +79,18 @@ commands: | |
steps: | ||
- checkout | ||
- restore_cache: | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package.json" }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
- run: | ||
name: NPM Install | ||
command: | | ||
md5sum e2e/<< parameters.dir >>/package-lock.json > package.md5 | ||
if [ ! -d "e2e/<< parameters.dir >>/node_modules/" ]; then | ||
npm run i:ci:<< parameters.dir >> | ||
fi | ||
md5sum -c package.md5 | ||
rm package.md5 | ||
- save_cache: | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package.json" }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
paths: | ||
- ./e2e/<< parameters.dir >>/node_modules | ||
- ~/.cache/puppeteer | ||
|
@@ -108,7 +115,7 @@ commands: | |
- attach_workspace: | ||
at: dist | ||
- restore_cache: | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package.json" }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
- run: | ||
name: Spreading Build | ||
command: npm run s:<< parameters.dir >> | ||
|
@@ -131,7 +138,7 @@ commands: | |
- attach_workspace: | ||
at: dist | ||
- restore_cache: | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
key: << parameters.dir >>-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/<< parameters.dir >>/package.json" }}-{{ checksum "e2e/<< parameters.dir >>/package-lock.json" }} | ||
- run: | ||
name: Spreading Build | ||
command: npm run s:<< parameters.dir >> | ||
|
@@ -148,15 +155,18 @@ jobs: | |
steps: | ||
- checkout | ||
- restore_cache: | ||
key: root-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "package-lock.json" }} | ||
key: root-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Install | ||
command: | | ||
md5sum package-lock.json > package.md5 | ||
if [ ! -d "./node_modules/" ]; then | ||
npm ci | ||
fi | ||
md5sum -c package.md5 | ||
rm package.md5 | ||
- save_cache: | ||
key: root-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "package-lock.json" }} | ||
key: root-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }} | ||
paths: | ||
- ./node_modules | ||
- ~/.cache/puppeteer | ||
|
@@ -234,15 +244,18 @@ jobs: | |
steps: | ||
- checkout | ||
- restore_cache: | ||
key: tests-e2e-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "tests-e2e/package-lock.json" }} | ||
key: tests-e2e-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "tests-e2e/package.json" }}-{{ checksum "tests-e2e/package-lock.json" }} | ||
- run: | ||
name: NPM Install | ||
command: | | ||
md5sum tests-e2e/package-lock.json > package.md5 | ||
if [ ! -d "./tests-e2e/node_modules/" ]; then | ||
npm run i:tests-e2e | ||
fi | ||
md5sum -c package.md5 | ||
rm package.md5 | ||
- save_cache: | ||
key: tests-e2e-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "tests-e2e/package-lock.json" }} | ||
key: tests-e2e-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "tests-e2e/package.json" }}-{{ checksum "tests-e2e/package-lock.json" }} | ||
paths: | ||
- ./tests-e2e/node_modules | ||
- ~/.cache/puppeteer | ||
|
@@ -266,15 +279,18 @@ jobs: | |
steps: | ||
- checkout | ||
- restore_cache: | ||
key: docs-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "docs/package-lock.json" }} | ||
key: docs-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "docs/package.json" }}-{{ checksum "docs/package-lock.json" }} | ||
- run: | ||
name: NPM Install | ||
command: | | ||
md5sum docs/package-lock.json > package.md5 | ||
if [ ! -d "./docs/node_modules/" ]; then | ||
npm run i:docs | ||
fi | ||
md5sum -c package.md5 | ||
rm package.md5 | ||
- save_cache: | ||
key: docs-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "docs/package-lock.json" }} | ||
key: docs-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "docs/package.json" }}-{{ checksum "docs/package-lock.json" }} | ||
paths: | ||
- ./docs/node_modules | ||
- ~/.cache/puppeteer | ||
|
@@ -298,7 +314,7 @@ jobs: | |
steps: | ||
- checkout | ||
- restore_cache: | ||
key: root-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "package-lock.json" }} | ||
key: root-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "package.json" }}-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: Default | ||
command: KARMA_SUITE=tests-performance/test.spec.ts npm run test | ||
|
@@ -346,7 +362,7 @@ jobs: | |
- attach_workspace: | ||
at: dist | ||
- restore_cache: | ||
key: a5es5-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/a5es5/package-lock.json" }} | ||
key: a5es5-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/a5es5/package.json" }}-{{ checksum "e2e/a5es5/package-lock.json" }} | ||
- run: nvm install $(cat e2e/a5es5/.nvmrc) | ||
- run: nvm use $(cat e2e/a5es5/.nvmrc) | ||
- run: | ||
|
@@ -355,11 +371,14 @@ jobs: | |
- run: | ||
name: NPM Install | ||
command: | | ||
md5sum e2e/a5es5/package-lock.json > package.md5 | ||
if [ ! -d "e2e/a5es5/node_modules/" ]; then | ||
npm run i:a5es5 | ||
fi | ||
md5sum -c package.md5 | ||
rm package.md5 | ||
- save_cache: | ||
key: a5es5-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/a5es5/package-lock.json" }} | ||
key: a5es5-<< pipeline.parameters.lockindex >>-{{ arch }}-{{ checksum "e2e/a5es5/package.json" }}-{{ checksum "e2e/a5es5/package-lock.json" }} | ||
paths: | ||
- ./e2e/a5es5/node_modules | ||
- ~/.cache/puppeteer | ||
|
@@ -602,6 +621,7 @@ workflows: | |
- a15 | ||
- a16 | ||
- a17 | ||
- a18 | ||
|
||
# testing a5 (exceptional) | ||
- E2E Test: | ||
|
@@ -680,6 +700,7 @@ workflows: | |
- a15 | ||
- a16 | ||
- a17 | ||
- a18 | ||
|
||
# testing lib build | ||
- Lib Build: | ||
|
@@ -705,6 +726,7 @@ workflows: | |
- a15 | ||
- a16 | ||
- a17 | ||
- a18 | ||
|
||
# testing lib build | ||
- Lib Build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Chat on gitter | ||
about: A good place for quick questions | ||
url: https://gitter.im/ng-mocks/community | ||
- name: Ask help on Stackoverflow | ||
about: In case if you have a well defined question or clear expectations with prepared code examples | ||
url: https://stackoverflow.com/questions/ask?tags=ng-mocks%20angular%20testing%20mocking | ||
- name: Ask a question | ||
about: In case if you DO NOT have a well defined question | ||
url: https://github.com/help-me-mom/ng-mocks/discussions/new | ||
- name: Chat on gitter | ||
about: A good place for quick questions | ||
url: https://gitter.im/ng-mocks/community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
git update-index --again | ||
git update-index --again |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged | ||
npm run lint | ||
npm run ts:check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run test | ||
npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.9.0 | ||
20.15.1 |
Oops, something went wrong.