Skip to content

chore: normalize start and build commands #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading