History

dev: bump portless to 0.13, switch cloud to shared-port 5394 (#479)

- @rhyssul/portless 0.12 → 0.13 in apps/cloud, apps/local, apps/marketing - apps/cloud dev:proxy uses --shared-port --port 5394 to multiplex with other apps on the same portless host - Add db:migrate:dev so we don't have to remember the op-run incantation

Rhys Sullivan committed 6 months ago

Commit af4ed7e1 parent e3742bd4 files · +9 −8Browse files

Unified · Split

4 files
  1. apps/cloud/package.json +3 −2
  2. apps/local/package.json +1 −1
  3. apps/marketing/package.json +1 −1
  4. bun.lock +4 −4
apps/cloud/package.json+3−2
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 "type": "module",5 "type": "module",
6 "scripts": {6 "scripts": {
7 "dev": "bun run dev:proxy && concurrently -n db,vite -c blue,green \"bun run dev:db\" \"bun run dev:vite\"",7 "dev": "bun run dev:proxy && concurrently -n db,vite -c blue,green \"bun run dev:db\" \"bun run dev:vite\"",
8 "dev:proxy": "portless proxy start --multiplex --port 1355 || true",8 "dev:proxy": "portless proxy start --multiplex --shared-port --port 5394 || true",
9 "dev:db": "bun run scripts/dev-db.ts",9 "dev:db": "bun run scripts/dev-db.ts",
10 "dev:vite": "EXECUTOR_DIRECT_DATABASE_URL=true CLOUDFLARE_INCLUDE_PROCESS_ENV=true op run --env-file=.env.op -- portless --name executor-cloud vite dev",10 "dev:vite": "EXECUTOR_DIRECT_DATABASE_URL=true CLOUDFLARE_INCLUDE_PROCESS_ENV=true op run --env-file=.env.op -- portless --name executor-cloud vite dev",
11 "db:schema": "node --import jiti/register ../../packages/core/cli/src/index.ts generate --config ./executor.config.ts --output ./src/services/executor-schema.ts",11 "db:schema": "node --import jiti/register ../../packages/core/cli/src/index.ts generate --config ./executor.config.ts --output ./src/services/executor-schema.ts",
@@ -13,6 +13,7 @@ · 1 unmodified line
13 "db:studio": "drizzle-kit studio",13 "db:studio": "drizzle-kit studio",
14 "db:studio:prod": "op run --env-file=.env.production -- drizzle-kit studio",14 "db:studio:prod": "op run --env-file=.env.production -- drizzle-kit studio",
15 "db:migrate:prod": "op run --env-file=.env.production -- drizzle-kit migrate",15 "db:migrate:prod": "op run --env-file=.env.production -- drizzle-kit migrate",
16 "db:migrate:dev": "op run --env-file=.env.op -- drizzle-kit migrate",
16 "build": "turbo run build --filter @executor-js/vite-plugin && vite build",17 "build": "turbo run build --filter @executor-js/vite-plugin && vite build",
17 "preview": "vite preview",18 "preview": "vite preview",
18 "deploy": "op run --env-file=.env.production -- bun run build && op run --env-file=.env.production -- wrangler deploy",19 "deploy": "op run --env-file=.env.production -- bun run build && op run --env-file=.env.production -- wrangler deploy",
@@ -75,7 +76,7 @@ · 56 unmodified lines
75 "@electric-sql/pglite": "^0.4.3",76 "@electric-sql/pglite": "^0.4.3",
76 "@electric-sql/pglite-socket": "^0.1.3",77 "@electric-sql/pglite-socket": "^0.1.3",
77 "@executor-js/cli": "workspace:*",78 "@executor-js/cli": "workspace:*",
78 "@rhyssul/portless": "^0.12.0",79 "@rhyssul/portless": "^0.13.0",
79 "@tailwindcss/vite": "catalog:",80 "@tailwindcss/vite": "catalog:",
80 "@types/react": "catalog:",81 "@types/react": "catalog:",
81 "@types/react-dom": "catalog:",82 "@types/react-dom": "catalog:",
apps/local/package.json+1−1
@@ -47,7 +47,7 @@ · 46 unmodified lines
47 "react-dom": "catalog:"47 "react-dom": "catalog:"
48 },48 },
49 "devDependencies": {49 "devDependencies": {
50 "@rhyssul/portless": "^0.12.0",50 "@rhyssul/portless": "^0.13.0",
51 "@tailwindcss/vite": "catalog:",51 "@tailwindcss/vite": "catalog:",
52 "@tanstack/router-plugin": "^1.167.12",52 "@tanstack/router-plugin": "^1.167.12",
53 "@types/node": "catalog:",53 "@types/node": "catalog:",
apps/marketing/package.json+1−1
@@ -25,7 +25,7 @@ · 24 unmodified lines
25 "tailwindcss": "^4.2.2"25 "tailwindcss": "^4.2.2"
26 },26 },
27 "devDependencies": {27 "devDependencies": {
28 "@rhyssul/portless": "^0.12.0",28 "@rhyssul/portless": "^0.13.0",
29 "wrangler": "^4.0.0"29 "wrangler": "^4.0.0"
30 },30 },
31 "engines": {31 "engines": {
bun.lock+4−4
@@ -101,7 +101,7 @@ · 100 unmodified lines
101 "@electric-sql/pglite": "^0.4.3",101 "@electric-sql/pglite": "^0.4.3",
102 "@electric-sql/pglite-socket": "^0.1.3",102 "@electric-sql/pglite-socket": "^0.1.3",
103 "@executor-js/cli": "workspace:*",103 "@executor-js/cli": "workspace:*",
104 "@rhyssul/portless": "^0.12.0",104 "@rhyssul/portless": "^0.13.0",
105 "@tailwindcss/vite": "catalog:",105 "@tailwindcss/vite": "catalog:",
106 "@types/react": "catalog:",106 "@types/react": "catalog:",
107 "@types/react-dom": "catalog:",107 "@types/react-dom": "catalog:",
@@ -156,7 +156,7 @@ · 48 unmodified lines
156 "react-dom": "catalog:",156 "react-dom": "catalog:",
157 },157 },
158 "devDependencies": {158 "devDependencies": {
159 "@rhyssul/portless": "^0.12.0",159 "@rhyssul/portless": "^0.13.0",
160 "@tailwindcss/vite": "catalog:",160 "@tailwindcss/vite": "catalog:",
161 "@tanstack/router-plugin": "^1.167.12",161 "@tanstack/router-plugin": "^1.167.12",
162 "@types/node": "catalog:",162 "@types/node": "catalog:",
@@ -187,7 +187,7 @@ · 24 unmodified lines
187 "tailwindcss": "^4.2.2",187 "tailwindcss": "^4.2.2",
188 },188 },
189 "devDependencies": {189 "devDependencies": {
190 "@rhyssul/portless": "^0.12.0",190 "@rhyssul/portless": "^0.13.0",
191 "wrangler": "^4.0.0",191 "wrangler": "^4.0.0",
192 },192 },
193 },193 },
@@ -1960,7 +1960,7 @@ · 1766 unmodified lines
1960 1960
1961 "@reduxjs/toolkit": ["@reduxjs/toolkit@2.11.2", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@standard-schema/utils": "^0.3.0", "immer": "^11.0.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0", "reselect": "^5.1.0" }, "peerDependencies": { "react": "^16.9.0 || ^17.0.0 || ^18 || ^19", "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" }, "optionalPeers": ["react", "react-redux"] }, "sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ=="],1961 "@reduxjs/toolkit": ["@reduxjs/toolkit@2.11.2", "", { "dependencies": { "@standard-schema/spec": "^1.0.0", "@standard-schema/utils": "^0.3.0", "immer": "^11.0.0", "redux": "^5.0.1", "redux-thunk": "^3.1.0", "reselect": "^5.1.0" }, "peerDependencies": { "react": "^16.9.0 || ^17.0.0 || ^18 || ^19", "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" }, "optionalPeers": ["react", "react-redux"] }, "sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ=="],
1962 1962
1963 "@rhyssul/portless": ["@rhyssul/portless@0.12.0", "", { "os": [ "linux", "win32", "darwin", ], "bin": { "portless": "dist/cli.js" } }, "sha512-05nsmoOemstCNmchQ6hENRTcG9sHCPds1AHoJThvqlhO6dIlSVsD3uV+ODXJNalcB7jkrtJJldsdeHfP96BMEQ=="],1963 "@rhyssul/portless": ["@rhyssul/portless@0.13.0", "", { "os": [ "linux", "win32", "darwin", ], "bin": { "portless": "dist/cli.js" } }, "sha512-6Hc5jcNVmEmbQUK4YT6hGNxNbDob8ZrB6izFLxZOq8P9ExS6eeBJQA9J55K67unNGWOiA77xUaSBut3SzqcYgA=="],
1964 1964
1965 "@rolldown/binding-android-arm64": ["@rolldown/binding-android-arm64@1.0.0-rc.15", "", { "os": "android", "cpu": "arm64" }, "sha512-YYe6aWruPZDtHNpwu7+qAHEMbQ/yRl6atqb/AhznLTnD3UY99Q1jE7ihLSahNWkF4EqRPVC4SiR4O0UkLK02tA=="],1965 "@rolldown/binding-android-arm64": ["@rolldown/binding-android-arm64@1.0.0-rc.15", "", { "os": "android", "cpu": "arm64" }, "sha512-YYe6aWruPZDtHNpwu7+qAHEMbQ/yRl6atqb/AhznLTnD3UY99Q1jE7ihLSahNWkF4EqRPVC4SiR4O0UkLK02tA=="],
1966 1966

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t