Skip to content

Commit 027ae15

Browse files
sirtimidclaude
andcommitted
chore: upgrade turbo, suppress build and install warnings
Upgrade Turborepo, suppress YN0002 peer dependency warnings in .yarnrc.yml, and add @vite-ignore to runtime-resolved worker URLs in extension and omnium-gatherum. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e9aa56b commit 027ae15

6 files changed

Lines changed: 71 additions & 63 deletions

File tree

.yarnrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ logFilters:
1313
level: discard
1414
- code: YN0086
1515
level: discard
16+
- code: YN0002
17+
level: discard
1618

1719
nodeLinker: node-modules
1820

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"semver": "^7.7.1",
9898
"simple-git-hooks": "^2.12.1",
9999
"tsx": "^4.20.6",
100-
"turbo": "^2.5.6",
100+
"turbo": "^2.9.1",
101101
"typedoc": "^0.28.1",
102102
"typescript": "~5.8.2",
103103
"typescript-eslint": "^8.29.0",

packages/extension/src/offscreen.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ async function makeKernelWorker(): Promise<
7171
});
7272
workerUrlParams.set('reset-storage', process.env.RESET_STORAGE ?? 'false');
7373

74-
const workerUrl = new URL('kernel-worker.js', import.meta.url);
74+
const workerUrl = new URL(
75+
/* @vite-ignore */ 'kernel-worker.js',
76+
import.meta.url,
77+
);
7578
workerUrl.search = workerUrlParams.toString();
7679

