Files
Rocketmc/turbo.jsonc
Michael H. 4ee7623837 build: deploy on both environments (#5129)
* build: deploy on both environments

* build: missing whitespace

* build: add path filter

* build: add sentry env

* build: inherit secrets

* remove if check

* Revert "remove if check"

This reverts commit b2ffe1d611269ddaf13bdbfacfdb89cd40316c29.

* remove if check 2

* Fix Wrangler env

* Fix Wrangler env but for real this time

* Alternative method of getting URLs

* Check for environment instead

* Fix comment

* Clickable commit

* Set PREVIEW build var

* Fix commit shown in comment

* Fix linting errors

* )

* add preview banner

* prepr

* prepr again

* ..

---------

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
2026-01-16 01:40:10 +00:00

82 lines
1.6 KiB
JSON

{
"$schema": "./node_modules/turbo/schema.json",
"concurrency": "100%",
"globalDependencies": [
"packages/tooling-config/**",
"!packages/tooling-config/.turbo/**",
"!packages/tooling-config/node_modules/**"
],
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".nuxt/**", "dist/**", ".output/**", "$TURBO_ROOT$/target/**"],
"env": [
"NODE_ENV",
"SITE_URL",
"BASE_URL",
"PREVIEW",
"BUILD_ENV",
"FLAG_OVERRIDES",
"BROWSER_BASE_URL",
"RATE_LIMIT_IGNORE_KEY",
"VERCEL_*",
"CF_PAGES_*",
"HEROKU_APP_NAME",
"STRIPE_PUBLISHABLE_KEY",
"PYRO_BASE_URL",
"PROD_OVERRIDE",
"PYRO_MASTER_KEY",
"PORT",
"SQLX_OFFLINE",
"DATABASE_URL",
"CARGO_*",
"RUST_*",
"RUSTFLAGS",
"FORCE_COLOR",
"NEXTEST_*",
"BUILD_ENV",
"PREVIEW"
]
},
"lint": {
"env": [
"DATABASE_URL",
"SQLX_OFFLINE",
"CARGO_*",
"RUST_*",
"RUSTFLAGS",
"FORCE_COLOR",
"NEXTEST_*"
]
},
"lint:ancillary": {},
"dev": {
"cache": false,
"persistent": true,
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"env": ["CARGO_*", "RUST_*", "RUSTFLAGS", "FORCE_COLOR", "NEXTEST_*"],
"passThroughEnv": ["DISPLAY", "WEBKIT_DISABLE_DMABUF_RENDERER"]
},
"test": {
"env": [
"SQLX_OFFLINE",
"DATABASE_URL",
"CARGO_*",
"RUST_*",
"RUSTFLAGS",
"FORCE_COLOR",
"NEXTEST_*"
]
},
"fix": {},
"fix:ancillary": {
"cache": false
},
"intl:extract": {},
"prepr": {
"dependsOn": ["^prepr", "fix", "intl:extract"]
}
}
}