diff --git a/astro.config.ts b/astro.config.ts index 625e9d8e..5e55e256 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -208,6 +208,9 @@ export default defineConfig({ vite: { plugins: [rawFonts([".woff2", ".woff", ".ttf", ".otf"])], assetsInclude: ["**/*.wasm"], // Treat WASM files as assets (but not font files used by OG) + resolve: { + noExternal: ["@sumup-oss/circuit-ui", "@sumup-oss/illustrations"], + }, ssr: { external: ["buffer", "path", "fs"].map((i) => `node:${i}`), noExternal: ["workers-og"], diff --git a/package-lock.json b/package-lock.json index 1ba7ba00..818695b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,9 +24,9 @@ "@expressive-code/plugin-line-numbers": "0.44.1", "@resvg/resvg-wasm": "2.6.2", "@sindresorhus/slugify": "^3.0.0", - "@sumup-oss/circuit-ui": "11.12.0", + "@sumup-oss/circuit-ui": "11.15.1", "@sumup-oss/design-tokens": "10.1.0", - "@sumup-oss/icons": "6.12.0", + "@sumup-oss/icons": "6.15.0", "@sumup-oss/illustrations": "1.0.0", "@types/node": "26.2.0", "@types/react": "^19.2.18", @@ -4780,15 +4780,16 @@ "license": "MIT" }, "node_modules/@sumup-oss/circuit-ui": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/@sumup-oss/circuit-ui/-/circuit-ui-11.12.0.tgz", - "integrity": "sha512-Cxnsnyk7TLQx1ZI3GlqlkaMgwS6XnlnqS6f2jhM+KoJ0/kga2Xp1UNRAM6UGviL0kGvY3i3V1+3KnTUK0nPaKg==", + "version": "11.15.1", + "resolved": "https://registry.npmjs.org/@sumup-oss/circuit-ui/-/circuit-ui-11.15.1.tgz", + "integrity": "sha512-z3ql0V7pQcwaUAM7WyPQdQsu9lK90VbVC2b5jByiK99trsMhEuVUsIaD3cKh2Jql4DhO5N+tqlsq575c6/ptxQ==", "dev": true, "license": "Apache-2.0", "dependencies": { "@floating-ui/react-dom": "^2.1.8", "@nanostores/react": "^1.1.0", - "nanostores": "^1.3.0" + "@sumup-oss/illustrations": "^1.0.0", + "nanostores": "^1.4.1" }, "engines": { "node": ">=22", @@ -4803,7 +4804,7 @@ "@sumup-oss/intl": "^3.1.1", "react": ">=18.0.0 <20.0.0", "react-dom": ">=18.0.0 <20.0.0", - "temporal-polyfill": ">= 0.2.0 < 0.4.0" + "temporal-polyfill": ">=0.2.0 <2.0.0" } }, "node_modules/@sumup-oss/design-tokens": { @@ -4817,9 +4818,9 @@ } }, "node_modules/@sumup-oss/icons": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/@sumup-oss/icons/-/icons-6.12.0.tgz", - "integrity": "sha512-z+mKWLHgqYiEiHuCVElVj9Bnk4MufJTBPr9Cih8pn9pvpfvHAKWU8xclDGpR50U3GITH7hzc0QaKLFGTMYo1ww==", + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/@sumup-oss/icons/-/icons-6.15.0.tgz", + "integrity": "sha512-b6LV7CJSfGWlBpNCPkwSMCQlmxg76CqTVfHMrRi/IL52zDlpTY5bllbKtTQEiufVHY/g3kuqATfabRQgGP8X+w==", "dev": true, "license": "Apache-2.0", "engines": { @@ -13092,9 +13093,9 @@ } }, "node_modules/nanostores": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/nanostores/-/nanostores-1.3.0.tgz", - "integrity": "sha512-XPUa/jz+P1oJvN9VBxw4L9MtdFfaH3DAryqPssqhb2kXjmb9npz0dly6rCsgFWOPr4Yg9mTfM3MDZgZZ+7A3lA==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/nanostores/-/nanostores-1.4.2.tgz", + "integrity": "sha512-Wxv8Roefr2nqtiRG0bnaFlpYqpIVtOEeJZHaH+4nGgOK1/7n6OHOuHCb/bhqrNQgZM8fyd0s1PqhdrJc9Ib44g==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index 524e73dc..ab7762a0 100644 --- a/package.json +++ b/package.json @@ -71,9 +71,9 @@ "@expressive-code/plugin-line-numbers": "0.44.1", "@resvg/resvg-wasm": "2.6.2", "@sindresorhus/slugify": "^3.0.0", - "@sumup-oss/circuit-ui": "11.12.0", + "@sumup-oss/circuit-ui": "11.15.1", "@sumup-oss/design-tokens": "10.1.0", - "@sumup-oss/icons": "6.12.0", + "@sumup-oss/icons": "6.15.0", "@sumup-oss/illustrations": "1.0.0", "@types/node": "26.2.0", "@types/react": "^19.2.18",