mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
Fix examples version update for removed packages (#11901)
This commit is contained in:
parent
8a1abcfd9d
commit
19751df887
7 changed files with 17 additions and 15 deletions
|
@ -11,7 +11,7 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^0.0.0",
|
"@astrojs/node": "^8.3.3",
|
||||||
"astro": "^4.15.2"
|
"astro": "^4.15.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"server": "node dist/server/entry.mjs"
|
"server": "node dist/server/entry.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^0.0.0",
|
"@astrojs/node": "^8.3.3",
|
||||||
"astro": "^4.15.2",
|
"astro": "^4.15.2",
|
||||||
"html-minifier": "^4.0.0"
|
"html-minifier": "^4.0.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/node": "^0.0.0",
|
"@astrojs/node": "^8.3.3",
|
||||||
"@astrojs/react": "^3.6.2",
|
"@astrojs/react": "^3.6.2",
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
"@fortawesome/fontawesome-free": "^6.6.0",
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
"server": "node dist/server/entry.mjs"
|
"server": "node dist/server/entry.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/node": "^0.0.0",
|
"@astrojs/node": "^8.3.3",
|
||||||
"@astrojs/svelte": "^5.7.0",
|
"@astrojs/svelte": "^5.7.0",
|
||||||
"astro": "^4.15.2",
|
"astro": "^4.15.2",
|
||||||
"svelte": "^4.2.19"
|
"svelte": "^4.2.19"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/tailwind": "^5.1.0",
|
"@astrojs/tailwind": "^5.1.0",
|
||||||
"@astrojs/node": "^0.0.0",
|
"@astrojs/node": "^8.3.3",
|
||||||
"astro": "^4.15.2"
|
"astro": "^4.15.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
20
pnpm-lock.yaml
generated
20
pnpm-lock.yaml
generated
|
@ -315,8 +315,8 @@ importers:
|
||||||
examples/hackernews:
|
examples/hackernews:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@astrojs/node':
|
'@astrojs/node':
|
||||||
specifier: ^0.0.0
|
specifier: ^8.3.3
|
||||||
version: link:../../packages/integrations/node
|
version: 8.3.3(astro@packages+astro)
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.15.2
|
specifier: ^4.15.2
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
@ -330,8 +330,8 @@ importers:
|
||||||
examples/middleware:
|
examples/middleware:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@astrojs/node':
|
'@astrojs/node':
|
||||||
specifier: ^0.0.0
|
specifier: ^8.3.3
|
||||||
version: link:../../packages/integrations/node
|
version: 8.3.3(astro@packages+astro)
|
||||||
astro:
|
astro:
|
||||||
specifier: ^4.15.2
|
specifier: ^4.15.2
|
||||||
version: link:../../packages/astro
|
version: link:../../packages/astro
|
||||||
|
@ -364,8 +364,8 @@ importers:
|
||||||
examples/server-islands:
|
examples/server-islands:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@astrojs/node':
|
'@astrojs/node':
|
||||||
specifier: ^0.0.0
|
specifier: ^8.3.3
|
||||||
version: link:../../packages/integrations/node
|
version: 8.3.3(astro@packages+astro)
|
||||||
'@astrojs/react':
|
'@astrojs/react':
|
||||||
specifier: ^3.6.2
|
specifier: ^3.6.2
|
||||||
version: link:../../packages/integrations/react
|
version: link:../../packages/integrations/react
|
||||||
|
@ -403,8 +403,8 @@ importers:
|
||||||
examples/ssr:
|
examples/ssr:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@astrojs/node':
|
'@astrojs/node':
|
||||||
specifier: ^0.0.0
|
specifier: ^8.3.3
|
||||||
version: link:../../packages/integrations/node
|
version: 8.3.3(astro@packages+astro)
|
||||||
'@astrojs/svelte':
|
'@astrojs/svelte':
|
||||||
specifier: ^5.7.0
|
specifier: ^5.7.0
|
||||||
version: link:../../packages/integrations/svelte
|
version: link:../../packages/integrations/svelte
|
||||||
|
@ -436,8 +436,8 @@ importers:
|
||||||
examples/view-transitions:
|
examples/view-transitions:
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@astrojs/node':
|
'@astrojs/node':
|
||||||
specifier: ^0.0.0
|
specifier: ^8.3.3
|
||||||
version: link:../../packages/integrations/node
|
version: 8.3.3(astro@packages+astro)
|
||||||
'@astrojs/tailwind':
|
'@astrojs/tailwind':
|
||||||
specifier: ^5.1.0
|
specifier: ^5.1.0
|
||||||
version: link:../../packages/integrations/tailwind
|
version: link:../../packages/integrations/tailwind
|
||||||
|
|
|
@ -26,6 +26,8 @@ for (const workspaceDir of workspaceDirs) {
|
||||||
const packageJson = await readAndParsePackageJson(packageJsonPath);
|
const packageJson = await readAndParsePackageJson(packageJsonPath);
|
||||||
if (!packageJson) continue;
|
if (!packageJson) continue;
|
||||||
|
|
||||||
|
if (packageJson.private === true) continue
|
||||||
|
|
||||||
if (!packageJson.name) {
|
if (!packageJson.name) {
|
||||||
throw new Error(`${packageJsonPath} does not contain a "name" field.`);
|
throw new Error(`${packageJsonPath} does not contain a "name" field.`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue