From 339a2bad888efd6903b7bfbd521a519834d75743 Mon Sep 17 00:00:00 2001 From: konojunya Date: Sun, 6 Sep 2026 11:56:54 +0900 Subject: [PATCH] Render playground and documentation with Engine 0.8.0 --- package-lock.json | 8 ++++---- package.json | 2 +- scripts/validate-docs.mjs | 4 ++-- scripts/validate-example-corpus.mjs | 4 ++-- src/App.test.tsx | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index b34538b..fd05a42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@fontsource/ibm-plex-mono": "^5.3.0", "@shikijs/core": "4.4.3", "@shikijs/engine-javascript": "4.4.3", - "@stack-sh/engine": "0.7.0", + "@stack-sh/engine": "0.8.0", "@stack-sh/language": "0.1.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", @@ -4869,9 +4869,9 @@ "license": "CC0-1.0" }, "node_modules/@stack-sh/engine": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/@stack-sh/engine/-/engine-0.7.0.tgz", - "integrity": "sha512-Y6HCbiNHfdyqD1TEsDy3kNNtiswy7DPCHInYHUdrExjAW/GeeCLigYjHqLtUlXVmE/ppRpKxThZOOhy2sUQL5g==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@stack-sh/engine/-/engine-0.8.0.tgz", + "integrity": "sha512-nGZtxpH8Ca5j+1TW0dmlPQHDRynoUYcq1CaQ65DlyWc+ImmEbWEiRo6OiwXDN1tqaALN2a2TLkFpCSYW+fu/sA==", "license": "Apache-2.0" }, "node_modules/@stack-sh/language": { diff --git a/package.json b/package.json index da78c8c..dbe8d2f 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@fontsource/ibm-plex-mono": "^5.3.0", "@shikijs/core": "4.4.3", "@shikijs/engine-javascript": "4.4.3", - "@stack-sh/engine": "0.7.0", + "@stack-sh/engine": "0.8.0", "@stack-sh/language": "0.1.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", diff --git a/scripts/validate-docs.mjs b/scripts/validate-docs.mjs index 938cf10..96f0c48 100644 --- a/scripts/validate-docs.mjs +++ b/scripts/validate-docs.mjs @@ -21,8 +21,8 @@ const providerCatalog = JSON.parse( await readFile(path.join(docsRoot, ".vitepress/theme/data/provider-catalogs.json"), "utf8"), ) -if (packageMetadata.dependencies["@stack-sh/engine"] !== "0.7.0") { - throw new Error("Documentation must use the exact @stack-sh/engine 0.7.0 release") +if (packageMetadata.dependencies["@stack-sh/engine"] !== "0.8.0") { + throw new Error("Documentation must use the exact @stack-sh/engine 0.8.0 release") } const expectedProviderCounts = { aws: 305, gcp: 45, azure: 639, "simple-icons": 62 } diff --git a/scripts/validate-example-corpus.mjs b/scripts/validate-example-corpus.mjs index 1dc2f43..ece4389 100644 --- a/scripts/validate-example-corpus.mjs +++ b/scripts/validate-example-corpus.mjs @@ -66,7 +66,7 @@ for (const example of catalog.examples) { providerIcons.length, `${example.id} ${operation} provider fallback count does not match its source`, ) - assert.equal(result.metadata.engineVersion, "0.7.0") + assert.equal(result.metadata.engineVersion, "0.8.0") assert.deepEqual(result.metadata.languageVersion, { major: 1, minor: 0 }) } @@ -76,5 +76,5 @@ for (const example of catalog.examples) { } console.log( - `Validated ${catalog.examples.length} canonical examples with @stack-sh/engine 0.7.0; no SVG files are generated.`, + `Validated ${catalog.examples.length} canonical examples with @stack-sh/engine 0.8.0; no SVG files are generated.`, ) diff --git a/src/App.test.tsx b/src/App.test.tsx index 67e70af..fe4c694 100644 --- a/src/App.test.tsx +++ b/src/App.test.tsx @@ -45,7 +45,7 @@ function sourcePosition(source: string, utf16Index: number) { } const metadata = { - engineVersion: "0.7.0", + engineVersion: "0.8.0", languageVersion: { major: 1, minor: 0 }, themeCatalogRevision: "sha256:test", themeCatalogVersion: "0.4.0",