@cosyte/synth 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.
Files changed (41) hide show
  1. package/CHANGELOG.md +10 -2
  2. package/README.md +19 -19
  3. package/dist/astm/index.cjs.map +1 -1
  4. package/dist/astm/index.d.cts +6 -6
  5. package/dist/astm/index.d.ts +6 -6
  6. package/dist/astm/index.mjs.map +1 -1
  7. package/dist/ccda/index.cjs.map +1 -1
  8. package/dist/ccda/index.d.cts +2 -2
  9. package/dist/ccda/index.d.ts +2 -2
  10. package/dist/ccda/index.mjs.map +1 -1
  11. package/dist/deid/index.cjs.map +1 -1
  12. package/dist/deid/index.d.cts +3 -3
  13. package/dist/deid/index.d.ts +3 -3
  14. package/dist/deid/index.mjs.map +1 -1
  15. package/dist/fhir/index.cjs.map +1 -1
  16. package/dist/fhir/index.d.cts +1 -1
  17. package/dist/fhir/index.d.ts +1 -1
  18. package/dist/fhir/index.mjs.map +1 -1
  19. package/dist/hl7/index.cjs.map +1 -1
  20. package/dist/hl7/index.d.cts +3 -3
  21. package/dist/hl7/index.d.ts +3 -3
  22. package/dist/hl7/index.mjs.map +1 -1
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +5 -5
  26. package/dist/index.d.ts +5 -5
  27. package/dist/index.mjs +1 -1
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/ncpdp/index.cjs.map +1 -1
  30. package/dist/ncpdp/index.d.cts +2 -2
  31. package/dist/ncpdp/index.d.ts +2 -2
  32. package/dist/ncpdp/index.mjs.map +1 -1
  33. package/dist/{providers-BQtPk3PN.d.cts → providers-DcPrqmp5.d.cts} +2 -2
  34. package/dist/{providers-BQtPk3PN.d.ts → providers-DcPrqmp5.d.ts} +2 -2
  35. package/dist/{quirk-C_lZrspq.d.cts → quirk-CilFUhwX.d.cts} +1 -1
  36. package/dist/{quirk-Bzx9g8KG.d.ts → quirk-DmqYw3Vk.d.ts} +1 -1
  37. package/dist/x12/index.cjs.map +1 -1
  38. package/dist/x12/index.d.cts +3 -3
  39. package/dist/x12/index.d.ts +3 -3
  40. package/dist/x12/index.mjs.map +1 -1
  41. package/package.json +33 -43
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosyte/synth",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Deterministic, seedable synthetic healthcare test fixtures for Node.js and TypeScript: HL7 v2, FHIR R4 and US Core, C-CDA, X12, NCPDP and ASTM, spec-clean by construction and never real PHI.",
5
5
  "keywords": [
6
6
  "synth",
@@ -32,7 +32,6 @@
32
32
  "engines": {
33
33
  "node": ">=22.0.0"
34
34
  },
35
- "packageManager": "pnpm@10.0.0",
36
35
  "main": "./dist/index.cjs",
37
36
  "module": "./dist/index.mjs",
38
37
  "types": "./dist/index.d.ts",
@@ -131,13 +130,6 @@
131
130
  "provenance": true
132
131
  },
133
132
  "prettier": "@cosyte/prettier-config",
134
- "pnpm": {
135
- "overrides": {
136
- "esbuild@>=0.27.3 <0.28.1": "0.28.1",
137
- "js-yaml@>=4.0.0 <4.3.1": "4.3.1",
138
- "js-yaml@>=3.0.0 <3.15.1": "3.15.1"
139
- }
140
- },
141
133
  "peerDependencies": {
142
134
  "@cosyte/astm": ">=0.0.0",
143
135
  "@cosyte/ccda": ">=0.0.0",
@@ -170,39 +162,6 @@
170
162
  "optional": true
171
163
  }
172
164
  },
