@cosyte/synth 0.1.2 → 0.1.4

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.
@@ -1,4 +1,4 @@
1
- import { b as SyntheticAddress, S as SyntheticName, R as Rng, C as Corpus } from '../providers-DcPrqmp5.cjs';
1
+ import { SyntheticAddress, SyntheticName, Rng, Corpus } from '../index.cjs';
2
2
  import { X12Interchange, X12Decimal } from '@cosyte/x12';
3
3
 
4
4
  /**
@@ -482,4 +482,5 @@ interface X12CorpusOptions {
482
482
  */
483
483
  declare function x12Corpus(options: X12CorpusOptions): Corpus;
484
484
 
485
- export { CARC_CODES, type Claim837Variant, DENTAL_PROCEDURES, DIAGNOSES, type Generate271Options, type Generate835Options, type Generate837Options, INSTITUTIONAL_PROCEDURES, PLACES_OF_SERVICE, PROCEDURE_MODIFIERS, PROFESSIONAL_PROCEDURES, REVENUE_CODES, type RoundTripResult, SERVICE_TYPE_CODES, TOOTH_CODES, TOOTH_SURFACES, type X12CorpusKind, type X12CorpusOptions, type X12EnvelopeTiming, type X12ExampleCode, type X12Organization, type X12Payer, type X12Person, type X12TradingPartners, dec, generate271, generate835, generate837, generate837D, generate837I, generate837P, money, roundTrip, x12Corpus, x12EnvelopeTiming, x12Organization, x12Payer, x12Person, x12ProviderPerson, x12TradingPartners };
485
+ export { CARC_CODES, DENTAL_PROCEDURES, DIAGNOSES, INSTITUTIONAL_PROCEDURES, PLACES_OF_SERVICE, PROCEDURE_MODIFIERS, PROFESSIONAL_PROCEDURES, REVENUE_CODES, SERVICE_TYPE_CODES, TOOTH_CODES, TOOTH_SURFACES, dec, generate271, generate835, generate837, generate837D, generate837I, generate837P, money, roundTrip, x12Corpus, x12EnvelopeTiming, x12Organization, x12Payer, x12Person, x12ProviderPerson, x12TradingPartners };
486
+ export type { Claim837Variant, Generate271Options, Generate835Options, Generate837Options, RoundTripResult, X12CorpusKind, X12CorpusOptions, X12EnvelopeTiming, X12ExampleCode, X12Organization, X12Payer, X12Person, X12TradingPartners };
@@ -1,4 +1,4 @@
1
- import { b as SyntheticAddress, S as SyntheticName, R as Rng, C as Corpus } from '../providers-DcPrqmp5.js';
1
+ import { SyntheticAddress, SyntheticName, Rng, Corpus } from '../index.js';
2
2
  import { X12Interchange, X12Decimal } from '@cosyte/x12';
3
3
 
4
4
  /**
@@ -482,4 +482,5 @@ interface X12CorpusOptions {
482
482
  */
483
483
  declare function x12Corpus(options: X12CorpusOptions): Corpus;
484
484
 
485
- export { CARC_CODES, type Claim837Variant, DENTAL_PROCEDURES, DIAGNOSES, type Generate271Options, type Generate835Options, type Generate837Options, INSTITUTIONAL_PROCEDURES, PLACES_OF_SERVICE, PROCEDURE_MODIFIERS, PROFESSIONAL_PROCEDURES, REVENUE_CODES, type RoundTripResult, SERVICE_TYPE_CODES, TOOTH_CODES, TOOTH_SURFACES, type X12CorpusKind, type X12CorpusOptions, type X12EnvelopeTiming, type X12ExampleCode, type X12Organization, type X12Payer, type X12Person, type X12TradingPartners, dec, generate271, generate835, generate837, generate837D, generate837I, generate837P, money, roundTrip, x12Corpus, x12EnvelopeTiming, x12Organization, x12Payer, x12Person, x12ProviderPerson, x12TradingPartners };
485
+ export { CARC_CODES, DENTAL_PROCEDURES, DIAGNOSES, INSTITUTIONAL_PROCEDURES, PLACES_OF_SERVICE, PROCEDURE_MODIFIERS, PROFESSIONAL_PROCEDURES, REVENUE_CODES, SERVICE_TYPE_CODES, TOOTH_CODES, TOOTH_SURFACES, dec, generate271, generate835, generate837, generate837D, generate837I, generate837P, money, roundTrip, x12Corpus, x12EnvelopeTiming, x12Organization, x12Payer, x12Person, x12ProviderPerson, x12TradingPartners };
486
+ export type { Claim837Variant, Generate271Options, Generate835Options, Generate837Options, RoundTripResult, X12CorpusKind, X12CorpusOptions, X12EnvelopeTiming, X12ExampleCode, X12Organization, X12Payer, X12Person, X12TradingPartners };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cosyte/synth",
3
- "version": "0.1.2",
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.",
3
+ "version": "0.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",
7
7
  "synthetic-data",
