color-swatch 0.2.0 → 0.2.1

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 +11 -2
  2. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -1,10 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Added
6
+
7
+ * Added prepublish npm script
8
+ * Added dist files to release
9
+
10
+
3
11
  ## 0.2.0
4
12
 
5
13
  ### Added
6
- Component implementation, docs, and tests
14
+
15
+ * Component implementation, docs, and tests
7
16
 
8
17
  ## 0.1.0
9
18
 
10
- Initial release
19
+ * Initial release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "color-swatch",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "A web component for displaying color swatches.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -32,7 +32,8 @@
32
32
  "dev": "vite dev",
33
33
  "build": "vite build --config vite.config.js",
34
34
  "test": "vitest run",
35
- "test:watch": "vitest"
35
+ "test:watch": "vitest",
36
+ "prepublishOnly": "npm run test && npm run build"
36
37
  },
37
38
  "workspaces": [
38
39
  "packages/color-swatch",