@cosyte/astm 0.0.21 → 0.1.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/CHANGELOG.md +411 -0
- package/README.md +558 -223
- package/dist/index.cjs +309 -64
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1054 -177
- package/dist/index.d.ts +1054 -177
- package/dist/index.mjs +301 -65
- package/dist/index.mjs.map +1 -1
- package/package.json +58 -31
package/package.json
CHANGED
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosyte/astm",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "ASTM parser, serializer, and builder for Node.js and TypeScript: lenient on parse, spec-clean on emit.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astm",
|
|
7
|
-
"
|
|
7
|
+
"astm-e1394",
|
|
8
|
+
"astm-e1381",
|
|
9
|
+
"lis02-a2",
|
|
10
|
+
"lis01-a2",
|
|
11
|
+
"clsi",
|
|
12
|
+
"lis",
|
|
13
|
+
"laboratory",
|
|
14
|
+
"lab-instrument",
|
|
15
|
+
"analyzer",
|
|
16
|
+
"loinc",
|
|
17
|
+
"livd",
|
|
8
18
|
"healthcare",
|
|
9
19
|
"interoperability",
|
|
10
|
-
"
|
|
11
|
-
"serializer"
|
|
20
|
+
"parser",
|
|
21
|
+
"serializer",
|
|
22
|
+
"builder",
|
|
23
|
+
"typescript"
|
|
12
24
|
],
|
|
13
|
-
"homepage": "https://
|
|
25
|
+
"homepage": "https://docs.cosyte.com/astm",
|
|
14
26
|
"bugs": {
|
|
15
27
|
"url": "https://github.com/cosyte/astm/issues"
|
|
16
28
|
},
|
|
@@ -24,6 +36,13 @@
|
|
|
24
36
|
"engines": {
|
|
25
37
|
"node": ">=22.0.0"
|
|
26
38
|
},
|
|
39
|
+
"packageManager": "pnpm@10.34.5",
|
|
40
|
+
"pnpm": {
|
|
41
|
+
"overrides": {
|
|
42
|
+
"esbuild@>=0.27.3 <0.28.1": "0.28.1",
|
|
43
|
+
"js-yaml@>=4.0.0 <4.3.0": "4.3.0"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
27
46
|
"main": "./dist/index.cjs",
|
|
28
47
|
"module": "./dist/index.mjs",
|
|
29
48
|
"types": "./dist/index.d.ts",
|
|
@@ -52,6 +71,38 @@
|
|
|
52
71
|
"provenance": true
|
|
53
72
|
},
|
|
54
73
|
"prettier": "@cosyte/prettier-config",
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "tsup",
|
|
76
|
+
"changeset": "changeset",
|
|
77
|
+
"typecheck": "tsc --noEmit",
|
|
78
|
+
"phi-scan": "tsx scripts/phi-scan.ts",
|
|
79
|
+
"check": "pnpm run check:gate-coverage && pnpm run check:agent-notes && pnpm run check:dependency-inventory",
|
|
80
|
+
"check:agent-notes": "tsx scripts/check-agent-notes.ts",
|
|
81
|
+
"check:dependency-inventory": "tsx scripts/check-dependency-inventory.ts",
|
|
82
|
+
"check:gate-coverage": "tsx scripts/check-gate-coverage.ts",
|
|
83
|
+
"check:no-emdash": "bash scripts/check-no-emdash.sh",
|
|
84
|
+
"check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
|
|
85
|
+
"lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
|
|
86
|
+
"lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
|
|
87
|
+
"format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"docs-content/**/*.{md,json}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
|
|
88
|
+
"format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"docs-content/**/*.{md,json}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
|
|
89
|
+
"test": "vitest run",
|
|
90
|
+
"test:watch": "vitest",
|
|
91
|
+
"test:coverage": "vitest run --coverage",
|
|
92
|
+
"test:fuzz": "vitest run test/property/frames-fuzz.property.test.ts test/property/records-fuzz.property.test.ts",
|
|
93
|
+
"examples": "tsx scripts/run-examples.ts",
|
|
94
|
+
"typecheck:examples": "tsc -p examples/tsconfig.json",
|
|
95
|
+
"lint:examples": "eslint examples --max-warnings=0",
|
|
96
|
+
"phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts examples/data/*",
|
|
97
|
+
"clean": "rm -rf dist coverage",
|
|
98
|
+
"pack:docs": "bash scripts/build-docs-artifacts.sh",
|
|
99
|
+
"attw": "node scripts/attw.mjs",
|
|
100
|
+
"smoke": "node scripts/smoke.mjs",
|
|
101
|
+
"version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/index.ts",
|
|
102
|
+
"release": "changeset publish",
|
|
103
|
+
"prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw && pnpm check:dependency-inventory",
|
|
104
|
+
"prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks || true"
|
|
105
|
+
},
|
|
55
106
|
"simple-git-hooks": {
|
|
56
107
|
"pre-commit": "pnpm phi-scan --staged"
|
|
57
108
|
},
|
|
@@ -76,29 +127,5 @@
|
|
|
76
127
|
"vite": "7.3.6",
|
|
77
128
|
"vitest": "4.1.4"
|
|
78
129
|
},
|
|
79
|
-
"dependencies": {}
|
|
80
|
-
|
|
81
|
-
"build": "tsup",
|
|
82
|
-
"changeset": "changeset",
|
|
83
|
-
"typecheck": "tsc --noEmit",
|
|
84
|
-
"phi-scan": "tsx scripts/phi-scan.ts",
|
|
85
|
-
"check": "pnpm run check:gate-coverage",
|
|
86
|
-
"check:gate-coverage": "tsx scripts/check-gate-coverage.ts",
|
|
87
|
-
"check:no-emdash": "bash scripts/check-no-emdash.sh",
|
|
88
|
-
"check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
|
|
89
|
-
"lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
|
|
90
|
-
"lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
|
|
91
|
-
"format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"docs-content/**/*.{md,json}\" \"*.{json,md,yml}\"",
|
|
92
|
-
"format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"docs-content/**/*.{md,json}\" \"*.{json,md,yml}\"",
|
|
93
|
-
"test": "vitest run",
|
|
94
|
-
"test:watch": "vitest",
|
|
95
|
-
"test:coverage": "vitest run --coverage",
|
|
96
|
-
"test:fuzz": "vitest run test/property/frames-fuzz.property.test.ts test/property/records-fuzz.property.test.ts",
|
|
97
|
-
"clean": "rm -rf dist coverage",
|
|
98
|
-
"pack:docs": "bash scripts/build-docs-artifacts.sh",
|
|
99
|
-
"attw": "node scripts/attw.mjs",
|
|
100
|
-
"smoke": "node scripts/smoke.mjs",
|
|
101
|
-
"version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/index.ts",
|
|
102
|
-
"release": "changeset publish"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
130
|
+
"dependencies": {}
|
|
131
|
+
}
|