@company-semantics/contracts 0.0.6 → 0.0.9
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/index.ts +4 -1
- package/package.json +19 -1
package/index.ts
CHANGED
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
* until they are proven stable.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Intent categories - the semantic "what kind of concern"
|
|
14
|
+
* @see LANGUAGE_INVARIANTS.md for language-level invariants
|
|
15
|
+
*/
|
|
13
16
|
export type IntentCategory = 'safety' | 'privacy' | 'correctness' | 'cost'
|
|
14
17
|
|
|
15
18
|
// Confidence levels - shared vocabulary for certainty
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@company-semantics/contracts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,5 +19,23 @@
|
|
|
19
19
|
],
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
|
+
"lint:md": "markdownlint-cli2 '**/*.md' '#node_modules'",
|
|
26
|
+
"lint:json": "node -e \"JSON.parse(require('fs').readFileSync('package.json'))\"",
|
|
27
|
+
"prepare": "husky"
|
|
28
|
+
},
|
|
29
|
+
"packageManager": "pnpm@10.25.0",
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"husky": "^9",
|
|
32
|
+
"lint-staged": "^15",
|
|
33
|
+
"markdownlint-cli2": "^0.17",
|
|
34
|
+
"typescript": "^5"
|
|
35
|
+
},
|
|
36
|
+
"lint-staged": {
|
|
37
|
+
"*.ts": "tsc --noEmit",
|
|
38
|
+
"*.md": "markdownlint-cli2",
|
|
39
|
+
"package.json": "node -e \"JSON.parse(require('fs').readFileSync('package.json'))\""
|
|
22
40
|
}
|
|
23
41
|
}
|