wildpig 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/wildpig.js +1 -1
  2. package/package.json +2 -2
package/bin/wildpig.js CHANGED
@@ -13,5 +13,5 @@ if (!cmd) {
13
13
  spawn('bun', ['run', cmd], {
14
14
  stdio: 'inherit',
15
15
  shell: true,
16
- cwd: path.resolve(__dirname, '..') // 指向 wp 包根目录
16
+ cwd: "." // 指向 wp 包根目录
17
17
  });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.3",
2
+ "version": "1.0.5",
3
3
  "scripts": {
4
4
  "dev": "export NODE_ENV=development && bun --hot run index.ts",
5
5
  "prebuild": "bun run scripts/prebuild.ts",
@@ -20,7 +20,7 @@
20
20
  "react-dom": "^19.2.3"
21
21
  },
22
22
  "bin":{
23
- "wildpig": "./bin/wildpig.ts"
23
+ "wildpig": "./bin/wildpig.js"
24
24
  },
25
25
  "name": "wildpig",
26
26
  "description": "A strong and fast fullstack framework base Bun.",