@@ -166,39 +166,39 @@
166
166
  "pre-commit": "pnpm phi-scan --staged"
167
167
  },
168
168
  "devDependencies": {
169
- "@arethetypeswrong/cli": "0.18.4",
169
+ "@arethetypeswrong/cli": "0.18.5",
170
170
  "@changesets/cli": "2.31.0",
171
171
  "@cosyte/astm": "^0.1.1",
172
172
  "@cosyte/ccda": "^0.1.1",
173
173
  "@cosyte/deid": "^0.1.1",
174
- "@cosyte/eslint-config": "^0.1.1",
174
+ "@cosyte/eslint-config": "^0.1.4",
175
175
  "@cosyte/fhir": "^0.1.1",
176
176
  "@cosyte/hl7": "^0.1.1",
177
177
  "@cosyte/ncpdp": "^0.1.1",
178
- "@cosyte/prettier-config": "^0.1.1",
179
- "@cosyte/test-utils": "^0.1.1",
180
- "@cosyte/tsconfig": "^0.1.1",
181
- "@cosyte/tsup-config": "^0.1.1",
182
- "@cosyte/vitest-config": "^0.1.1",
178
+ "@cosyte/prettier-config": "^0.1.2",
179
+ "@cosyte/process": "^0.1.7",
180
+ "@cosyte/script-utils": "^0.1.8",
181
+ "@cosyte/test-utils": "^0.1.3",
182
+ "@cosyte/tsconfig": "^0.1.2",
183
+ "@cosyte/tsup-config": "^0.1.3",
184
+ "@cosyte/vitest-config": "^0.1.3",
183
185
  "@cosyte/x12": "^0.1.2",
184
186
  "@types/node": "^22.0.0",
185
- "@vitest/coverage-v8": "4.1.4",
186
- "eslint": "10.5.0",
187
- "fast-check": "3.23.2",
188
- "prettier": "3.8.3",
189
- "simple-git-hooks": "2.13.0",
190
- "tsup": "8.5.1",
191
- "tsx": "4.21.0",
187
+ "fast-check": "4.10.2",
188
+ "prettier": "3.9.10",
189
+ "simple-git-hooks": "2.14.0",
190
+ "tsx": "4.23.15",
192
191
  "typescript": "5.9.3",
193
- "vite": "7.3.6",
194
- "vitest": "4.1.4"
192
+ "vite": "8.3.6",
193
+ "vitest": "5.1.0"
195
194
  },
196
195
  "scripts": {
197
- "build": "tsup",
196
+ "build": "cosyte-process build",
198
197
  "changeset": "changeset",
199
- "typecheck": "tsc --noEmit && tsc --noEmit -p examples",
198
+ "typecheck": "cosyte-process typecheck",
200
199
  "phi-scan": "tsx scripts/phi-scan.ts",
201
- "check": "pnpm run check:test-selection",
200
+ "check": "pnpm run check:process && pnpm run check:test-selection",
201
+ "check:process": "cosyte-process check",
202
202
  "check:test-selection": "tsx scripts/check-test-selection.ts",
203
203
  "check:install": "node scripts/check-install.mjs",
204
204
  "check:determinism-window": "tsx scripts/determinism/check-window.ts",
@@ -206,22 +206,25 @@
206
206
  "determinism:verify": "tsx scripts/determinism/verify.ts",
207
207
  "oracle": "tsx scripts/oracle/run.ts",
208
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",
209
+ "check:no-emdash": "cosyte-no-emdash",
210
+ "check:no-internal-refs": "cosyte-internal-refs",
211
+ "check:readme": "cosyte-readme",
212
+ "check:claude-card": "cosyte-claude-card",
213
+ "check:catalog": "cosyte-catalog",
214
+ "lint": "cosyte-process lint",
215
+ "lint:fix": "cosyte-process lint --fix",
216
+ "format": "cosyte-process format",
217
+ "format:check": "cosyte-process format --check",
218
+ "test": "cosyte-process test",
219
+ "test:watch": "cosyte-process test --watch",
220
+ "test:coverage": "cosyte-process test --coverage",
221
+ "fuzz": "vitest run test/property/seed-sweep.fuzz.property.test.ts",
219
222
  "examples": "tsx scripts/run-examples.ts",
220
223
  "smoke": "node scripts/smoke.mjs",
221
224
  "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
+ "pack:docs": "cosyte-process pack-docs",
226
+ "attw": "cosyte-attw",
227
+ "version": "changeset version && cosyte-process sync-version && prettier --write package.json CHANGELOG.md src/index.ts",
225
228
  "release": "changeset publish"
226
229
  }
227
230
  }