Skip to content

Commit

Permalink
chore: normalize start and build commands (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlankParticle committed May 23, 2024
1 parent f3240c0 commit b8d1c53
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 14 deletions.
11 changes: 6 additions & 5 deletions apps/mail-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
"name": "@u22n/mail-bridge",
"private": true,
"type": "module",
"exports": {
"./trpc": {
"types": "./trpc/index.ts"
}
},
"scripts": {
"dev": "tsx watch --clear-screen=false app.ts",
"start": "node --import=tsx app.ts",
"build": "echo 'No Build Step Needed'",
"check": "tsc --noEmit"
},
"exports": {
"./trpc": {
"types": "./trpc/index.ts"
}
},
"dependencies": {
"@hono/node-server": "^1.11.1",
"@hono/trpc-server": "^0.3.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "tsx watch --clear-screen=false app.ts",
"start": "node --import=tsx app.ts",
"build": "echo 'No build step configured'",
"build": "echo 'No Build Step Needed'",
"check": "tsc --noEmit"
},
"exports": {
Expand Down
5 changes: 1 addition & 4 deletions apps/storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
"name": "@u22n/storage",
"private": true,
"type": "module",
"engines": {
"node": ">=20",
"pnpm": ">=8"
},
"scripts": {
"dev": "tsx watch --clear-screen=false app.ts",
"start": "node --import=tsx app.ts",
"build": "echo 'No Build Step Needed'",
"check": "tsc --noEmit"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions apps/web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"scripts": {
"build": "nuxt build",
"start": "node .output/server/index.mjs",
"dev": "PORT=3001 nuxt dev --host",
"generate": "nuxt generate",
"preview": "nuxt preview"
Expand Down
1 change: 1 addition & 0 deletions ee/apps/billing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"ee:dev": "tsx watch --clear-screen=false app.ts",
"ee:start": "node --import=tsx app.ts",
"ee:build": "echo 'No Build Step Needed'",
"check": "tsc --noEmit"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions ee/apps/command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"ee:build": "nuxt build",
"ee:dev": "PORT=3810 nuxt dev --host",
"ee:start": "node .output/server/index.mjs",
"ee:generate": "nuxt generate",
"ee:preview": "nuxt preview",
"ee:precheck": "infisical run --env=remote -- nuxt prepare"
Expand Down
20 changes: 16 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,22 @@
"check:lint": "eslint .",
"check": "pnpm check:format && pnpm check:lint && pnpm check:types",
"build:all": "dotenv -e .env.local -- turbo run build --cache-dir=.turbo",
"build:web-app": "turbo run build",
"build:mail-bridge": "turbo run build",
"build:api": "turbo run build",
"build:realtime": "turbo run build",
"build": "pnpm run -r build",
"build:ee": "pnpm run -r ee:build",
"build:web-app": "pnpm --filter=@u22n/web-app build",
"build:mail-bridge": "pnpm --filter=@u22n/mail-bridge build",
"build:platform": "pnpm --filter=@u22n/platform build",
"build:storage": "pnpm --filter=@u22n/storage build",
"build:ee:billing": "pnpm --filter=@uninbox-ee/billing ee:build",
"build:ee:command": "pnpm --filter=@uninbox-ee/command ee:build",
"start": "pnpm run -r start",
"start:ee": "pnpm run -r ee:start",
"start:web-app": "pnpm --filter=@u22n/web-app start",
"start:mail-bridge": "pnpm --filter=@u22n/mail-bridge start",
"start:platform": "pnpm --filter=@u22n/platform start",
"start:storage": "pnpm --filter=@u22n/storage start",
"start:ee:billing": "pnpm --filter=@uninbox-ee/billing ee:start",
"start:ee:command": "pnpm --filter=@uninbox-ee/command ee:start",
"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",
"dev": "dotenv -e .env.local -- turbo run dev",
"dev:next": "dotenv -e .env.local -- turbo run dev --filter=!@u22n/web-app",
Expand Down

0 comments on commit b8d1c53

Please sign in to comment.