diff --git a/examples/hackernews/package.json b/examples/hackernews/package.json index 3ef279514294..2536820a4100 100644 --- a/examples/hackernews/package.json +++ b/examples/hackernews/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/node": "^0.0.0", + "@astrojs/node": "^8.3.3", "astro": "^4.15.2" } } diff --git a/examples/middleware/package.json b/examples/middleware/package.json index 65e6e89b5e6e..71d896b1c35b 100644 --- a/examples/middleware/package.json +++ b/examples/middleware/package.json @@ -12,7 +12,7 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^0.0.0", + "@astrojs/node": "^8.3.3", "astro": "^4.15.2", "html-minifier": "^4.0.0" }, diff --git a/examples/server-islands/package.json b/examples/server-islands/package.json index ec698d2f7b47..bf302656f18b 100644 --- a/examples/server-islands/package.json +++ b/examples/server-islands/package.json @@ -10,7 +10,7 @@ "astro": "astro" }, "devDependencies": { - "@astrojs/node": "^0.0.0", + "@astrojs/node": "^8.3.3", "@astrojs/react": "^3.6.2", "@astrojs/tailwind": "^5.1.0", "@fortawesome/fontawesome-free": "^6.6.0", diff --git a/examples/ssr/package.json b/examples/ssr/package.json index 985a6699a117..b038de0a6dfa 100644 --- a/examples/ssr/package.json +++ b/examples/ssr/package.json @@ -12,7 +12,7 @@ "server": "node dist/server/entry.mjs" }, "dependencies": { - "@astrojs/node": "^0.0.0", + "@astrojs/node": "^8.3.3", "@astrojs/svelte": "^5.7.0", "astro": "^4.15.2", "svelte": "^4.2.19" diff --git a/examples/view-transitions/package.json b/examples/view-transitions/package.json index 2e4b668d68ef..d704c40e43cd 100644 --- a/examples/view-transitions/package.json +++ b/examples/view-transitions/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@astrojs/tailwind": "^5.1.0", - "@astrojs/node": "^0.0.0", + "@astrojs/node": "^8.3.3", "astro": "^4.15.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 05fbde1e922a..d3c0c6716817 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -315,8 +315,8 @@ importers: examples/hackernews: dependencies: '@astrojs/node': - specifier: ^0.0.0 - version: link:../../packages/integrations/node + specifier: ^8.3.3 + version: 8.3.3(astro@packages+astro) astro: specifier: ^4.15.2 version: link:../../packages/astro @@ -330,8 +330,8 @@ importers: examples/middleware: dependencies: '@astrojs/node': - specifier: ^0.0.0 - version: link:../../packages/integrations/node + specifier: ^8.3.3 + version: 8.3.3(astro@packages+astro) astro: specifier: ^4.15.2 version: link:../../packages/astro @@ -364,8 +364,8 @@ importers: examples/server-islands: devDependencies: '@astrojs/node': - specifier: ^0.0.0 - version: link:../../packages/integrations/node + specifier: ^8.3.3 + version: 8.3.3(astro@packages+astro) '@astrojs/react': specifier: ^3.6.2 version: link:../../packages/integrations/react @@ -403,8 +403,8 @@ importers: examples/ssr: dependencies: '@astrojs/node': - specifier: ^0.0.0 - version: link:../../packages/integrations/node + specifier: ^8.3.3 + version: 8.3.3(astro@packages+astro) '@astrojs/svelte': specifier: ^5.7.0 version: link:../../packages/integrations/svelte @@ -436,8 +436,8 @@ importers: examples/view-transitions: devDependencies: '@astrojs/node': - specifier: ^0.0.0 - version: link:../../packages/integrations/node + specifier: ^8.3.3 + version: 8.3.3(astro@packages+astro) '@astrojs/tailwind': specifier: ^5.1.0 version: link:../../packages/integrations/tailwind diff --git a/scripts/deps/update-example-versions.js b/scripts/deps/update-example-versions.js index 6c9f8d01d86e..077c12b978dd 100644 --- a/scripts/deps/update-example-versions.js +++ b/scripts/deps/update-example-versions.js @@ -26,6 +26,8 @@ for (const workspaceDir of workspaceDirs) { const packageJson = await readAndParsePackageJson(packageJsonPath); if (!packageJson) continue; + if (packageJson.private === true) continue + if (!packageJson.name) { throw new Error(`${packageJsonPath} does not contain a "name" field.`); }