Workaround getting the package version for the user-agent

This commit is contained in:
Daniel Kennedy
2026-01-28 22:16:58 -05:00
parent 312efa3fe7
commit 144d8382dc
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
"audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json",
"test": "cd ../../ && npm run test ./packages/artifact",
"bootstrap": "cd ../../ && npm run bootstrap",
"tsc-run": "tsc",
"tsc-run": "tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/",
"tsc": "npm run bootstrap && npm run tsc-run",
"gen:docs": "typedoc --plugin typedoc-plugin-markdown --out docs/generated src/artifact.ts --githubPages false --readme none"
},