diff --git a/bun.lockb b/bun.lockb index 62117c7..0b70401 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index d724f2f..b84ac4b 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "index:components": "bun scripts/index-components.ts", "build": "bun --bun tsc -p tsconfig.build.json", - "build:prune-package": "bun scripts/prune-package.ts", + "build:prune-package": "bunx culls", "test": "bun test", "test:e2e": "bun tests/test-e2e.ts", "format": "bun --bun prettier --write . --cache", @@ -25,6 +25,7 @@ "@types/bun": "latest", "@types/jest": "latest", "carbon-components-svelte": "0.87.0", + "culls": "latest", "prettier": "latest", "svelte": "^5.10.0", "typescript": "latest", diff --git a/scripts/prune-package.ts b/scripts/prune-package.ts deleted file mode 100644 index f942510..0000000 --- a/scripts/prune-package.ts +++ /dev/null @@ -1,12 +0,0 @@ -import prettier from "prettier"; - -const pkgJson = await Bun.file("./package.json").json(); - -// Remove unrelated metadata from package.json for publishing. -delete pkgJson.scripts; -delete pkgJson.devDependencies; - -await Bun.write( - "./package.json", - await prettier.format(JSON.stringify(pkgJson), { parser: "json" }), -);