@cosyte/transform 0.0.9 → 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/package.json CHANGED
@@ -1,18 +1,22 @@
1
1
  {
2
2
  "name": "@cosyte/transform",
3
- "version": "0.0.9",
3
+ "version": "0.1.0",
4
4
  "description": "HL7 v2 → FHIR R4 transformation library for Node.js and TypeScript: IG-grounded, fail-safe, value-free diagnostics; never a confident wrong FHIR value.",
5
5
  "keywords": [
6
6
  "hl7",
7
7
  "hl7v2",
8
8
  "fhir",
9
+ "fhir-r4",
9
10
  "transform",
10
11
  "v2-to-fhir",
12
+ "mapping",
13
+ "adt",
14
+ "oru",
11
15
  "healthcare",
12
16
  "interoperability",
13
17
  "typescript"
14
18
  ],
15
- "homepage": "https://github.com/cosyte/transform#readme",
19
+ "homepage": "https://docs.cosyte.com/transform",
16
20
  "bugs": {
17
21
  "url": "https://github.com/cosyte/transform/issues"
18
22
  },
@@ -26,6 +30,13 @@
26
30
  "engines": {
27
31
  "node": ">=22.0.0"
28
32
  },
33
+ "packageManager": "pnpm@10.34.5",
34
+ "pnpm": {
35
+ "overrides": {
36
+ "esbuild@>=0.27.3 <0.28.1": "0.28.1",
37
+ "js-yaml@>=4.0.0 <4.3.0": "4.3.0"
38
+ }
39
+ },
29
40
  "main": "./dist/index.cjs",
30
41
  "module": "./dist/index.mjs",
31
42
  "types": "./dist/index.d.ts",
@@ -58,6 +69,35 @@
58
69
  "@cosyte/fhir": ">=0.0.0",
59
70
  "@cosyte/hl7": ">=0.0.0"
60
71
  },
72
+ "scripts": {
73
+ "build": "tsup",
74
+ "changeset": "changeset",
75
+ "typecheck": "tsc --noEmit",
76
+ "phi-scan": "tsx scripts/phi-scan.ts",
77
+ "conformance": "tsx scripts/conformance/run.ts",
78
+ "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
79
+ "check:agent-notes": "tsx scripts/check-agent-notes.ts",
80
+ "ci:no-internal-refs": "pnpm check:no-internal-refs && node scripts/check-agent-notes.ts",
81
+ "check:no-emdash": "node scripts/check-no-emdash.mjs",
82
+ "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
83
+ "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
84
+ "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
85
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml}\"",
86
+ "test": "vitest run",
87
+ "test:watch": "vitest",
88
+ "test:coverage": "vitest run --coverage",
89
+ "clean": "rm -rf dist coverage",
90
+ "pack:docs": "bash scripts/build-docs-artifacts.sh",
91
+ "attw": "node scripts/attw.mjs",
92
+ "examples": "tsx scripts/run-examples.ts",
93
+ "typecheck:examples": "tsc -p examples/tsconfig.json",
94
+ "lint:examples": "eslint examples --max-warnings=0",
95
+ "phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts",
96
+ "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/index.ts",
97
+ "release": "changeset publish",
98
+ "prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw",
99
+ "prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks || true"
100
+ },
61
101
  "simple-git-hooks": {
62
102
  "pre-commit": "pnpm phi-scan --staged"
63
103
  },
@@ -65,8 +105,8 @@
65
105
  "@arethetypeswrong/cli": "0.18.4",
66
106
  "@changesets/cli": "2.31.0",
67
107
  "@cosyte/eslint-config": "^0.0.4",
68
- "@cosyte/fhir": "file:vendor/cosyte-fhir-0.0.0.tgz",
69
- "@cosyte/hl7": "file:vendor/cosyte-hl7-0.0.0.tgz",
108
+ "@cosyte/fhir": "^0.1.0",
109
+ "@cosyte/hl7": "^0.1.0",
70
110
  "@cosyte/prettier-config": "^0.0.2",
71
111
  "@cosyte/test-utils": "^0.0.1",
72
112
  "@cosyte/tsconfig": "^0.0.2",
@@ -84,27 +124,5 @@
84
124
  "vite": "7.3.6",
85
125
  "vitest": "4.1.4"
86
126
  },
87
- "dependencies": {},
88
- "scripts": {
89
- "build": "tsup",
90
- "changeset": "changeset",
91
- "typecheck": "tsc --noEmit",
92
- "phi-scan": "tsx scripts/phi-scan.ts",
93
- "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
94
- "check:agent-notes": "tsx scripts/check-agent-notes.ts",
95
- "check:no-emdash": "node scripts/check-no-emdash.mjs",
96
- "vendor:refresh": "bash scripts/vendor-refresh.sh",
97
- "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
98
- "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
99
- "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
100
- "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
101
- "test": "vitest run",
102
- "test:watch": "vitest",
103
- "test:coverage": "vitest run --coverage",
104
- "clean": "rm -rf dist coverage",
105
- "pack:docs": "bash scripts/build-docs-artifacts.sh",
106
- "attw": "node scripts/attw.mjs",
107
- "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json CHANGELOG.md src/index.ts",
108
- "release": "changeset publish"
109
- }
110
- }
127
+ "dependencies": {}
128
+ }