Skip to content

Commit fc7ebff

Browse files
authored
chore(lock): syncing lock files (#13176)
2 parents acf55cd + 16a6842 commit fc7ebff

15 files changed

Lines changed: 1242 additions & 1066 deletions

AGENTS.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,24 @@
33
## Scope
44

55
This file documents practical rules for contributors/agents working on `ng-mocks`, especially Angular/e2e integration updates.
6+
The library has many projects for integrational testing, the projects are in `e2e` and in `tests-e2e` directories.
7+
The library a project with documentation in `docs`.
68

79
## Required Test Execution
810

911
- Use Docker wrappers from repo root:
1012
- `sh compose.sh <target>` for dependency/bootstrap setup.
1113
- `sh test.sh <target>` for tests.
12-
- For `tests-e2e`, always run tests via Docker:
13-
- `sh test.sh e2e`
14-
- Do **not** run e2e via local `npm run test`.
14+
- **NEVER** run tests via local `npm`.
1515

16-
## e2e / Angular Major Upgrade Workflow
16+
## Update all package-lock.json
17+
18+
- Temporarily change `compose.yml` line from `npm install` to `npm update`.
19+
- Run `sh compose.sh` to update dependencies to fresh possible versions.
20+
- Restore `compose.yml` to have `npm install` back.
21+
- Run `sh compose.sh` to sync lock file for CI/CD.
22+
23+
## Angular Major Version Upgrade Workflow
1724

1825
- Update versions explicitly in `tests-e2e/package.json` (Angular + third-party libs).
1926
- Keep lock files; do **not** delete them.

docs/package-lock.json

Lines changed: 109 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/a14/package-lock.json

Lines changed: 30 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/a15/package-lock.json

Lines changed: 30 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/a16/package-lock.json

Lines changed: 15 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)