Skip to content

Commit 35c0069

Browse files
committed
set up portless
1 parent 9e2fbc3 commit 35c0069

5 files changed

Lines changed: 30 additions & 54 deletions

File tree

bun.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"dev": "bun scripts/dev.ts",
6+
"dev": "portless run astro dev",
7+
"dev:sync": "portless tilly-sync sh -c 'bunx jazz-run sync --port \"$PORT\" --host \"$HOST\"'",
78
"build": "astro build",
89
"build:prod": "astro build",
910
"build:node": "ASTRO_ADAPTER=node astro build",
@@ -99,6 +100,7 @@
99100
"globals": "^17.6.0",
100101
"jsdom": "^29.1.1",
101102
"knip": "^6.11.0",
103+
"portless": "^0.12.0",
102104
"prettier": "^3.8.3",
103105
"prettier-plugin-astro": "^0.14.1",
104106
"prettier-plugin-tailwindcss": "^0.8.0",

portless.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"name": "tilly"
3+
}

scripts/dev.ts

Lines changed: 0 additions & 53 deletions
This file was deleted.

solo.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
name: tilly
22
icon: public/apple-touch-icon.png
33
processes:
4+
Lazygit:
5+
command: lazygit
6+
working_dir: null
7+
auto_start: true
8+
auto_restart: true
9+
restart_when_changed: []
10+
env: {}
411
Dev:
512
command: bun run dev
613
working_dir: null
714
auto_start: true
815
auto_restart: false
916
restart_when_changed: []
1017
env: {}
18+
Sync:
19+
command: bun run dev:sync
20+
working_dir: null
21+
auto_start: true
22+
auto_restart: false
23+
restart_when_changed: []
24+
env: {}
25+
Helix:
26+
command: hx .
27+
working_dir: null
28+
auto_start: true
29+
auto_restart: true
30+
restart_when_changed: []
31+
env: {}

0 commit comments

Comments
 (0)