Skip to content

Commit 15f432c

Browse files
committed
fix: ensure UI build artifacts are published
1 parent 6245dbb commit 15f432c

File tree

2 files changed

+73
-1
lines changed

2 files changed

+73
-1
lines changed

.npmignore

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Runtime data
10+
pids
11+
*.pid
12+
*.seed
13+
*.pid.lock
14+
lib-cov
15+
coverage
16+
*.lcov
17+
.nyc_output
18+
.grunt
19+
bower_components
20+
.lock-wscript
21+
build/Release
22+
node_modules/
23+
jspm_packages/
24+
web_modules/
25+
*.tsbuildinfo
26+
.npm
27+
.eslintcache
28+
.stylelintcache
29+
.node_repl_history
30+
*.tgz
31+
.yarn-integrity
32+
.env
33+
.env.*
34+
.cache
35+
.parcel-cache
36+
.next
37+
out
38+
.nuxt
39+
# dist <-- REMOVED "dist" so src/ui/dist is included
40+
.vuepress/dist
41+
.temp
42+
.svelte-kit/
43+
**/.vitepress/dist
44+
**/.vitepress/cache
45+
.docusaurus
46+
.serverless/
47+
.fusebox/
48+
.dynamodb/
49+
.firebase/
50+
.tern-port
51+
.vscode-test
52+
.pnp.*
53+
.yarn/*
54+
55+
# Editors
56+
.idea
57+
.vscode
58+
.DS_Store
59+
60+
# Project specific
61+
conductor
62+
demo
63+
test
64+
.github
65+
.claude
66+
.releaserc.json
67+
bun.lock
68+
69+
# UI Source cleaning (optional but good for package size)
70+
src/ui/node_modules
71+
src/ui/src

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"dev": "bun run --watch demo/index.js",
4242
"dev:all": "bun run dev & bun run dev:ui",
4343
"dev:ui": "cd src/ui && bun run dev",
44-
"build:ui": "cd src/ui && bun run build"
44+
"build:ui": "cd src/ui && bun run build",
45+
"prepublishOnly": "bun run build:ui"
4546
},
4647
"peerDependencies": {
4748
"elysia": ">=1.0.0"

0 commit comments

Comments
 (0)