Browse Source

chore: update .gitignore and add zip script to package.json

codecalm 7 months ago
parent
commit
fd8b11822a
3 changed files with 5 additions and 3 deletions
  1. 2 1
      .gitignore
  2. 1 1
      CHANGELOG.md
  3. 2 1
      package.json

+ 2 - 1
.gitignore

@@ -31,4 +31,5 @@ node_modules/
 package-lock.json
 package-lock.json
 
 
 demo/
 demo/
-dist/
+dist/
+packages-zip/

+ 1 - 1
CHANGELOG.md

@@ -1,6 +1,6 @@
 # Changelog
 # Changelog
 
 
-## 1.0.0
+## 1.0.0 - 2025-01-28
 
 
 ### Minor Changes
 ### Minor Changes
 
 

+ 2 - 1
package.json

@@ -24,7 +24,8 @@
     "format:write": "prettier --write src/**/*.{js,scss} --cache",
     "format:write": "prettier --write src/**/*.{js,scss} --cache",
     "illustrations": "node .build/import-illustrations.js",
     "illustrations": "node .build/import-illustrations.js",
     "build:html": "eleventy",
     "build:html": "eleventy",
-    "watch:html": "eleventy --watch --incremental"
+    "watch:html": "eleventy --watch --incremental",
+    "zip": "mkdir -p packages-zip && zip -r packages-zip/tabler-$(node -p \"require('./package.json').version\").zip demo/*"
   },
   },
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",