@atomic-ehr/codegen 0.0.1-canary.20250822152242.1efd5a0 → 0.0.1-canary.20250822153920.e501dd0

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.
Files changed (2) hide show
  1. package/dist/cli/index.js +1300 -12
  2. package/package.json +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomic-ehr/codegen",
3
- "version": "0.0.1-canary.20250822152242.1efd5a0",
3
+ "version": "0.0.1-canary.20250822153920.e501dd0",
4
4
  "description": "Code generation tools for FHIR resources and TypeSchema definitions",
5
5
  "keywords": [
6
6
  "fhir",
@@ -43,7 +43,7 @@
43
43
  "test:verbose": "bun test --verbose",
44
44
  "test:helpers": "bun test test/helpers/",
45
45
  "test:quick": "bun test test/unit/ --timeout 5000",
46
- "build": "rm -rf dist && bunx tsc --project tsconfig.build.json && chmod +x dist/cli/index.js",
46
+ "build": "rm -rf dist && bunx tsc --project tsconfig.build.json && bun build src/cli/index.ts --outfile dist/cli/atomic-codegen.js --target node --format esm --minify --external typescript && tail -n +2 dist/cli/atomic-codegen.js > dist/cli/temp.js && echo '#!/usr/bin/env node' > dist/cli/index.js && cat dist/cli/temp.js >> dist/cli/index.js && chmod +x dist/cli/index.js && rm dist/cli/atomic-codegen.js dist/cli/temp.js",
47
47
  "typecheck": "bunx tsc --noEmit",
48
48
  "lint": "biome check --write",
49
49
  "quality": "bun run typecheck && bun run lint && bun run test:unit",