@ai-ecoverse/slicc-shared-web 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +6 -3
- package/pnpmfile.mjs +6 -0
package/README.md
CHANGED
|
@@ -11,6 +11,7 @@ Configuration shared by SLICC's web repos ([slicc-bios](https://github.com/ai-ec
|
|
|
11
11
|
| `lefthook.yml` | Pre-commit hooks: Biome, typecheck, no comments, no unit tests in git, AGENTS.md, diff coverage | `lefthook.yml`: `extends: [node_modules/@ai-ecoverse/slicc-shared-web/lefthook.yml]` |
|
|
12
12
|
| `mcr.config.mjs` | Unit-test coverage for JS and TS sources in `src/` (TS types are stripped first), written to `coverage/unit/lcov.info` | `test:unit`: `mcr -c node_modules/@ai-ecoverse/slicc-shared-web/mcr.config.mjs node --test 'test/unit/**/*.test.mjs'` |
|
|
13
13
|
| `bin/` | `slicc-lint` runs every check below plus Biome and, if the repo has one, `typecheck`. `slicc-lint-comments` runs the [slicc no-comment checker](https://github.com/ai-ecoverse/slicc/tree/main/packages/dev-tools/no-comment) at a pinned commit, allowing AGENTS.md. `slicc-agents-md`, `slicc-no-unit-tests` and `slicc-diff-cover` complete the set | `lint`: `slicc-lint`, and the hooks above |
|
|
14
|
+
| `pnpmfile.mjs` | pnpm's counterpart to the Renovate preset: an `updateConfig` hook that adds `@ai-ecoverse/*` to `minimumReleaseAgeExclude`, so pnpm 12 doesn't hold back our own fresh releases (`ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION`) while third-party packages keep its age check | in a repo with a pnpm lockfile, as a [config dependency](https://pnpm.io/config-dependencies) in `pnpm-workspace.yaml`: `configDependencies: { '@ai-ecoverse/slicc-shared-web': X.Y.Z }` plus `pnpmfile: node_modules/.pnpm-config/@ai-ecoverse/slicc-shared-web/pnpmfile.mjs` |
|
|
14
15
|
| `harness/` | The CDP integration-test harness, described [below](#integration-test-harness) | `import { launch } from '@ai-ecoverse/slicc-shared-web/harness'`, and `--test-global-setup=node_modules/@ai-ecoverse/slicc-shared-web/harness/global.mjs` |
|
|
15
16
|
|
|
16
17
|
Install it from npm, and pin the reusable workflow to the matching `vX.Y.Z` tag. Renovate keeps both current without the usual waiting period:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-shared-web",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Shared Renovate, Biome, TypeScript, lefthook and GitHub Actions configuration, plus the CDP integration-test harness, for SLICC's web repos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"./package.json": "./package.json",
|
|
29
29
|
"./mcr.config.mjs": "./mcr.config.mjs",
|
|
30
30
|
"./harness": "./harness/index.mjs",
|
|
31
|
-
"./harness/global": "./harness/global.mjs"
|
|
31
|
+
"./harness/global": "./harness/global.mjs",
|
|
32
|
+
"./pnpmfile.mjs": "./pnpmfile.mjs"
|
|
32
33
|
},
|
|
33
34
|
"bin": {
|
|
34
35
|
"slicc-agents-md": "bin/slicc-agents-md.sh",
|
|
@@ -44,7 +45,8 @@
|
|
|
44
45
|
"default.json",
|
|
45
46
|
"lefthook.yml",
|
|
46
47
|
"mcr.config.mjs",
|
|
47
|
-
"tsconfig.json"
|
|
48
|
+
"tsconfig.json",
|
|
49
|
+
"pnpmfile.mjs"
|
|
48
50
|
],
|
|
49
51
|
"scripts": {
|
|
50
52
|
"lint": "bin/slicc-lint.sh && shellcheck bin/*.sh",
|
|
@@ -59,6 +61,7 @@
|
|
|
59
61
|
"@biomejs/biome": "2.5.15",
|
|
60
62
|
"monocart-coverage-reports": "2.13.0",
|
|
61
63
|
"playwright-core": "1.63.0",
|
|
64
|
+
"pnpm": "12.9.1",
|
|
62
65
|
"semantic-release": "25.0.9"
|
|
63
66
|
},
|
|
64
67
|
"peerDependencies": {
|