Skip to content

Commit

Permalink
build: Remove pack file
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Feb 18, 2024
1 parent f472bba commit 8c23fd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions internal/build-scripts/bin/build-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@ async function copyEsmDts() {
}
}

async function generatePack() {
await execa("pnpm", ["pack", "--pack-destination", fullOutPath]);
}

await rm(fullDistPath, { recursive: true, force: true });
await rm(fullOutPath, { recursive: true, force: true });

Expand Down Expand Up @@ -201,4 +197,3 @@ await execa(tsc, ["--outDir", distDir]);
await mkdir(fullOutPath, { recursive: true });
await runApiExtractor();
await copyEsmDts();
await generatePack();
6 changes: 1 addition & 5 deletions packages/kosko/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,11 @@
},
"author": "Tommy Chen <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rm -rf out && mkdir -p out && pnpm pack --pack-destination out"
},
"bin": {
"kosko": "bin/kosko.js"
},
"files": [
"/bin/",
"/lib/"
"/bin/"
],
"keywords": [
"kubernetes",
Expand Down

0 comments on commit 8c23fd1

Please sign in to comment.