Build system optimized for JavaScript and TypeScript, written in Rust
MIT License
Bot releases are visible (Hide)
Published by jaredpalmer over 2 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.26...v1.1.0-canary.1
Published by jaredpalmer almost 3 years ago
next-env.d.ts
in create-turbo
so that there isn't a cache miss on the first run due to altered sourceFull Changelog: https://github.com/vercel/turborepo/compare/v1.0.27...v1.0.28
Published by jaredpalmer almost 3 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.26...v1.0.27
Published by jaredpalmer almost 3 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.25...v1.0.26
Published by jaredpalmer almost 3 years ago
When you use turbo
with tools which inline environment variables at build time (e.g. Next.js or Create React App), it is important you tell turbo
about it. Otherwise, you could ship a cached artifact with the wrong environment variables!
With this release, you can now change a task hash by doing any of the following:
dependsOn
in your pipeline
definition prefixed by a $
will impact the cache fingerprint on a per-task or per-package-task basis.globalDependencies
list prefixed by a $
will impact the cache fingerprint of all tasks.globalDependencies
will impact the cache fingerprint of all tasks.THASH
in its name will impact the cache fingerprint of all tasks.Example Configuration
{
"turbo": {
"pipeline": {
"build": {
"dependsOn": {
"^build"
// env vars will impact hashes of all "build" tasks
"$SOME_ENV_VAR"
},
"outputs": ["dist/**"]
},
"web#build": { // override settings for the "build" task for the "web" app
"dependsOn": [
"^build",
// env vars that will impact the hash of "build" task for only "web" app
"$STRIPE_SECRET_KEY",
"$NEXT_PUBLIC_STRIPE_PUBLIC_KEY",
"$NEXT_PUBLIC_ANALYTICS_ID",
],
"outputs": [".next/**"],
},
"docs#build": { // override settings for the "build" task for the "docs" app
"dependsOn": [
"^build",
// env vars that will impact the hash of "build" task for only "web" app
"$STRIPE_SECRET_KEY",
"$NEXT_PUBLIC_STRIPE_PUBLIC_KEY",
"$NEXT_PUBLIC_ANALYTICS_ID",
],
"outputs": [".next/**"],
}
},
"baseBranch": "origin/main",
"globalDependencies": [
"$GITHUB_TOKEN"// env var that will impact the hashes of all tasks,
"tsconfig.json" // file contents will impact the hashes of all tasks,
".env.*" // glob file contents will impact the hashes of all tasks,
],
}
}
create-turbo
globalDependencies
workspaces
are not definedfor
loop to prevent cpu load by @marcinbunsch in https://github.com/vercel/turborepo/pull/529
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.24...v1.0.25
Published by jaredpalmer almost 3 years ago
for
loop to prevent cpu load by @marcinbunsch in https://github.com/vercel/turborepo/pull/529
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.24...v1.0.25-canary.1
Published by jaredpalmer almost 3 years ago
When you use turbo
with tools which inline environment variables at build time (e.g. Next.js or Create React App), it is important you tell turbo
about it. Otherwise, you could ship a cached artifact with the wrong environment variables!
With this PR, you can now change a task hash by doing any of the following:
dependsOn
in your pipeline
definition prefixed by a $
will impact the cache fingerprint on a per-task or per-package-task basis.globalDependencies
list prefixed by a $
will impact the cache fingerprint of all tasks.globalDependencies
will impact the cache fingerprint of all tasks.THASH
in its name will impact the cache fingerprint of all tasks.Example Configuration
{
"turbo": {
"pipeline": {
"build": {
"dependsOn": {
"^build"
// env vars will impact hashes of all "build" tasks
"$SOME_ENV_VAR"
},
"outputs": ["dist/**"]
},
"web#build": { // override settings for the "build" task for the "web" app
"dependsOn": [
"^build",
// env vars that will impact the hash of "build" task for only "web" app
"$STRIPE_SECRET_KEY",
"$NEXT_PUBLIC_STRIPE_PUBLIC_KEY",
"$NEXT_PUBLIC_ANALYTICS_ID",
],
"outputs": [".next/**"],
},
"docs#build": { // override settings for the "build" task for the "docs" app
"dependsOn": [
"^build",
// env vars that will impact the hash of "build" task for only "web" app
"$STRIPE_SECRET_KEY",
"$NEXT_PUBLIC_STRIPE_PUBLIC_KEY",
"$NEXT_PUBLIC_ANALYTICS_ID",
],
"outputs": [".next/**"],
}
},
"baseBranch": "origin/main",
"globalDependencies": [
"$GITHUB_TOKEN"// env var that will impact the hashes of all tasks,
"tsconfig.json" // file contents will impact the hashes of all tasks,
".env.*" // glob file contents will impact the hashes of all tasks,
],
}
}
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.24...v1.0.25-canary.0
Published by jaredpalmer almost 3 years ago
create-turbo
eslint
to the same 7.32.0 version by @weyert in https://github.com/vercel/turborepo/pull/435
stderr
before stdout
by @jaredpalmer in https://github.com/vercel/turborepo/pull/296
--include-dependencies
in docs by @ericclemmons in https://github.com/vercel/turborepo/pull/450
monroepo
to monorepo
typo by @AlaaZorkane in https://github.com/vercel/turborepo/pull/469
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.23...v1.0.24
Published by jaredpalmer almost 3 years ago
eslint
to the same 7.32.0 version by @weyert in https://github.com/vercel/turborepo/pull/435
stderr
before stdout
by @jaredpalmer in https://github.com/vercel/turborepo/pull/296
--include-dependencies
in docs by @ericclemmons in https://github.com/vercel/turborepo/pull/450
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.23...v1.0.24-canary.2
Published by jaredpalmer almost 3 years ago
eslint
to the same 7.32.0 version by @weyert in https://github.com/vercel/turborepo/pull/435
stderr
before stdout
by @jaredpalmer in https://github.com/vercel/turborepo/pull/296
--include-dependencies
in docs by @ericclemmons in https://github.com/vercel/turborepo/pull/450
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.23...v1.0.24-canary.1
Published by jaredpalmer almost 3 years ago
eslint
to the same 7.32.0 version by @weyert in https://github.com/vercel/turborepo/pull/435
stderr
before stdout
by @jaredpalmer in https://github.com/vercel/turborepo/pull/296
--include-dependencies
in docs by @ericclemmons in https://github.com/vercel/turborepo/pull/450
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.23...v1.0.24-canary.0
Published by jaredpalmer almost 3 years ago
--scope
and adde more more e2e tests by @jaredpalmer in #421Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.22...v1.0.23
Published by jaredpalmer almost 3 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.21...v1.0.22
Published by jaredpalmer almost 3 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.20...v1.0.21
Published by jaredpalmer almost 3 years ago
optionalDependencies
https://github.com/vercel/turborepo/pull/405
--
parsing so that they are not mistaken for build targetspostinstall
script to use optionalDependencies
by @jaredpalmer in https://github.com/vercel/turborepo/pull/405
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.19...v1.0.20
Published by jaredpalmer almost 3 years ago
postinstall
script to use optionalDependencies
by @jaredpalmer in https://github.com/vercel/turborepo/pull/405
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.19...v1.0.20-canary.2
Published by jaredpalmer almost 3 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.19...v1.0.20-canary.1
Published by jaredpalmer almost 3 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.19...v1.0.20-canary.0
Published by jaredpalmer almost 3 years ago
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.18...v1.0.19
Published by jaredpalmer almost 3 years ago
--graph=file.html
by @styfle in https://github.com/vercel/turborepo/pull/329
Full Changelog: https://github.com/vercel/turborepo/compare/v1.0.17...v1.0.18