ReviewOS

also looking at this

craft-native/craft

fix(ci): build the SDK types with the repo's own tsc (and pin the pantry action)

#104
Merged glennmichael123 wants to merge fix/pin-pantry-action into main
29 files +85 -56
packages/typescript/package.jsonmodified+1-1
Changes to packages/typescript/package.json
@@ -81,7 +81,7 @@
8181 "scripts": {
8282 "build": "bun build.ts && bun run build:types",
8383 "build:lib": "bun build src/index.ts --outdir dist --format esm --target bun && bun build src/index.ts --outfile dist/index.cjs --format cjs --target node",
84 "build:types": "bun run tsc -p tsconfig.build.json && cp dist/index.d.ts dist/index.d.cts",
84 "build:types": "bun scripts/tsc.ts -p tsconfig.build.json && cp dist/index.d.ts dist/index.d.cts",
8585 "dev": "bun --watch src/index.ts",
8686 "lint": "bunx --bun pickier lint . --config ../../pickier.config.ts --max-warnings 9999",
8787 "lint:fix": "bunx --bun pickier lint . --fix --config ../../pickier.config.ts --max-warnings 9999",