Skip to content
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(deps): update dependency turbo to v2 #2721

Merged
merged 3 commits into from
Jun 21, 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
2 changes: 1 addition & 1 deletion .github/workflows/release-intellij-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
distribution: "temurin"
java-version: "11"
- name: Build daemon
run: pnpm turbo run build --scope=@previewjs/intellij-daemon --include-dependencies
run: pnpm turbo run build --filter=...@previewjs/intellij-daemon
- name: Publish
run: ./gradlew publishPlugin
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-vscode-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
run_install: |
- args: [--filter=\!./framework-plugins/\*/tests/apps/\*]
- run: cd .. && pnpm turbo run build --scope=@previewjs/loader --include-dependencies
- run: cd .. && pnpm turbo run build --filter=...@previewjs/loader
- name: Extract version from package.json
uses: sergeysova/jq-action@a3f0d4ff59cc1dddf023fc0b325dd75b10deec58 # v2.3.0
id: version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-vscodium-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
run_install: |
- args: [--filter=\!./framework-plugins/\*/tests/apps/\*]
- run: cd .. && pnpm turbo run build --scope=@previewjs/loader --include-dependencies
- run: cd .. && pnpm turbo run build --filter=...@previewjs/loader
- name: Extract version from package.json
uses: sergeysova/jq-action@a3f0d4ff59cc1dddf023fc0b325dd75b10deec58 # v2.3.0
id: version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
with:
run_install: |
- args: [--filter=\!./framework-plugins/\*/tests/apps/\*]
- run: pnpm turbo run build --scope="@previewjs/cli" --include-dependencies
- run: pnpm turbo run build --filter=...@previewjs/cli
2 changes: 1 addition & 1 deletion .github/workflows/test-core-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ jobs:
- run: pnpm lint
- run: pnpm check-licenses
- run: pnpm check-deps
- run: pnpm turbo run build --scope="@previewjs/app" --include-dependencies
- run: pnpm turbo run build --filter=...@previewjs/app
- run: pnpm turbo run test --concurrency=1
2 changes: 1 addition & 1 deletion .github/workflows/test-vscode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ jobs:
with:
run_install: |
- args: [--filter=\!./framework-plugins/\*/tests/apps/\*]
- run: pnpm turbo run build --scope="@previewjs/loader" --include-dependencies
- run: pnpm turbo run build --filter=...@previewjs/loader
- run: cd integrations/vscode && pnpm build
4 changes: 2 additions & 2 deletions integrations/intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ tasks {
"cmd.exe",
"/c",
"node " + System.getProperty("user.dir") +
"\\..\\..\\node_modules\\turbo\\bin\\turbo run build --scope=@previewjs/intellij-daemon",
"\\..\\..\\node_modules\\turbo\\bin\\turbo run build --filter=@previewjs/intellij-daemon",
)
} else {
commandLine("sh", "-c", "../../node_modules/turbo/bin/turbo run build --scope=@previewjs/intellij-daemon")
commandLine("sh", "-c", "../../node_modules/turbo/bin/turbo run build --filter=@previewjs/intellij-daemon")
}
}
from(daemonDir) {
Expand Down
2 changes: 1 addition & 1 deletion integrations/intellij/daemon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"homepage": "https://previewjs.com",
"type": "module",
"scripts": {
"build": "cd ../../.. && turbo run build --scope=@previewjs/daemon --no-deps --include-dependencies && cd integrations/intellij/daemon && rimraf dist && tsc && node esbuild.js"
"build": "cd ../../.. && turbo run build --filter=...@previewjs/daemon && cd integrations/intellij/daemon && rimraf dist && tsc && node esbuild.js"
},
"devDependencies": {
"@previewjs/daemon": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion integrations/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"main": "./dist/index.js",
"scripts": {
"vscode:prepublish": "pnpm build",
"build": "cd ../.. && turbo run build --scope=@previewjs/daemon --no-deps --include-dependencies && cd integrations/vscode && rimraf dist previewjs-1.28.1.vsix && tsc && node esbuild.mjs",
"build": "cd ../.. && turbo run build --filter=...@previewjs/daemon && cd integrations/vscode && rimraf dist previewjs-1.28.1.vsix && tsc && node esbuild.mjs",
"build:dev": "cross-env PREVIEWJS_PORT=9316 PREVIEWJS_MODULES_DIR=../../dev-workspace PREVIEWJS_PACKAGE_NAME=@previewjs/app pnpm build",
"build:dev:pro": "cross-env PREVIEWJS_PORT=9316 PREVIEWJS_MODULES_DIR=../../dev-workspace PREVIEWJS_PACKAGE_NAME=@previewjs/pro pnpm build",
"dev:install": "pnpm vsce package --no-dependencies && code --install-extension previewjs-1.28.1.vsix --force"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"license-checker": "^25.0.1",
"prettier": "^2.8.8",
"ts-node": "^10.9.2",
"turbo": "^1.13.4",
"turbo": "^2.0.4",
"typescript": "^5.4.5"
},
"packageManager": "pnpm@9.4.0",
Expand Down
Loading
Loading