@cosyte/cli 0.1.0 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosyte/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The cosyte CLI: a PHI-safe developer front door over the @cosyte/* healthcare parsers. Parse HL7 v2 / FHIR from a file or stdin to typed JSON, with a documented exit-code contract.",
5
5
  "keywords": [
6
6
  "cli",
@@ -37,7 +37,6 @@
37
37
  "engines": {
38
38
  "node": ">=22.0.0 <26.0.0"
39
39
  },
40
- "packageManager": "pnpm@10.34.5",
41
40
  "main": "./dist/index.cjs",
42
41
  "module": "./dist/index.mjs",
43
42
  "types": "./dist/index.d.ts",
@@ -76,45 +75,9 @@
76
75
  "provenance": true
77
76
  },
78
77
  "prettier": "@cosyte/prettier-config",
79
- "scripts": {
80
- "build": "tsup",
81
- "changeset": "changeset",
82
- "typecheck": "tsc --noEmit",
83
- "phi-scan": "tsx scripts/phi-scan.ts",
84
- "check:agent-notes": "tsx scripts/check-agent-notes.ts",
85
- "check:no-emdash": "bash scripts/check-no-emdash.sh",
86
- "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
87
- "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
88
- "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
89
- "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
90
- "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
91
- "test": "vitest run",
92
- "test:watch": "vitest",
93
- "test:coverage": "vitest run --coverage",
94
- "test:fuzz": "vitest run test/fuzz.property.test.ts",
95
- "smoke": "node scripts/smoke.mjs",
96
- "examples": "tsx scripts/run-examples.ts",
97
- "typecheck:examples": "tsc -p examples/tsconfig.json",
98
- "lint:examples": "eslint examples --max-warnings=0",
99
- "phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts",
100
- "clean": "rm -rf dist coverage",
101
- "vendor:refresh": "bash scripts/vendor-refresh.sh",
102
- "pack:docs": "bash scripts/build-docs-artifacts.sh",
103
- "attw": "node scripts/attw.mjs --profile node16",
104
- "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/core/version.ts",
105
- "release": "changeset publish",
106
- "prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw",
107
- "prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks || true"
108
- },
109
78
  "simple-git-hooks": {
110
79
  "pre-commit": "pnpm phi-scan --staged"
111
80
  },
112
- "pnpm": {
113
- "overrides": {
114
- "esbuild@>=0.27.3 <0.28.1": "0.28.1",
115
- "js-yaml@>=4.0.0 <4.3.0": "4.3.0"
116
- }
117
- },
118
81
  "devDependencies": {
119
82
  "@arethetypeswrong/cli": "0.18.4",
120
83
  "@changesets/cli": "2.31.0",
@@ -151,5 +114,33 @@
151
114
  "@cosyte/transform": "^0.1.0",
152
115
  "@cosyte/x12": "^0.1.0",
153
116
  "@modelcontextprotocol/sdk": "1.29.0"
117
+ },
118
+ "scripts": {
119
+ "build": "tsup",
120
+ "changeset": "changeset",
121
+ "typecheck": "tsc --noEmit",
122
+ "phi-scan": "tsx scripts/phi-scan.ts",
123
+ "check:agent-notes": "tsx scripts/check-agent-notes.ts",
124
+ "check:no-emdash": "bash scripts/check-no-emdash.sh",
125
+ "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
126
+ "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
127
+ "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
128
+ "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
129
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
130
+ "test": "vitest run",
131
+ "test:watch": "vitest",
132
+ "test:coverage": "vitest run --coverage",
133
+ "test:fuzz": "vitest run test/fuzz.property.test.ts",
134
+ "smoke": "node scripts/smoke.mjs",
135
+ "examples": "tsx scripts/run-examples.ts",
136
+ "typecheck:examples": "tsc -p examples/tsconfig.json",
137
+ "lint:examples": "eslint examples --max-warnings=0",
138
+ "phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts",
139
+ "clean": "rm -rf dist coverage",
140
+ "vendor:refresh": "bash scripts/vendor-refresh.sh",
141
+ "pack:docs": "bash scripts/build-docs-artifacts.sh",
142
+ "attw": "node scripts/attw.mjs --profile node16",
143
+ "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/core/version.ts",
144
+ "release": "changeset publish"
154
145
  }
155
- }
146
+ }