@cosyte/x12 0.0.18 → 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,32 +1,47 @@
1
1
  {
2
2
  "name": "@cosyte/x12",
3
- "version": "0.0.18",
4
- "description": "Developer-focused ASC X12 EDI parser and utility library for Node.js/TypeScript.",
3
+ "version": "0.1.0",
4
+ "description": "Developer-focused ASC X12 healthcare EDI parser, serializer, and builder for Node.js and TypeScript: lenient on parse, spec-clean on emit.",
5
5
  "license": "MIT",
6
6
  "author": "Cosyte <hello@cosyte.com> (https://cosyte.com)",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/cosyte/x12.git"
10
10
  },
11
- "homepage": "https://github.com/cosyte/x12#readme",
11
+ "homepage": "https://docs.cosyte.com/x12",
12
12
  "bugs": {
13
13
  "url": "https://github.com/cosyte/x12/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "x12",
17
+ "asc-x12",
17
18
  "edi",
18
19
  "healthcare",
19
20
  "hipaa",
21
+ "5010",
20
22
  "835",
21
23
  "837",
24
+ "270",
22
25
  "271",
26
+ "276",
27
+ "277",
28
+ "278",
29
+ "834",
30
+ "820",
31
+ "999",
32
+ "remittance",
33
+ "claims",
34
+ "eligibility",
23
35
  "parser",
36
+ "serializer",
37
+ "builder",
24
38
  "typescript"
25
39
  ],
26
40
  "type": "module",
27
41
  "engines": {
28
42
  "node": ">=22.0.0"
29
43
  },
44
+ "packageManager": "pnpm@10.34.5",
30
45
  "sideEffects": false,
31
46
  "main": "./dist/index.cjs",
32
47
  "module": "./dist/index.mjs",
@@ -57,9 +72,47 @@
57
72
  "provenance": true
58
73
  },
59
74
  "prettier": "@cosyte/prettier-config",
75
+ "scripts": {
76
+ "build": "tsup",
77
+ "changeset": "changeset",
78
+ "typecheck": "tsc --noEmit",
79
+ "lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --max-warnings=0 --no-error-on-unmatched-pattern",
80
+ "lint:fix": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\" \"test/**/*.ts\" --fix --no-error-on-unmatched-pattern",
81
+ "format": "prettier --write \"src/**/*.{ts,md}\" \"scripts/**/*.{ts,mjs}\" \"test/**/*.ts\" \"docs-content/**/*.{md,json}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
82
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"scripts/**/*.{ts,mjs}\" \"test/**/*.ts\" \"docs-content/**/*.{md,json}\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
83
+ "test": "vitest run",
84
+ "test:watch": "vitest",
85
+ "test:coverage": "vitest run --coverage",
86
+ "examples": "tsx scripts/run-examples.ts",
87
+ "typecheck:examples": "tsc -p examples/tsconfig.json",
88
+ "lint:examples": "eslint examples --max-warnings=0",
89
+ "phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts examples/data/*",
90
+ "clean": "rm -rf dist coverage *.tsbuildinfo",
91
+ "differential": "tsx scripts/differential.ts --oracle pyx12==4.0.0 --oracle linuxforhealth-x12==0.57.0 --with pydantic==1.10.13 --with python-dotenv==1.2.3 --with typing-extensions==4.16.0 --python 3.11.16",
92
+ "differential:check": "tsx scripts/differential.ts --check",
93
+ "phi-scan": "tsx scripts/phi-scan.ts",
94
+ "check:no-emdash": "bash scripts/check-no-emdash.sh",
95
+ "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
96
+ "check:release-caller-permissions": "tsx scripts/check-release-caller-permissions.ts",
97
+ "refresh:code-lists": "tsx scripts/refresh-code-lists.ts",
98
+ "capture:271-goldens": "tsx scripts/capture-271-goldens.ts",
99
+ "verify:exports": "node scripts/verify-exports.mjs && node scripts/verify-exports.cjs",
100
+ "pack:docs": "bash scripts/build-docs-artifacts.sh",
101
+ "attw": "node scripts/attw.mjs",
102
+ "version": "changeset version && node scripts/sync-version.mjs && tsx scripts/sync-readme-version.ts && prettier --write package.json src/index.ts README.md",
103
+ "release": "changeset publish",
104
+ "prepublishOnly": "pnpm clean && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw",
105
+ "prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks || true"
106
+ },
60
107
  "simple-git-hooks": {
61
108
  "pre-commit": "pnpm phi-scan --staged"
62
109
  },
110
+ "pnpm": {
111
+ "overrides": {
112
+ "esbuild@>=0.27.3 <0.28.1": "0.28.1",
113
+ "js-yaml@>=4.0.0 <4.3.0": "4.3.0"
114
+ }
115
+ },
63
116
  "devDependencies": {
64
117
  "@arethetypeswrong/cli": "0.18.4",
65
118
  "@changesets/cli": "2.31.0",
@@ -81,27 +134,5 @@
81
134
  "vite": "7.3.6",
82
135
  "vitest": "4.1.4"
83
136
  },
84
- "dependencies": {},
85
- "scripts": {
86
- "build": "tsup",
87
- "changeset": "changeset",
88
- "typecheck": "tsc --noEmit",
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}\" \"scripts/**/*.{ts,mjs}\" \"test/**/*.ts\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
92
- "format:check": "prettier --check \"src/**/*.{ts,md}\" \"scripts/**/*.{ts,mjs}\" \"test/**/*.ts\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
93
- "test": "vitest run",
94
- "test:watch": "vitest",
95
- "test:coverage": "vitest run --coverage",
96
- "clean": "rm -rf dist coverage *.tsbuildinfo",
97
- "phi-scan": "tsx scripts/phi-scan.ts",
98
- "check:no-emdash": "bash scripts/check-no-emdash.sh",
99
- "check:no-internal-refs": "bash scripts/check-no-internal-refs.sh",
100
- "refresh:code-lists": "tsx scripts/refresh-code-lists.ts",
101
- "verify:exports": "node scripts/verify-exports.mjs && node scripts/verify-exports.cjs",
102
- "pack:docs": "bash scripts/build-docs-artifacts.sh",
103
- "attw": "node scripts/attw.mjs",
104
- "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json src/index.ts",
105
- "release": "changeset publish"
106
- }
107
- }
137
+ "dependencies": {}
138
+ }