Skip to content

Commit

Permalink
chore: Moves packbuild into scripts dir
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodedrift committed Dec 5, 2024
1 parent 3814594 commit ff5367e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "run-s 'build:tsc' 'build:esbuild' 'build:extism' 'build:pack'",
"build:esbuild": "node esbuild.js",
"build:extism": "extism-js dist/index.js -i src/index.d.ts -o dist/plugin.wasm",
"build:pack": "node packbuild.js",
"build:pack": "node scripts/packbuild.js",
"build:tsc": "tsc --noEmit",
"prepare": "husky",
"prettier": "prettier",
Expand Down
2 changes: 1 addition & 1 deletion packbuild.js → scripts/packbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ const template = {
};

writeFileSync(
path.resolve(__dirname, "./dist/manifest.json"),
path.resolve(__dirname, "../dist/manifest.json"),
JSON.stringify(template, null, 2)
);

0 comments on commit ff5367e

Please sign in to comment.