@cosyte/mllp 0.1.5 → 0.1.6

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 { T as Transport } from '../index-CD8V2Mtk.cjs';
1
+ import { Transport } from '../index.cjs';
2
2
 
3
3
  /**
4
4
  * InMemoryTransport, deterministic, socket-free Transport for tests.
@@ -1,4 +1,4 @@
1
- import { T as Transport } from '../index-CD8V2Mtk.js';
1
+ import { Transport } from '../index.js';
2
2
 
3
3
  /**
4
4
  * InMemoryTransport, deterministic, socket-free Transport for tests.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosyte/mllp",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "MLLP transport for HL7 v2 in Node.js and TypeScript: client and server, framing, ACK correlation, auto-reconnect, TLS, and an in-memory transport for tests.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -87,57 +87,55 @@
87
87
  "devDependencies": {
88
88
  "@arethetypeswrong/cli": "0.18.5",
89
89
  "@changesets/cli": "2.31.0",
90
- "@cosyte/eslint-config": "^0.1",
90
+ "@cosyte/eslint-config": "^0.1.4",
91
91
  "@cosyte/hl7": "^0.1.0",
92
92
  "@cosyte/prettier-config": "^0.1",
93
- "@cosyte/script-utils": "^0.1.7",
94
- "@cosyte/test-utils": "^0.1",
93
+ "@cosyte/process": "^0.1.6",
94
+ "@cosyte/script-utils": "^0.1.8",
95
+ "@cosyte/test-utils": "^0.1.3",
95
96
  "@cosyte/tsconfig": "^0.1",
96
- "@cosyte/tsup-config": "^0.1",
97
+ "@cosyte/tsup-config": "^0.1.3",
97
98
  "@cosyte/vitest-config": "^0.1",
98
99
  "@types/node": "^22.0.0",
99
100
  "@types/node-forge": "1.3.14",
100
- "@vitest/coverage-v8": "4.1.12",
101
- "eslint": "10.14.0",
102
101
  "fast-check": "4.10.2",
103
102
  "node-forge": "1.4.1",
104
- "prettier": "3.9.10",
105
103
  "selfsigned": "2.4.1",
106
104
  "simple-git-hooks": "2.14.0",
107
- "tsup": "8.5.1",
108
105
  "tsx": "4.23.15",
109
106
  "typescript": "5.9.3",
110
107
  "vite": "8.3.6",
111
- "vitest": "4.1.12"
108
+ "vitest": "5.1.0"
112
109
  },
113
110
  "simple-git-hooks": {
114
111
  "pre-commit": "pnpm phi-scan --staged"
115
112
  },
116
113
  "scripts": {
117
- "build": "tsup",
114
+ "build": "cosyte-process build",
118
115
  "changeset": "changeset",
119
- "typecheck": "tsc --noEmit && tsc --noEmit -p examples",
116
+ "typecheck": "cosyte-process typecheck",
120
117
  "phi-scan": "tsx scripts/phi-scan.ts",
121
118
  "check:catalog": "cosyte-catalog",
122
119
  "check:claude-card": "cosyte-claude-card",
123
120
  "check:documents": "pnpm check:readme && pnpm check:claude-card && pnpm check:catalog",
124
121
  "check:no-emdash": "cosyte-no-emdash",
125
122
  "check:no-internal-refs": "cosyte-internal-refs",
123
+ "check:process": "cosyte-process check",
126
124
  "check:readme": "cosyte-readme",
127
- "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
128
- "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.ts\" --fix --no-error-on-unmatched-pattern",
129
- "format": "prettier --write \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,json}\" \"docs-content/**/*.{md,json}\" \"*.{json,md,yml}\"",
130
- "format:check": "prettier --check \"src/**/*.{ts,md}\" \"test/**/*.ts\" \"scripts/**/*.{ts,mjs}\" \"examples/**/*.{ts,json}\" \"docs-content/**/*.{md,json}\" \"*.{json,md,yml}\"",
131
- "test": "vitest run",
132
- "test:watch": "vitest",
133
- "test:coverage": "vitest run --coverage",
125
+ "lint": "cosyte-process lint",
126
+ "lint:fix": "cosyte-process lint --fix",
127
+ "format": "cosyte-process format",
128
+ "format:check": "cosyte-process format --check",
129
+ "test": "cosyte-process test",
130
+ "test:watch": "cosyte-process test --watch",
131
+ "test:coverage": "cosyte-process test --coverage",
134
132
  "fuzz": "vitest run test/property/fuzz.property.test.ts test/property/transport-fuzz.property.test.ts test/property/ack-fuzz.property.test.ts",
135
133
  "examples": "tsx scripts/run-examples.ts",
136
134
  "certs:gen": "node scripts/generate-test-certs.mjs",
137
135
  "clean": "rm -rf dist coverage",
138
136
  "attw": "cosyte-attw",
139
- "pack:docs": "bash scripts/build-docs-artifacts.sh",
140
- "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json src/index.ts",
137
+ "pack:docs": "cosyte-process pack-docs",
138
+ "version": "changeset version && node scripts/sync-version.mjs && cosyte-process format",
141
139
  "publish:dry": "pnpm publish --dry-run --no-git-checks",
142
140
  "release": "changeset publish"
143
141
  }