@capture.dev/core 0.0.4 → 0.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +14 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @capture.dev/core
2
2
 
3
+ ## 0.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 2c47196: Run clean-package on prepublishOnly
8
+
9
+ ## 0.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - 8de8e00: Remove "development" entry point from "exports" in package.json
14
+
3
15
  ## 0.0.4
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capture.dev/core",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "homepage": "https://capture.dev",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -30,6 +30,8 @@
30
30
  "clean": "rimraf dist",
31
31
  "lint": "eslint",
32
32
  "lint:fix": "npm run lint -- --fix",
33
+ "prepublishOnly": "clean-package",
34
+ "postpublish": "clean-package restore",
33
35
  "test": "vitest run"
34
36
  },
35
37
  "lint-staged": {
@@ -44,6 +46,7 @@
44
46
  "@capture/tsdown-config": "*",
45
47
  "@capture/vitest-config": "*",
46
48
  "cbor-x": "^1.6.0",
49
+ "clean-package": "^2.2.0",
47
50
  "eslint": "^9.29.0",
48
51
  "tsdown": "^0.20.1",
49
52
  "typescript": "^5.9.3",
@@ -65,5 +68,15 @@
65
68
  },
66
69
  "./package.json": "./package.json"
67
70
  }
71
+ },
72
+ "cleanPackage": {
73
+ "remove": [
74
+ "cleanPackage",
75
+ "devDependencies",
76
+ "volta",
77
+ "lint-staged",
78
+ "exports.\\..development",
79
+ "exports.\\.internal.development"
80
+ ]
68
81
  }
69
82
  }