Skip to content

Commit 42892bf

Browse files
authored
Merge pull request #279 from GeekGene/backport/278
backport 278
2 parents 07cc504 + 4aa2b28 commit 42892bf

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
],
99
"scripts": {
1010
"start": "AGENTS=${AGENTS:-2} BOOTSTRAP_PORT=$(get-port) SIGNAL_PORT=$(get-port) npm run network",
11-
"network": "hc sandbox clean && npm run build:happ && UI_PORT=1420 concurrently \"npm run start --workspace ui\" \"npm run launch:spin\" \"holochain-playground\"",
12-
"launch:spin": "hc-spin -n $AGENTS --ui-port $UI_PORT workdir/mewsfeed.happ",
1311
"start:tauri": "AGENTS=${AGENTS:-2} BOOTSTRAP_PORT=$(get-port) SIGNAL_PORT=$(get-port) npm run network:tauri",
14-
"network:tauri": "hc sandbox clean && npm run build:happ && UI_PORT=1420 concurrently \"npm run start --workspace ui\" \"npm run launch:tauri\" \"holochain-playground\"",
15-
"launch:tauri": "concurrently \"hc run-local-services --bootstrap-port $BOOTSTRAP_PORT --signal-port $SIGNAL_PORT\" \"echo pass | RUST_LOG=warn hc launch --piped -n $AGENTS workdir/mewsfee.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:\"$BOOTSTRAP_PORT\" webrtc ws://127.0.0.1:\"$SIGNAL_PORT\"\"",
1612
"start:holo": "npm run build:happ && concurrently \"echo pass | lair-keystore server\" \"./holo-dev-server ./workdir/mewsfeed.happ\" \"sleep 15 && VITE_IS_HOLO_HOSTED=true VITE_CHAPERONE_SERVER_URL=http://127.0.0.1:24274 UI_PORT=5432 npm -w ui run start\"",
13+
"network": "hc sandbox clean && npm run build:happ && UI_PORT=1420 concurrently \"npm run start --workspace ui\" \"npm run launch:spin\" \"holochain-playground\"",
14+
"network:tauri": "hc sandbox clean && npm run build:happ && UI_PORT=1420 concurrently \"npm run start --workspace ui\" \"npm run launch:tauri\" \"holochain-playground\"",
15+
"launch:spin": "hc-spin -n $AGENTS --ui-port $UI_PORT workdir/mewsfeed.happ",
16+
"launch:tauri": "concurrently \"hc run-local-services --bootstrap-port $BOOTSTRAP_PORT --signal-port $SIGNAL_PORT\" \"echo pass | WEBKIT_DISABLE_COMPOSITING_MODE=1 RUST_LOG=warn hc launch --piped -n $AGENTS workdir/mewsfeed.happ --ui-port $UI_PORT network --bootstrap http://127.0.0.1:\"$BOOTSTRAP_PORT\" webrtc ws://127.0.0.1:\"$SIGNAL_PORT\"\"",
1717
"package": "npm run build:happ && npm run package --workspace ui && hc web-app pack workdir --recursive",
1818
"build:happ": "npm run build:zomes && hc app pack workdir --recursive",
1919
"build:zomes": "cargo build --release --target wasm32-unknown-unknown",

ui/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"start:browser": "VITE_HC_PORT=$HC_PORT VITE_HC_ADMIN_PORT=$HC_ADMIN_PORT vite",
1010
"build": "vue-tsc --noEmit && vite build",
1111
"preview": "vite preview",
12-
"lint": "eslint --fix --ext .ts ./ --ext .vue src"
12+
"lint": "eslint --fix --ext .ts ./ --ext .vue src",
13+
"package": "npm run build && rimraf dist.zip && cd dist && bestzip ../dist.zip *"
1314
},
1415
"dependencies": {
1516
"@fontsource/inter": "^5.0.3",

0 commit comments

Comments
 (0)