Skip to content

Commit b8d1c53

Browse files
chore: normalize start and build commands (#470)
1 parent f3240c0 commit b8d1c53

File tree

7 files changed

+27
-14
lines changed

7 files changed

+27
-14
lines changed

apps/mail-bridge/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
"name": "@u22n/mail-bridge",
33
"private": true,
44
"type": "module",
5-
"exports": {
6-
"./trpc": {
7-
"types": "./trpc/index.ts"
8-
}
9-
},
105
"scripts": {
116
"dev": "tsx watch --clear-screen=false app.ts",
127
"start": "node --import=tsx app.ts",
8+
"build": "echo 'No Build Step Needed'",
139
"check": "tsc --noEmit"
1410
},
11+
"exports": {
12+
"./trpc": {
13+
"types": "./trpc/index.ts"
14+
}
15+
},
1516
"dependencies": {
1617
"@hono/node-server": "^1.11.1",
1718
"@hono/trpc-server": "^0.3.1",

apps/platform/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"dev": "tsx watch --clear-screen=false app.ts",
77
"start": "node --import=tsx app.ts",
8-
"build": "echo 'No build step configured'",
8+
"build": "echo 'No Build Step Needed'",
99
"check": "tsc --noEmit"
1010
},
1111
"exports": {

apps/storage/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@
22
"name": "@u22n/storage",
33
"private": true,
44
"type": "module",
5-
"engines": {
6-
"node": ">=20",
7-
"pnpm": ">=8"
8-
},
95
"scripts": {
106
"dev": "tsx watch --clear-screen=false app.ts",
117
"start": "node --import=tsx app.ts",
8+
"build": "echo 'No Build Step Needed'",
129
"check": "tsc --noEmit"
1310
},
1411
"dependencies": {

apps/web-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
},
99
"scripts": {
1010
"build": "nuxt build",
11+
"start": "node .output/server/index.mjs",
1112
"dev": "PORT=3001 nuxt dev --host",
1213
"generate": "nuxt generate",
1314
"preview": "nuxt preview"

ee/apps/billing/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"scripts": {
1111
"ee:dev": "tsx watch --clear-screen=false app.ts",
1212
"ee:start": "node --import=tsx app.ts",
13+
"ee:build": "echo 'No Build Step Needed'",
1314
"check": "tsc --noEmit"
1415
},
1516
"dependencies": {

ee/apps/command/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"scripts": {
1010
"ee:build": "nuxt build",
1111
"ee:dev": "PORT=3810 nuxt dev --host",
12+
"ee:start": "node .output/server/index.mjs",
1213
"ee:generate": "nuxt generate",
1314
"ee:preview": "nuxt preview",
1415
"ee:precheck": "infisical run --env=remote -- nuxt prepare"

package.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,22 @@
1010
"check:lint": "eslint .",
1111
"check": "pnpm check:format && pnpm check:lint && pnpm check:types",
1212
"build:all": "dotenv -e .env.local -- turbo run build --cache-dir=.turbo",
13-
"build:web-app": "turbo run build",
14-
"build:mail-bridge": "turbo run build",
15-
"build:api": "turbo run build",
16-
"build:realtime": "turbo run build",
13+
"build": "pnpm run -r build",
14+
"build:ee": "pnpm run -r ee:build",
15+
"build:web-app": "pnpm --filter=@u22n/web-app build",
16+
"build:mail-bridge": "pnpm --filter=@u22n/mail-bridge build",
17+
"build:platform": "pnpm --filter=@u22n/platform build",
18+
"build:storage": "pnpm --filter=@u22n/storage build",
19+
"build:ee:billing": "pnpm --filter=@uninbox-ee/billing ee:build",
20+
"build:ee:command": "pnpm --filter=@uninbox-ee/command ee:build",
21+
"start": "pnpm run -r start",
22+
"start:ee": "pnpm run -r ee:start",
23+
"start:web-app": "pnpm --filter=@u22n/web-app start",
24+
"start:mail-bridge": "pnpm --filter=@u22n/mail-bridge start",
25+
"start:platform": "pnpm --filter=@u22n/platform start",
26+
"start:storage": "pnpm --filter=@u22n/storage start",
27+
"start:ee:billing": "pnpm --filter=@uninbox-ee/billing ee:start",
28+
"start:ee:command": "pnpm --filter=@uninbox-ee/command ee:start",
1729
"clean": "find . -name node_modules -o -name .nuxt -o -name .nitro -o -name .output -o -name .turbo -o -name dist -type d -prune | xargs rm -rf",
1830
"dev": "dotenv -e .env.local -- turbo run dev",
1931
"dev:next": "dotenv -e .env.local -- turbo run dev --filter=!@u22n/web-app",

0 commit comments

Comments
 (0)