-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore(pie-monorepo): DSW-000 Update Turborepo #1628
Changes from all commits
55d019e
5a8e278
f8004b9
983081d
b8f8c37
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"pie-monorepo": minor | ||
--- | ||
|
||
[Updated] - turbo version bump to 2.0.9 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"extends": [ | ||
"//" | ||
], | ||
"pipeline": { | ||
"tasks": { | ||
"clean": { | ||
"cache": false, | ||
"dependsOn": [] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"extends": [ | ||
"//" | ||
], | ||
"pipeline": { | ||
"tasks": { | ||
"dev": { | ||
"cache": false, | ||
"dependsOn": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
"engines": { | ||
"node": "^16 || ^18 || ^20" | ||
}, | ||
"packageManager": "[email protected]", | ||
"workspaces": { | ||
"packages": [ | ||
"apps/**/*", | ||
|
@@ -52,9 +53,9 @@ | |
"test:generate-routes": "turbo run test:generate-routes --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:browsers-setup": "turbo run test:browsers-setup --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:browsers": "cross-env-shell turbo run test:browsers --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:browsers:ci": "cross-env-shell turbo run test:browsers:ci --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:browsers:ci": "cross-env-shell turbo run test:browsers:ci --filter=!pie-monorepo --token=${TURBO_TOKEN} --env-mode=loose", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. By default, Turborepo now only provides env variables to task that are defined in This is because env vars should be considered as part of the cache hash. We should look to eventually update tasks to define the env vars they're dependant on, and remove this flag. |
||
"test:visual": "turbo run test:visual --filter=!pie-monorepo", | ||
"test:visual:ci": "turbo run test:visual:ci --filter=!pie-monorepo" | ||
"test:visual:ci": "turbo run test:visual:ci --filter=!pie-monorepo --env-mode=loose" | ||
}, | ||
"stylelint": { | ||
"extends": "@justeattakeaway/stylelint-config-pie/base" | ||
|
@@ -115,7 +116,7 @@ | |
"stylelint-config-standard-scss": "13.0.0", | ||
"stylelint-order": "6.0.4", | ||
"ts-node": "10.9.1", | ||
"turbo": "1.10.16", | ||
"turbo": "2.0.9", | ||
"typescript": "5.4.5", | ||
"vite": "4.5.3", | ||
"vite-plugin-dts": "2.3.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"extends": [ | ||
"//" | ||
], | ||
"pipeline": { | ||
"tasks": { | ||
"build:icons": { | ||
"cache": true, | ||
"dependsOn": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"extends": [ | ||
"//" | ||
], | ||
"pipeline": { | ||
"tasks": { | ||
"build:icons": { | ||
"cache": true, | ||
"dependsOn": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"extends": [ | ||
"//" | ||
], | ||
"pipeline": { | ||
"tasks": { | ||
"build:icons": { | ||
"cache": true, | ||
"dependsOn": [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"extends": [ | ||
"//" | ||
], | ||
"pipeline": { | ||
"tasks": { | ||
"build": { | ||
"cache": true, | ||
"dependsOn": [ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turbo will now error if this isn't specified - https://turbo.build/repo/docs/reference/configuration#dangerouslydisablepackagemanagercheck