@intentic/constants 1.311.0 → 1.312.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 +3 -3
- package/package.json +3 -3
- package/src/assertion-measure.mjs +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ flowchart LR
|
|
|
8
8
|
c -->|"index: browser-safe values"| web["Web app · public site"]
|
|
9
9
|
c -->|"index"| daemon["Daemon · platform api · CLIs"]
|
|
10
10
|
c -->|"./node: repoRoot"| scripts["Scripts, configs,<br/>dev servers"]
|
|
11
|
-
c -->|"plain .mjs tables"| gates["_tools/checks ·
|
|
11
|
+
c -->|"plain .mjs tables"| gates["_tools/checks · verify scripts<br/>daemon's own checks"]
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
- The index has no Node imports, so the web app and the public site bundle the same values the daemon reads.
|
|
@@ -17,8 +17,8 @@ flowchart LR
|
|
|
17
17
|
- `./node` holds `repoRoot` and `packageRoot`, which find the monorepo by walking up to `pnpm-workspace.yaml`
|
|
18
18
|
instead of counting `../..`. The `paths` check refuses counted roots.
|
|
19
19
|
- The `.mjs` modules (`control-bytes`, `contract-shrink`, `assertion-measure`, `mirror-roots`, `test-suites`,
|
|
20
|
-
`vocabulary`, `ci-infra-steps`) are plain JavaScript with `.d.mts` types, so the checks and the
|
|
21
|
-
them by path before any install or build, and the daemon applies the same rule from the same file.
|
|
20
|
+
`vocabulary`, `ci-infra-steps`) are plain JavaScript with `.d.mts` types, so the checks and the verify scripts
|
|
21
|
+
import them by path before any install or build, and the daemon applies the same rule from the same file.
|
|
22
22
|
- `WORKSPACE_ROOT` and `HISTORY_ROOT` are defaults only: a running daemon reads its real roots from config.
|
|
23
23
|
|
|
24
24
|
## Key files
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/constants",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.312.0",
|
|
4
4
|
"description": "Shared constants for the intentic packages, ports, paths, and image references the daemon, CLIs and desktop app all agree on",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@intentic/testing": "0.0.0",
|
|
71
71
|
"@intentic/tsconfig": "0.0.0",
|
|
72
|
-
"@types/bun": "1.4.
|
|
73
|
-
"@types/node": "24.13.
|
|
72
|
+
"@types/bun": "1.4.2",
|
|
73
|
+
"@types/node": "24.13.6",
|
|
74
74
|
"@typescript/native-preview": "7.0.0-dev.20260707.2"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Three numbers per test file (exact matchers, loose matchers, asserted-text characters) that flag a weaker second
|
|
2
|
-
// version;
|
|
3
|
-
// since the push
|
|
2
|
+
// version; read through assertion-ratchet.mjs by the push check, the check after each land and `pnpm verify:turn`, so
|
|
3
|
+
// all three agree. Regex over source, not an AST, since the push check runs before install.
|
|
4
4
|
|
|
5
5
|
// Asserted text that shrinks past this fraction of what it was, with no test removed, is a narrowing.
|
|
6
6
|
export const NARROWING = 0.75;
|