|
3 | 3 | "version": "0.3.1", |
4 | 4 | "scripts": { |
5 | 5 | "dev": "bun run rsbuild:dev", |
6 | | - "build": "rm -rf ./export ; tsc -p ./tsconfig.lib.json", |
| 6 | + "build": "bun run build:lib", |
| 7 | + "build:site": "bun run vite:build", |
| 8 | + "build:lib": "clear ; rm -rf ./dist ; vite build --config vite.config.lib.ts", |
| 9 | + "ts:build": "rm -rf ./export ; tsc -p ./tsconfig.lib.json", |
7 | 10 | "compile": "bun run tsc", |
8 | 11 | "vite:dev": "nice -5 vite dev --debug hmr", |
9 | 12 | "vite:build": "nice -15 vite build", |
10 | | - "vite:deploy": "bun run vite:build && bun run solid:upload && bun run solid:tag", |
| 13 | + "vite:deploy": "bun run vite:build && bun run solid:upload && bun run tag:deployed", |
11 | 14 | "rsbuild:dev": "nice -5 rsbuild dev", |
12 | 15 | "rsbuild:build": "nice -15 rsbuild build", |
13 | | - "rsbuild:deploy": "bun run rsbuild:build && bun run solid:upload && bun run solid:tag", |
14 | | - "deploy": "bun run build && bun run upload && bun run tag", |
15 | | - "upload": "bun run wrangler pages deploy ./dist --project-name=adaptive-solid-ui --commit-dirty", |
16 | | - "tag": "git branch -f deployed", |
| 16 | + "rsbuild:deploy": "bun run rsbuild:build && bun run solid:upload && bun run tag:deployed", |
| 17 | + "deploy": "bun run build && bun run upload && bun run tag:deployed", |
| 18 | + "upload": "bun run wrangler pages deploy ./out --project-name=adaptive-solid-ui --commit-dirty", |
| 19 | + "tag:deployed": "git branch -f deployed", |
17 | 20 | "release": "bash ./ops/release.sh", |
18 | 21 | "generateDemoList": "bun run ./src/demos/generateDemoList.cli.ts", |
19 | 22 | "update": "nice -15 bun x npm-check-updates -u && bun i", |
|
31 | 34 | "clsx": "^2.1.1", |
32 | 35 | "dayjs": "^1.11.18", |
33 | 36 | "solid-js": "^1.9.9", |
| 37 | + "tailwind-merge": "^3.3.1", |
34 | 38 | "valibot": "^1.1.0" |
35 | 39 | }, |
36 | 40 | "devDependencies": { |
|
40 | 44 | "@tailwindcss/postcss": "^4.1.13", |
41 | 45 | "@tailwindcss/vite": "^4.1.13", |
42 | 46 | "@types/bun": "latest", |
| 47 | + "glob": "^11.0.3", |
43 | 48 | "image-size": "^2.0.2", |
44 | 49 | "prettier": "^3.6.2", |
45 | 50 | "rollup-plugin-visualizer": "^6.0.3", |
46 | | - "tailwind-merge": "^3.3.1", |
47 | 51 | "tailwindcss": "^4.1.13", |
48 | 52 | "typescript": "^5.9.3", |
49 | 53 | "vite": "^7.1.5", |
| 54 | + "vite-plugin-dts": "^4.5.4", |
50 | 55 | "vite-plugin-solid": "^2.11.8", |
51 | 56 | "wrangler": "^4.37.0" |
52 | 57 | }, |
53 | | - "exports": { |
54 | | - "./*": "./export/*" |
55 | | - }, |
56 | | - "files": [ |
57 | | - "export" |
58 | | - ], |
59 | 58 | "prettier": { |
60 | 59 | "semi": false, |
61 | 60 | "printWidth": 120, |
|
79 | 78 | ], |
80 | 79 | "repository": { |
81 | 80 | "url": "git+https://github.com/adaptive-shield-matrix/solid-ui.git" |
82 | | - } |
| 81 | + }, |
| 82 | + "exports": { |
| 83 | + "./*": { |
| 84 | + "import": "./dist/*.js", |
| 85 | + "types": "./dist/*.d.ts" |
| 86 | + } |
| 87 | + }, |
| 88 | + "files": ["dist"] |
83 | 89 | } |
0 commit comments