@moondreamsdev/dreamer-ui 1.4.8 → 1.4.9

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.
@@ -1,3 +1,6 @@
1
+ #!/usr/bin/env node
2
+
3
+ // Add your setup logic here, e.g., copying files, initializing configs, etc.
1
4
  import { readFileSync, existsSync, mkdirSync, writeFileSync } from 'fs';
2
5
  import { join, dirname } from 'path';
3
6
  import { createInterface } from 'readline';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moondreamsdev/dreamer-ui",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "type": "module",
5
5
  "description": "A collection of Tailwind CSS components for React",
6
6
  "main": "dist/index.js",
@@ -41,13 +41,15 @@
41
41
  "build:lib": "vite build --config vite.config.lib.mts",
42
42
  "build:types": "tsc --project tsconfig.lib.json",
43
43
  "build:demo": "tsc -b && vite build",
44
- "build:setup": "cp scripts/postinstall.js dist/ && node scripts/create-theme-css.js",
44
+ "build:setup": "cp scripts/init.lib.js dist/init.js && node scripts/add-theme.lib.js",
45
45
  "lint": "eslint .",
46
46
  "preview": "vite preview",
47
- "postinstall": "node dist/postinstall.js",
48
47
  "prepublishOnly": "npm run build",
49
48
  "publish": "npm publish --access public"
50
49
  },
50
+ "bin": {
51
+ "@moondreamsdev/dreamer-ui-init": "dist/init.js"
52
+ },
51
53
  "peerDependencies": {
52
54
  "react": ">=18.0.0",
53
55
  "react-dom": ">=18.0.0",