7780
const worker = new Worker(workerUrl, {

packages/omnium-gatherum/src/offscreen.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@ async function makeKernelWorker(): Promise<
9191
] satisfies SystemSubclusterConfig[];
9292
workerUrlParams.set('system-subclusters', JSON.stringify(systemSubclusters));
9393

94-
const workerUrl = new URL('kernel-worker.js', import.meta.url);
94+
const workerUrl = new URL(
95+
/* @vite-ignore */ 'kernel-worker.js',
96+
import.meta.url,
97+
);
9598
workerUrl.search = workerUrlParams.toString();
9699

97100
const worker = new Worker(workerUrl, {

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://turborepo.com/schema.json",
2+
"$schema": "https://v2-9-1.turborepo.dev/schema.json",
33
"tasks": {
44
"build": {
55
"dependsOn": ["^build"],

yarn.lock

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -4123,7 +4123,7 @@ __metadata:
41234123
semver: "npm:^7.7.1"
41244124
simple-git-hooks: "npm:^2.12.1"
41254125
tsx: "npm:^4.20.6"
4126-
turbo: "npm:^2.5.6"
4126+
turbo: "npm:^2.9.1"
41274127
typedoc: "npm:^0.28.1"
41284128
typescript: "npm:~5.8.2"
41294129
typescript-eslint: "npm:^8.29.0"
@@ -5391,6 +5391,48 @@ __metadata:
53915391
languageName: node
53925392
linkType: hard
53935393

5394+
"@turbo/darwin-64@npm:2.9.1":
5395+
version: 2.9.1
5396+
resolution: "@turbo/darwin-64@npm:2.9.1"
5397+
conditions: os=darwin & cpu=x64
5398+
languageName: node
5399+
linkType: hard
5400+
5401+
"@turbo/darwin-arm64@npm:2.9.1":
5402+
version: 2.9.1
5403+
resolution: "@turbo/darwin-arm64@npm:2.9.1"
5404+
conditions: os=darwin & cpu=arm64
5405+
languageName: node
5406+
linkType: hard
5407+
5408+
"@turbo/linux-64@npm:2.9.1":
5409+
version: 2.9.1
5410+
resolution: "@turbo/linux-64@npm:2.9.1"
5411+
conditions: os=linux & cpu=x64
5412+
languageName: node
5413+
linkType: hard
5414+
5415+
"@turbo/linux-arm64@npm:2.9.1":
5416+
version: 2.9.1
5417+
resolution: "@turbo/linux-arm64@npm:2.9.1"
5418+
conditions: os=linux & cpu=arm64
5419+
languageName: node
5420+
linkType: hard
5421+
5422+
"@turbo/windows-64@npm:2.9.1":
5423+
version: 2.9.1
5424+
resolution: "@turbo/windows-64@npm:2.9.1"
5425+
conditions: os=win32 & cpu=x64
5426+
languageName: node
5427+
linkType: hard
5428+
5429+
"@turbo/windows-arm64@npm:2.9.1":
5430+
version: 2.9.1
5431+
resolution: "@turbo/windows-arm64@npm:2.9.1"
5432+
conditions: os=win32 & cpu=arm64
5433+
languageName: node
5434+
linkType: hard
5435+
53945436
"@tybys/wasm-util@npm:^0.10.0":
53955437
version: 0.10.0
53965438
resolution: "@tybys/wasm-util@npm:0.10.0"
@@ -15208,74 +15250,32 @@ __metadata:
1520815250
languageName: node
1520915251
linkType: hard
1521015252

15211-
"turbo-darwin-64@npm:2.5.6":
15212-
version: 2.5.6
15213-
resolution: "turbo-darwin-64@npm:2.5.6"
15214-
conditions: os=darwin & cpu=x64
15215-
languageName: node
15216-
linkType: hard
15217-
15218-
"turbo-darwin-arm64@npm:2.5.6":
15219-
version: 2.5.6
15220-
resolution: "turbo-darwin-arm64@npm:2.5.6"
15221-
conditions: os=darwin & cpu=arm64
15222-
languageName: node
15223-
linkType: hard
15224-
15225-
"turbo-linux-64@npm:2.5.6":
15226-
version: 2.5.6
15227-
resolution: "turbo-linux-64@npm:2.5.6"
15228-
conditions: os=linux & cpu=x64
15229-
languageName: node
15230-
linkType: hard
15231-
15232-
"turbo-linux-arm64@npm:2.5.6":
15233-
version: 2.5.6
15234-
resolution: "turbo-linux-arm64@npm:2.5.6"
15235-
conditions: os=linux & cpu=arm64
15236-
languageName: node
15237-
linkType: hard
15238-
15239-
"turbo-windows-64@npm:2.5.6":
15240-
version: 2.5.6
15241-
resolution: "turbo-windows-64@npm:2.5.6"
15242-
conditions: os=win32 & cpu=x64
15243-
languageName: node
15244-
linkType: hard
15245-
15246-
"turbo-windows-arm64@npm:2.5.6":
15247-
version: 2.5.6
15248-
resolution: "turbo-windows-arm64@npm:2.5.6"
15249-
conditions: os=win32 & cpu=arm64
15250-
languageName: node
15251-
linkType: hard
15252-
15253-
"turbo@npm:^2.5.6":
15254-
version: 2.5.6
15255-
resolution: "turbo@npm:2.5.6"
15253+
"turbo@npm:^2.5.6, turbo@npm:^2.9.1":
15254+
version: 2.9.1
15255+
resolution: "turbo@npm:2.9.1"
1525615256
dependencies:
15257-
turbo-darwin-64: "npm:2.5.6"
15258-
turbo-darwin-arm64: "npm:2.5.6"
15259-
turbo-linux-64: "npm:2.5.6"
15260-
turbo-linux-arm64: "npm:2.5.6"
15261-
turbo-windows-64: "npm:2.5.6"
15262-
turbo-windows-arm64: "npm:2.5.6"
15257+
"@turbo/darwin-64": "npm:2.9.1"
15258+
"@turbo/darwin-arm64": "npm:2.9.1"
15259+
"@turbo/linux-64": "npm:2.9.1"
15260+
"@turbo/linux-arm64": "npm:2.9.1"
15261+
"@turbo/windows-64": "npm:2.9.1"
15262+
"@turbo/windows-arm64": "npm:2.9.1"
1526315263
dependenciesMeta:
15264-
turbo-darwin-64:
15264+
"@turbo/darwin-64":
1526515265
optional: true
15266-
turbo-darwin-arm64:
15266+
"@turbo/darwin-arm64":
1526715267
optional: true
15268-
turbo-linux-64:
15268+
"@turbo/linux-64":
1526915269
optional: true
15270-
turbo-linux-arm64:
15270+
"@turbo/linux-arm64":
1527115271
optional: true
15272-
turbo-windows-64:
15272+
"@turbo/windows-64":
1527315273
optional: true
15274-
turbo-windows-arm64:
15274+
"@turbo/windows-arm64":
1527515275
optional: true
1527615276
bin:
1527715277
turbo: bin/turbo
15278-
checksum: 10/8b6509854c32b3163a6de943787e9a33d2c610577360968db1a0cc959b79aaf7e8e80611a349384295e9181ac26edede2a86ea9867d8e6b3d2d676c584b2a3a5
15278+
checksum: 10/bedcd8b17dda58c384ecd70fae5895894cb64d4f37677604500c72b94b4a02674ccc11c7d3065775eeac1048900c4f0db067ba2bd024cf469976ac367ad6436e
1527915279
languageName: node
1528015280
linkType: hard
1528115281

0 commit comments

Comments
 (0)