173
- "scripts": {
174
- "build": "tsup",
175
- "changeset": "changeset",
176
- "typecheck": "tsc --noEmit && tsc --noEmit -p examples",
177
- "phi-scan": "tsx scripts/phi-scan.ts",
178
- "check": "pnpm run check:test-selection",
179
- "check:test-selection": "tsx scripts/check-test-selection.ts",
180
- "check:install": "node scripts/check-install.mjs",
181
- "check:determinism-window": "tsx scripts/determinism/check-window.ts",
182
- "determinism:digest": "tsx scripts/determinism/digest.ts",
183
- "determinism:verify": "tsx scripts/determinism/verify.ts",
184
- "oracle": "tsx scripts/oracle/run.ts",
185
- "acquire:oracle": "tsx scripts/oracle/acquire.ts",
186
- "check:no-emdash": "bash scripts/check-no-emdash.sh",
187
- "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
188
- "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
189
- "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\" --fix --no-error-on-unmatched-pattern",
190
- "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,json,md}\" \"*.{json,md,yml}\"",
191
- "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,json,md}\" \"*.{json,md,yml}\"",
192
- "test": "vitest run",
193
- "test:watch": "vitest",
194
- "test:coverage": "vitest run --coverage",
195
- "test:fuzz": "vitest run test/property/seed-sweep.fuzz.property.test.ts",
196
- "examples": "tsx scripts/run-examples.ts",
197
- "smoke": "node scripts/smoke.mjs",
198
- "clean": "rm -rf dist coverage",
199
- "pack:docs": "bash scripts/build-docs-artifacts.sh",
200
- "attw": "node scripts/attw.mjs --profile node16",
201
- "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/index.ts",
202
- "release": "changeset publish",
203
- "prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw",
204
- "prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks || true"
205
- },
206
165
  "simple-git-hooks": {
207
166
  "pre-commit": "pnpm phi-scan --staged"
208
167
  },
@@ -233,5 +192,36 @@
233
192
  "typescript": "5.9.3",
234
193
  "vite": "7.3.6",
235
194
  "vitest": "4.1.4"
195
+ },
196
+ "scripts": {
197
+ "build": "tsup",
198
+ "changeset": "changeset",
199
+ "typecheck": "tsc --noEmit && tsc --noEmit -p examples",
200
+ "phi-scan": "tsx scripts/phi-scan.ts",
201
+ "check": "pnpm run check:test-selection",
202
+ "check:test-selection": "tsx scripts/check-test-selection.ts",
203
+ "check:install": "node scripts/check-install.mjs",
204
+ "check:determinism-window": "tsx scripts/determinism/check-window.ts",
205
+ "determinism:digest": "tsx scripts/determinism/digest.ts",
206
+ "determinism:verify": "tsx scripts/determinism/verify.ts",
207
+ "oracle": "tsx scripts/oracle/run.ts",
208
+ "acquire:oracle": "tsx scripts/oracle/acquire.ts",
209
+ "check:no-emdash": "bash scripts/check-no-emdash.sh",
210
+ "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
211
+ "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
212
+ "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\" --fix --no-error-on-unmatched-pattern",
213
+ "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,json,md}\" \"*.{json,md,yml}\"",
214
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,json,md}\" \"*.{json,md,yml}\"",
215
+ "test": "vitest run",
216
+ "test:watch": "vitest",
217
+ "test:coverage": "vitest run --coverage",
218
+ "test:fuzz": "vitest run test/property/seed-sweep.fuzz.property.test.ts",
219
+ "examples": "tsx scripts/run-examples.ts",
220
+ "smoke": "node scripts/smoke.mjs",
221
+ "clean": "rm -rf dist coverage",
222
+ "pack:docs": "bash scripts/build-docs-artifacts.sh",
223
+ "attw": "node scripts/attw.mjs --profile node16",
224
+ "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/index.ts",
225
+ "release": "changeset publish"
236
226
  }
237
- }
227
+ }