expose-kit 0.1.2 → 0.1.6

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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expose-kit",
3
- "version": "0.1.1",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
@@ -20,14 +20,15 @@
20
20
  "format:fix": "biome format --write **/*.ts",
21
21
  "lint": "biome lint **/*.ts",
22
22
  "lint:fix": "biome lint --write **/*.ts",
23
- "build": "tsup && cp package.json dist/package.json",
23
+ "copy": "bun run ./utils/common/cp.ts package.json dist/package.json",
24
+ "build": "tsup",
24
25
  "postbuild": "publint",
26
+ "prepublishOnly": "bun copy",
25
27
  "release": "np"
26
28
  },
27
29
  "devDependencies": {
28
30
  "@biomejs/biome": "2.3.11",
29
31
  "@types/bun": "latest",
30
- "cp": "^0.2.0",
31
32
  "publint": "^0.3.16",
32
33
  "tsup": "^8.5.1"
33
34
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expose-kit",
3
- "version": "0.1.2",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "author": "EdamAmex <edame8080@gmail.com> (https://github.com/EdamAme-x)",
@@ -20,14 +20,15 @@
20
20
  "format:fix": "biome format --write **/*.ts",
21
21
  "lint": "biome lint **/*.ts",
22
22
  "lint:fix": "biome lint --write **/*.ts",
23
- "build": "tsup && cp package.json dist/package.json",
23
+ "copy": "bun run ./utils/common/cp.ts package.json dist/package.json",
24
+ "build": "tsup",
24
25
  "postbuild": "publint",
26
+ "prepublishOnly": "bun copy",
25
27
  "release": "np"
26
28
  },
27
29
  "devDependencies": {
28
30
  "@biomejs/biome": "2.3.11",
29
31
  "@types/bun": "latest",
30
- "cp": "^0.2.0",
31
32
  "publint": "^0.3.16",
32
33
  "tsup": "^8.5.1"
33
34
  },