mirror of https://github.com/buster-so/buster.git
turbo fast web build
This commit is contained in:
parent
030000acf6
commit
b96cb39b78
|
@ -4,7 +4,8 @@
|
|||
"description": "Legacy API for Buster. This package.json is just used to make the build and dev work.",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "make fast-no-migrations"
|
||||
"dev": "make fast-no-migrations",
|
||||
"dev:fast": "make fast-no-migrations"
|
||||
},
|
||||
"dependencies": {
|
||||
"@buster/database": "workspace:*"
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"dependsOn": ["@buster/database#start"],
|
||||
"with": [],
|
||||
"outputs": []
|
||||
},
|
||||
"dev:fast": {
|
||||
"dependsOn": ["@buster/database#start"],
|
||||
"with": [],
|
||||
"outputs": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"scripts": {
|
||||
"start": "bun run scripts/start.ts",
|
||||
"dev": "bun run scripts/start.ts",
|
||||
"dev:fast": "bun run scripts/start.ts",
|
||||
"stop": "docker compose stop"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
"dev": {
|
||||
"dependsOn": ["@buster/database#start"],
|
||||
"outputs": []
|
||||
},
|
||||
"dev:fast": {
|
||||
"dependsOn": ["@buster/database#start"],
|
||||
"outputs": []
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"build": "tsup",
|
||||
"build:dry-run": "tsup",
|
||||
"dev": "bun --watch src/index.ts",
|
||||
"dev:fast": "bun --watch src/index.ts",
|
||||
"dev:build": "tsup --watch",
|
||||
"lint": "biome check --write",
|
||||
"start": "bun dist/index.js",
|
||||
|
|
|
@ -20,6 +20,21 @@
|
|||
"@buster-app/api-legacy#dev",
|
||||
"@buster/server-utils#dev"
|
||||
]
|
||||
},
|
||||
"dev:fast": {
|
||||
"cache": false,
|
||||
"persistent": true,
|
||||
"dependsOn": ["@buster/database#start", "^build"],
|
||||
"with": [
|
||||
"@buster/ai#dev:fast",
|
||||
"@buster/server-shared#dev:fast",
|
||||
"@buster/access-controls#dev:fast",
|
||||
"@buster/data-source#dev",
|
||||
"@buster-app/trigger#dev:fast",
|
||||
"@buster-app/electric-server#dev:fast",
|
||||
"@buster-app/api-legacy#dev:fast",
|
||||
"@buster/server-utils#dev:fast"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "echo 'y' | npx trigger.dev@v4-beta dev",
|
||||
"dev:fast": "echo 'y' | npx trigger.dev@v4-beta dev",
|
||||
"deploy": "echo 'y' | npx trigger.dev@v4-beta deploy",
|
||||
"prebuild": "[ \"$SKIP_ENV_CHECK\" = \"true\" ] || tsx scripts/validate-env.ts",
|
||||
"build": "echo 'No build step required but we run it to make sure env is loaded' && tsc --noEmit",
|
||||
|
|
|
@ -7,6 +7,12 @@
|
|||
"persistent": true,
|
||||
"dependsOn": ["^build"],
|
||||
"with": ["@buster/database#dev"]
|
||||
},
|
||||
"dev:fast": {
|
||||
"cache": false,
|
||||
"persistent": true,
|
||||
"dependsOn": ["^build"],
|
||||
"with": ["@buster/database#dev"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "next dev --turbo",
|
||||
"dev:fast": "make start-fast",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint && npx prettier --write . '!src/components/ui/icons/**' --log-level error",
|
||||
|
|
|
@ -37,6 +37,18 @@
|
|||
"tsconfig.json",
|
||||
"package.json"
|
||||
]
|
||||
},
|
||||
"dev:fast": {
|
||||
"dependsOn": ["@buster/server-shared#build"],
|
||||
"inputs": [
|
||||
"src/**/*",
|
||||
"!src/**/*.test.{ts,tsx,js,jsx}",
|
||||
"!src/**/*.spec.{ts,tsx,js,jsx}",
|
||||
"next.config.mjs",
|
||||
"tailwind.config.ts",
|
||||
"tsconfig.json",
|
||||
"package.json"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"db:stop": "pnpm --filter @buster/database run db:stop",
|
||||
"db:studio": "pnpm --filter @buster/database run db:studio",
|
||||
"dev": "turbo dev",
|
||||
"dev:fast": "turbo run dev:fast",
|
||||
"dev:no-web": "turbo dev --filter \"!@buster-app/web\"",
|
||||
"dev:server": "turbo run dev --filter \"@buster-app/server\"",
|
||||
"dev:server:reset": "pnpm run dev:db-init && turbo run dev --filter \"@buster-app/server\"",
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"build:commonjs": "tsc --module commonjs --moduleResolution node",
|
||||
"build:commonjs:watch": "npm run build:commonjs && tsc --module commonjs --moduleResolution node --watch",
|
||||
"dev": "tsc --watch",
|
||||
"dev:fast": "tsc --watch",
|
||||
"lint": "biome check --write",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts' --passWithNoTests",
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"build:dry-run": "tsc",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"dev": "tsc --watch",
|
||||
"dev:fast": "tsc --watch",
|
||||
"dev:mastra": "mastra dev --dir src",
|
||||
"lint": "biome check --write",
|
||||
"test": "vitest run",
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
"build": "tsc",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"dev": "tsc --watch",
|
||||
"dev:fast": "tsc --watch",
|
||||
"lint": "biome check"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
"build:dry-run": "tsc",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"dev": "tsc --watch",
|
||||
"dev:fast": "tsc --watch",
|
||||
"lint": "biome check",
|
||||
"test": "dotenv -e .env -- vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts' --passWithNoTests",
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
"build": "tsc --build",
|
||||
"build:dry-run": "tsc --build",
|
||||
"dev": "tsc --watch",
|
||||
"dev:fast": "tsc --watch",
|
||||
"lint": "biome check --write",
|
||||
"test": "vitest run",
|
||||
"test:integration": "vitest run **/*.int.test.ts **/*.integration.test.ts",
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"build:dry-run": "tsc",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"dev": "tsc --watch",
|
||||
"dev:fast": "tsc --watch",
|
||||
"lint": "biome check --write",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts' --passWithNoTests",
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
"build:dry-run": "tsc",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"dev": "tsc --watch",
|
||||
"dev:fast": "tsc --watch",
|
||||
"lint": "biome check --write",
|
||||
"test": "vitest run",
|
||||
"test:unit": "vitest run --exclude '**/*.int.test.ts' --exclude '**/*.integration.test.ts' --passWithNoTests",
|
||||
|
|
|
@ -17,6 +17,11 @@
|
|||
"persistent": true,
|
||||
"dependsOn": ["@buster/database#dev"]
|
||||
},
|
||||
"dev:fast": {
|
||||
"cache": false,
|
||||
"persistent": true,
|
||||
"dependsOn": ["@buster/database#dev"]
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": ["^lint"]
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue