@cosyte/dicom 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,18 +1,25 @@
1
1
  {
2
2
  "name": "@cosyte/dicom",
3
- "version": "0.0.18",
4
- "description": "Developer-focused DICOM Part 10 parser + utility library for Node.js and TypeScript: metadata-first, vendor-quirky-tolerant, dual ESM/CJS.",
3
+ "version": "0.1.0",
4
+ "description": "DICOM Part 10 parser + utility library for Node.js and TypeScript: metadata-first, vendor-quirky-tolerant, dual ESM/CJS.",
5
5
  "keywords": [
6
6
  "dicom",
7
- "parser",
7
+ "dicom-part-10",
8
8
  "medical-imaging",
9
+ "radiology",
10
+ "pacs",
11
+ "ct",
12
+ "mri",
13
+ "metadata",
14
+ "de-identification",
15
+ "anonymization",
9
16
  "healthcare",
10
17
  "interoperability",
11
- "typescript",
12
- "part-10",
13
- "metadata"
18
+ "parser",
19
+ "serializer",
20
+ "typescript"
14
21
  ],
15
- "homepage": "https://github.com/cosyte/dicom#readme",
22
+ "homepage": "https://docs.cosyte.com/dicom",
16
23
  "bugs": {
17
24
  "url": "https://github.com/cosyte/dicom/issues"
18
25
  },
@@ -26,6 +33,17 @@
26
33
  "engines": {
27
34
  "node": ">=22.0.0"
28
35
  },
36
+ "packageManager": "pnpm@10.34.5",
37
+ "pnpm": {
38
+ "overrides": {
39
+ "brace-expansion@>=5.0.0 <5.0.9": "5.0.9",
40
+ "esbuild@>=0.27.3 <0.28.1": "0.28.1",
41
+ "js-yaml@>=3.0.0 <3.15.1": "3.15.1",
42
+ "js-yaml@>=4.0.0 <4.3.0": "4.3.0",
43
+ "js-yaml@>=4.0.0 <4.3.1": "4.3.1",
44
+ "postcss@>=8.0.0 <8.5.23": "8.5.23"
45
+ }
46
+ },
29
47
  "main": "./dist/index.cjs",
30
48
  "module": "./dist/index.mjs",
31
49
  "types": "./dist/index.d.ts",
@@ -55,6 +73,47 @@
55
73
  "provenance": true
56
74
  },
57
75
  "prettier": "@cosyte/prettier-config",
76
+ "scripts": {
77
+ "build": "tsup",
78
+ "changeset": "changeset",
79
+ "clean": "rm -rf dist coverage",
80
+ "typecheck": "tsc --noEmit",
81
+ "typecheck:exports": "node scripts/attw.mjs --profile node16",
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}\" \"scripts/**/*.{ts,mjs}\" \"test/**/*.ts\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
85
+ "format:check": "prettier --check \"src/**/*.{ts,md}\" \"scripts/**/*.{ts,mjs}\" \"test/**/*.ts\" \"examples/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" --no-error-on-unmatched-pattern",
86
+ "test": "vitest run",
87
+ "test:watch": "vitest",
88
+ "test:coverage": "vitest run --coverage",
89
+ "examples": "tsx scripts/run-examples.ts",
90
+ "typecheck:examples": "tsc -p examples/tsconfig.json",
91
+ "lint:examples": "eslint examples --max-warnings=0",
92
+ "phi-scan:examples": "tsx scripts/phi-scan.ts examples/*.ts examples/data/*.ts",
93
+ "gen:dictionary": "tsx scripts/generate-dictionary.ts",
94
+ "gen:annex-e": "tsx scripts/generate-annex-e.ts",
95
+ "gen:repeating-groups": "tsx scripts/generate-repeating-groups.ts",
96
+ "gen:encapsulated-transfer-syntaxes": "tsx scripts/generate-encapsulated-transfer-syntaxes.ts",
97
+ "gen:clean": "find src/dictionary/generated -mindepth 1 ! -name 'README.md' -delete",
98
+ "gen:all": "pnpm gen:repeating-groups && pnpm gen:dictionary && pnpm gen:annex-e && pnpm gen:encapsulated-transfer-syntaxes",
99
+ "check:no-emdash": "bash scripts/check-no-emdash.sh",
100
+ "check:no-internal-refs": "node scripts/check-no-internal-refs.ts",
101
+ "measure:phi-scan-unread": "tsx scripts/measure-phi-scan-unread.ts",
102
+ "measure:phi-scan-retention": "node scripts/measure-phi-scan-retention.ts",
103
+ "measure:phi-scan-monotonicity": "node scripts/measure-phi-scan-monotonicity.ts",
104
+ "measure:phi-scan-regex-statics": "node scripts/measure-phi-scan-regex-statics.ts",
105
+ "measure:phi-scan-line-endings": "node scripts/measure-phi-scan-line-endings.ts",
106
+ "measure:phi-scan-html-blocks": "node scripts/measure-phi-scan-html-blocks.ts",
107
+ "measure:phi-scan-atx-heading": "node scripts/measure-phi-scan-atx-heading.ts",
108
+ "phi-scan": "tsx scripts/phi-scan.ts",
109
+ "smoke": "tsx scripts/smoke.ts",
110
+ "pack:docs": "bash scripts/build-docs-artifacts.sh",
111
+ "attw": "node scripts/attw.mjs",
112
+ "version": "changeset version && node scripts/sync-version.mjs && prettier --write package.json src/version.ts",
113
+ "release": "changeset publish",
114
+ "prepublishOnly": "pnpm clean && pnpm gen:all && pnpm typecheck && pnpm lint && pnpm test && pnpm build && pnpm attw",
115
+ "prepare": "command -v simple-git-hooks >/dev/null 2>&1 && simple-git-hooks || true"
116
+ },
58
117
  "devDependencies": {
59
118
  "@arethetypeswrong/cli": "0.18.4",
60
119
  "@changesets/cli": "2.31.0",
@@ -79,32 +138,5 @@
79
138
  "dependencies": {},
80
139
  "simple-git-hooks": {
81
140
  "pre-commit": "pnpm phi-scan --staged"
82
- },
83
- "scripts": {
84
- "build": "tsup",
85
- "changeset": "changeset",
86
- "clean": "rm -rf dist coverage",
87
- "typecheck": "tsc --noEmit",
88
- "typecheck:exports": "node scripts/attw.mjs --profile node16",
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
- "gen:dictionary": "tsx scripts/generate-dictionary.ts",
97
- "gen:annex-e": "tsx scripts/generate-annex-e.ts",
98
- "gen:repeating-groups": "tsx scripts/generate-repeating-groups.ts",
99
- "gen:clean": "find src/dictionary/generated -mindepth 1 ! -name 'README.md' -delete",
100
- "gen:all": "pnpm gen:repeating-groups && pnpm gen:dictionary && pnpm gen:annex-e",
101
- "check:no-emdash": "bash scripts/check-no-emdash.sh",
102
- "measure:phi-scan-unread": "tsx scripts/measure-phi-scan-unread.ts",
103
- "phi-scan": "tsx scripts/phi-scan.ts",
104
- "smoke": "tsx scripts/smoke.ts",
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 src/version.ts",
108
- "release": "changeset publish"
109
141
  }
110
- }
142
+ }