Skip to content

Commit

Permalink
chore(deps): update dependency turbo to v2 (#2721)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [turbo](https://turbo.build/repo)
([source](https://github.com/vercel/turbo)) | [`^1.13.4` ->
`^2.0.4`](https://renovatebot.com/diffs/npm/turbo/1.13.4/2.0.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/turbo/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/turbo/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/turbo/1.13.4/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/turbo/1.13.4/2.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vercel/turbo (turbo)</summary>

### [`v2.0.4`](https://github.com/vercel/turbo/releases/tag/v2.0.4):
Turborepo v2.0.4

[Compare
Source](https://github.com/vercel/turbo/compare/v2.0.3...v2.0.4)

<!-- Release notes generated using configuration in
.github/turborepo-release.yml at v2.0.4 -->

#### What's Changed

##### create-turbo

- Update `create-turbo` to use carat versions. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8448](https://github.com/vercel/turbo/pull/8448)

##### [@&#8203;turbo/codemod](https://github.com/turbo/codemod)

- chore: bump timeout for migration by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8463](https://github.com/vercel/turbo/pull/8463)
- fix([@&#8203;turbo/codemode](https://github.com/turbo/codemode)):
no-op when turbo.json already contains tasks key by
[@&#8203;mehulkar](https://github.com/mehulkar) in
[https://github.com/vercel/turbo/pull/8471](https://github.com/vercel/turbo/pull/8471)

##### Examples

- Give examples carat versions. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8382](https://github.com/vercel/turbo/pull/8382)
- Fix apk order in example. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8392](https://github.com/vercel/turbo/pull/8392)
- Fix `eslint-config-turbo` configuration in examples. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8405](https://github.com/vercel/turbo/pull/8405)
- Remove root eslintrc from basic example. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8423](https://github.com/vercel/turbo/pull/8423)
- Consistent Node.js version in Changesets action. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8441](https://github.com/vercel/turbo/pull/8441)
- Remove global dep from basic example. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8442](https://github.com/vercel/turbo/pull/8442)

##### Changelog

- fix(filter): account for root internal dependencies in git based
filter by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8364](https://github.com/vercel/turbo/pull/8364)
- Warn instead of print when no locally installed version. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8384](https://github.com/vercel/turbo/pull/8384)
- Add CI to default passthroughs. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8393](https://github.com/vercel/turbo/pull/8393)
- feat(shim): invoke local turbo version via npx if not installed by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8385](https://github.com/vercel/turbo/pull/8385)
- docs: update links to logs in turbo types by
[@&#8203;boyum](https://github.com/boyum) in
[https://github.com/vercel/turbo/pull/8403](https://github.com/vercel/turbo/pull/8403)
- fix: added `LD_LIBRARY_PATH` to default forwarded env vars by
[@&#8203;GauBen](https://github.com/GauBen) in
[https://github.com/vercel/turbo/pull/8412](https://github.com/vercel/turbo/pull/8412)
- chore(turborepo): remove unused code by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8428](https://github.com/vercel/turbo/pull/8428)
- fix: disable panic handler in ci by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8436](https://github.com/vercel/turbo/pull/8436)
- fix: remove inferring turbo version from package.json or turbo.json by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8437](https://github.com/vercel/turbo/pull/8437)
- fix(turborepo): avoid starting ui on too small terminals by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8457](https://github.com/vercel/turbo/pull/8457)
- chore(shim): make dynamic downloads opt in by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8458](https://github.com/vercel/turbo/pull/8458)
- fix(shim): avoid panic if user has malformed lockfile by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8461](https://github.com/vercel/turbo/pull/8461)
- fix(ui): pass through terminal env vars to appease chalk by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8468](https://github.com/vercel/turbo/pull/8468)

#### New Contributors

- [@&#8203;boyum](https://github.com/boyum) made their first
contribution in
[https://github.com/vercel/turbo/pull/8403](https://github.com/vercel/turbo/pull/8403)
- [@&#8203;GauBen](https://github.com/GauBen) made their first
contribution in
[https://github.com/vercel/turbo/pull/8412](https://github.com/vercel/turbo/pull/8412)
- [@&#8203;sethidden](https://github.com/sethidden) made their first
contribution in
[https://github.com/vercel/turbo/pull/8450](https://github.com/vercel/turbo/pull/8450)

**Full Changelog**:
vercel/turborepo@v2.0.3...v2.0.4

### [`v2.0.3`](https://github.com/vercel/turbo/releases/tag/v2.0.3):
Turborepo v2.0.3

[Compare
Source](https://github.com/vercel/turbo/compare/v2.0.2...v2.0.3)

<!-- Release notes generated using configuration in
.github/turborepo-release.yml at v2.0.3 -->

#### What's Changed

##### turbo-ignore

- fix(turbo-ignore): infer correct version of turbo for project by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8363](https://github.com/vercel/turbo/pull/8363)

##### Changelog

- feat: warn when no local turbo found by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8356](https://github.com/vercel/turbo/pull/8356)

**Full Changelog**:
vercel/turborepo@v2.0.2...v2.0.3

### [`v2.0.2`](https://github.com/vercel/turbo/releases/tag/v2.0.2):
Turborepo v2.0.2

[Compare
Source](https://github.com/vercel/turbo/compare/v2.0.1...v2.0.2)

<!-- Release notes generated using configuration in
.github/turborepo-release.yml at v2.0.2 -->

#### What's Changed

##### [@&#8203;turbo/codemod](https://github.com/turbo/codemod)

- fix(turborepo): factor in negated globs for workspace detection in
codemods by [@&#8203;NicholasLYang](https://github.com/NicholasLYang)
in
[https://github.com/vercel/turbo/pull/8331](https://github.com/vercel/turbo/pull/8331)

##### Examples

- Bump examples to 2.0.0. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[https://github.com/vercel/turbo/pull/8284](https://github.com/vercel/turbo/pull/8284)

##### Changelog

- feat(ui): respect CI and NO_COLOR as overrides for TUI by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8335](https://github.com/vercel/turbo/pull/8335)
- fix(ui): no longer attempt to read from stdin if non-tty by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8333](https://github.com/vercel/turbo/pull/8333)
- fix: correctly serialize ui values by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8338](https://github.com/vercel/turbo/pull/8338)
- fix: add NODE_OPTIONS to default pass through env vars by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8353](https://github.com/vercel/turbo/pull/8353)
- chore: add additional env vars to default pass through by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8359](https://github.com/vercel/turbo/pull/8359)
- fix(ui): disable TUI if log order is specified by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8343](https://github.com/vercel/turbo/pull/8343)

#### New Contributors

- [@&#8203;dvoytenko](https://github.com/dvoytenko) made their first
contribution in
[https://github.com/vercel/turbo/pull/8334](https://github.com/vercel/turbo/pull/8334)

**Full Changelog**:
vercel/turborepo@v2.0.1...v2.0.2

### [`v2.0.1`](https://github.com/vercel/turbo/releases/tag/v2.0.1):
Turborepo v2.0.1

[Compare
Source](https://github.com/vercel/turbo/compare/v2.0.0...v2.0.1)

<!-- Release notes generated using configuration in
.github/turborepo-release.yml at v2.0.1 -->

**Full Changelog**:
vercel/turborepo@v2.0.0...v2.0.1

### [`v2.0.0`](https://github.com/vercel/turbo/releases/tag/v2.0.0):
Turborepo v2.0.0

[Compare
Source](https://github.com/vercel/turbo/compare/v1.13.4...v2.0.0)

<!-- Release notes generated using configuration in
.github/turborepo-release.yml at v2.0.0 -->

#### What's Changed

Upgrade guide:
https://turbo.build/repo/docs/crafting-your-repository/upgrading

##### [@&#8203;turbo/codemod](https://github.com/turbo/codemod)

- feat(codemod): add logic for major version bump by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8260](https://github.com/vercel/turbo/pull/8260)
- feat(codemod): place tasks last in turbo.json rewrites by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8268](https://github.com/vercel/turbo/pull/8268)
- fix(codemod): support jsonc when parsing root turbo.json by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8279](https://github.com/vercel/turbo/pull/8279)
- fix(codemod): respect --dry flag by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8280](https://github.com/vercel/turbo/pull/8280)
- feat: change values of "ui" in turbo.json by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8289](https://github.com/vercel/turbo/pull/8289)
- fix(codemod): support jsonc when parsing root turbo.json by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8279](https://github.com/vercel/turbo/pull/8279)
- feat(codemod): place tasks last in turbo.json rewrites by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8268](https://github.com/vercel/turbo/pull/8268)
- feat(codemod): add logic for major version bump by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8260](https://github.com/vercel/turbo/pull/8260)
- feat(codemod): add missing package names by
[@&#8203;tknickman](https://github.com/tknickman) in
[https://github.com/vercel/turbo/pull/8186](https://github.com/vercel/turbo/pull/8186)

##### Changelog

##### Breaking

- chore: remove legacy filter flags by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8294](https://github.com/vercel/turbo/pull/8294)/
- chore(turborepo): adjust error message for pipeline by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8264](https://github.com/vercel/turbo/pull/8264)
- chore(turbo)!: remove check for legacy turbo config in package.json by
[@&#8203;mehulkar](https://github.com/mehulkar) in
[https://github.com/vercel/turbo/pull/8023](https://github.com/vercel/turbo/pull/8023)
- chore(turbo)! hard error on env vars in task and global dependencies
by [@&#8203;mehulkar](https://github.com/mehulkar) in
[#&#8203;8026](https://github.com/vercel/turbo/issues/8026)
- feat: require packageManager in package.json by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8017](https://github.com/vercel/turbo/issues/8017)
- feat(filter): no longer infer scope in filters by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8137](https://github.com/vercel/turbo/issues/8137)
- chore!(create-turbo): remove old pm arg by
[@&#8203;tknickman](https://github.com/tknickman) in
[#&#8203;8150](https://github.com/vercel/turbo/issues/8150)
- feat: error on empty package name by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski)
[#&#8203;8152](https://github.com/vercel/turbo/issues/8152)
- feat(filter): error on invalid filters by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski)
[#&#8203;8142](https://github.com/vercel/turbo/issues/8142)
- Move fs cache location. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[#&#8203;8126](https://github.com/vercel/turbo/issues/8126)
- refactor(turborepo): Rename outputMode to outputLogs in turbo.json by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[#&#8203;8149](https://github.com/vercel/turbo/issues/8149)
- feat: --only now applies to package dependencies by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8163](https://github.com/vercel/turbo/issues/8163)
- Rename pipeline to tasks. by
[@&#8203;anthonyshew](https://github.com/anthonyshew) in
[#&#8203;8157](https://github.com/vercel/turbo/issues/8157)
- feat: add doublestar to exact dir paths by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8180](https://github.com/vercel/turbo/issues/8180)
- chore: remove globalDotEnv and dotEnv fields by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8181](https://github.com/vercel/turbo/issues/8181)
- chore: make env mode strict by default by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8182](https://github.com/vercel/turbo/issues/8182)

##### Other

- feat: allow for negative globs in globalDeps by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8190](https://github.com/vercel/turbo/issues/8190)
- chore: change turborepo licenses to MIT by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8197](https://github.com/vercel/turbo/issues/8197)
- feat: all dependencies of root package contribute to global hash by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8202](https://github.com/vercel/turbo/issues/8202)
- fix(turborepo): non-determinism with root internal deps hash. by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8277](https://github.com/vercel/turbo/pull/8277)
- fix: update integration test to expect correct output by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8285](https://github.com/vercel/turbo/pull/8285)
- chore: remove cpuprofile flag by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8282](https://github.com/vercel/turbo/pull/8282)
- fix(ui): disable UI on all dry runs by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8269](https://github.com/vercel/turbo/pull/8269)
- fix(turborepo): stderr log by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8267](https://github.com/vercel/turbo/pull/8267)
- chore(turborepo): adjust error message for pipeline by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8264](https://github.com/vercel/turbo/pull/8264)
- fix(ui): ensure prelude gets printed before ui starts by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8265](https://github.com/vercel/turbo/pull/8265)
-
chore([@&#8203;turbo/benchmark](https://github.com/turbo/benchmark)):
fix lint warnings by [@&#8203;mehulkar](https://github.com/mehulkar)
in
[https://github.com/vercel/turbo/pull/8233](https://github.com/vercel/turbo/pull/8233)
- chore(turborepo): Feature flagged off file hashing by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8229](https://github.com/vercel/turbo/pull/8229)
- chore: downgrade curl to fix Windows rust tests by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8242](https://github.com/vercel/turbo/pull/8242)
- fix(turborepo): Remove optional git locks by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8244](https://github.com/vercel/turbo/pull/8244)
- fix(turborepo): Optional lock with env var by
[@&#8203;NicholasLYang](https://github.com/NicholasLYang) in
[https://github.com/vercel/turbo/pull/8247](https://github.com/vercel/turbo/pull/8247)
- add two retry strategies to allow requests to timeout gracefully by
[@&#8203;arlyon](https://github.com/arlyon) in
[https://github.com/vercel/turbo/pull/8080](https://github.com/vercel/turbo/pull/8080)
- add support for upload speed / remaining in the cache upload step by
[@&#8203;arlyon](https://github.com/arlyon) in
[https://github.com/vercel/turbo/pull/8081](https://github.com/vercel/turbo/pull/8081)
- chore: remove --ignore flag by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[https://github.com/vercel/turbo/pull/8201](https://github.com/vercel/turbo/pull/8201)
- feat: factor engines into global cache key by
[@&#8203;chris-olszewski](https://github.com/chris-olszewski) in
[#&#8203;8173](https://github.com/vercel/turbo/issues/8173)

**Full Changelog**:
vercel/turborepo@v1.13.4...v2.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: François Wouts <f@zenc.io>
  • Loading branch information
renovate[bot] and fwouts authored Jun 21, 2024
1 parent 7df4b21 commit 356b933
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 94 deletions.
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

0 comments on commit 356b933

Please sign in to comment.