@cosyte/hl7 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,19 +1,23 @@
1
1
  {
2
2
  "name": "@cosyte/hl7",
3
- "version": "0.0.9",
4
- "description": "Developer-focused HL7 v2 toolkit for Node.js and TypeScript, parser, builder, mutator, serializer, and one-line helpers.",
3
+ "version": "0.1.0",
4
+ "description": "Developer-focused HL7 v2 toolkit for Node.js and TypeScript, message parsing and building, mutation and serialization, and one-line helpers.",
5
5
  "keywords": [
6
6
  "hl7",
7
7
  "hl7v2",
8
+ "hl7-v2",
8
9
  "parser",
10
+ "builder",
11
+ "serializer",
9
12
  "healthcare",
10
13
  "interoperability",
11
14
  "typescript",
12
- "builder",
13
- "serializer",
15
+ "adt",
16
+ "oru",
17
+ "mllp",
14
18
  "toolkit"
15
19
  ],
16
- "homepage": "https://github.com/cosyte/hl7#readme",
20
+ "homepage": "https://docs.cosyte.com/hl7",
17
21
  "bugs": {
18
22
  "url": "https://github.com/cosyte/hl7/issues"
19
23
  },
@@ -27,6 +31,15 @@
27
31
  "engines": {
28
32
  "node": ">=22.0.0"
29
33
  },
34
+ "packageManager": "pnpm@10.34.5",
35
+ "pnpm": {
36
+ "overrides": {
37
+ "brace-expansion@>=4.0.0 <5.0.9": "5.0.9",
38
+ "esbuild@>=0.27.3 <0.28.1": "0.28.1",
39
+ "js-yaml@>=3.0.0 <3.15.1": "3.15.1",
40
+ "js-yaml@>=4.0.0 <4.3.1": "4.3.1"
41
+ }
42
+ },
30
43
  "main": "./dist/index.cjs",
31
44
  "module": "./dist/index.mjs",
32
45
  "types": "./dist/index.d.ts",
@@ -56,6 +69,33 @@
56
69
  "provenance": true
57
70
  },
58
71
  "prettier": "@cosyte/prettier-config",
72
+ "scripts": {
73
+ "build": "tsup",
74
+ "changeset": "changeset",
75
+ "typecheck": "tsc --noEmit",
76
+ "phi-scan": "tsx scripts/phi-scan.ts",
77
+ "generate:structures": "tsx scripts/generate-message-structures.ts",
78
+ "generate:schema": "tsx scripts/generate-schema-artifacts.ts",
79
+ "bench": "tsx scripts/bench.ts",
80
+ "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
81
+ "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
82
+ "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
83
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
84
+ "check:docs": "tsx scripts/check-docs.ts",
85
+ "check:no-emdash": "bash scripts/emdash-gate.sh",
86
+ "check:no-internal-refs": "node scripts/check-no-internal-refs.mjs",
87
+ "test": "vitest run",
88
+ "test:watch": "vitest",
89
+ "test:coverage": "vitest run --coverage",
90
+ "clean": "rm -rf dist coverage",
91
+ "examples": "tsx scripts/run-examples.ts",
92
+ "pack:docs": "cosyte-process pack-docs",
93
+ "attw": "node scripts/attw.mjs",
94
+ "version": "changeset version && cosyte-process sync-version && prettier --write package.json src/index.ts",
95
+ "release": "changeset publish",
96
+ "prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw",
97
+ "prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks 1>&2 || true"
98
+ },
59
99
  "simple-git-hooks": {
60
100
  "pre-commit": "pnpm phi-scan --staged"
61
101
  },
@@ -64,6 +104,8 @@
64
104
  "@changesets/cli": "2.31.0",
65
105
  "@cosyte/eslint-config": "^0.0.3",
66
106
  "@cosyte/prettier-config": "^0.0.2",
107
+ "@cosyte/process": "0.1.0",
108
+ "@cosyte/script-utils": "0.1.1",
67
109
  "@cosyte/tsconfig": "^0.0.2",
68
110
  "@cosyte/tsup-config": "^0.0.1",
69
111
  "@cosyte/vitest-config": "^0.0.2",
@@ -79,27 +121,5 @@
79
121
  "vite": "7.3.6",
80
122
  "vitest": "4.1.4"
81
123
  },
82
- "dependencies": {},
83
- "scripts": {
84
- "build": "tsup",
85
- "changeset": "changeset",
86
- "typecheck": "tsc --noEmit",
87
- "phi-scan": "tsx scripts/phi-scan.ts",
88
- "bench": "tsx scripts/bench.ts",
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}\" \"*.{json,md,yml}\"",
92
- "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"*.{json,md,yml}\"",
93
- "check:no-emdash": "bash scripts/check-no-emdash.sh",
94
- "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
95
- "test": "vitest run",
96
- "test:watch": "vitest",
97
- "test:coverage": "vitest run --coverage",
98
- "clean": "rm -rf dist coverage",
99
- "examples": "tsx scripts/run-examples.ts",
100
- "pack:docs": "bash scripts/build-docs-artifacts.sh",
101
- "attw": "node scripts/attw.mjs",
102
- "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json src/index.ts",
103
- "release": "changeset publish"
104
- }
105
- }
124
+ "dependencies": {}
125
+ }