mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
exit prerelease mode (#2967)
This commit is contained in:
parent
bae719505d
commit
3483cc2285
27 changed files with 268 additions and 264 deletions
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"mode": "pre",
|
"mode": "exit",
|
||||||
"tag": "next",
|
"tag": "next",
|
||||||
"initialVersions": {
|
"initialVersions": {
|
||||||
"@example/blog": "0.0.1",
|
"@example/blog": "0.0.1",
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.0.2",
|
"@astrojs/preact": "^0.0.2",
|
||||||
"astro": "^0.25.4",
|
"astro": "^0.25.4",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.11"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"preact": "^10.6.6"
|
"preact": "^10.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,4 @@ import preact from '@astrojs/preact';
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [preact()],
|
integrations: [preact()],
|
||||||
site: 'https://example.com',
|
|
||||||
base: '/subpath',
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
"preview": "astro preview"
|
"preview": "astro preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "^0.25.4",
|
"@astrojs/preact": "^0.0.2",
|
||||||
"@astrojs/preact": "^0.0.2"
|
"astro": "^0.25.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"preact": "^10.6.6"
|
"preact": "^10.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"@docsearch/css": "^3.0.0",
|
"@docsearch/css": "^3.0.0",
|
||||||
"@docsearch/react": "^3.0.0",
|
"@docsearch/react": "^3.0.0",
|
||||||
"@types/react": "^17.0.43",
|
"@types/react": "^17.0.43",
|
||||||
"preact": "^10.6.6",
|
"preact": "^10.7.0",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0"
|
"react-dom": "^18.0.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -20,11 +20,11 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@webcomponents/template-shadowroot": "^0.1.0",
|
"@webcomponents/template-shadowroot": "^0.1.0",
|
||||||
"lit": "^2.2.1",
|
"lit": "^2.2.1",
|
||||||
"preact": "^10.6.6",
|
"preact": "^10.7.0",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "^18.0.0",
|
||||||
"solid-js": "^1.3.13",
|
"solid-js": "^1.3.13",
|
||||||
"svelte": "^3.46.4",
|
"svelte": "^3.46.6",
|
||||||
"vue": "^3.2.31"
|
"vue": "^3.2.31"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,6 @@
|
||||||
"astro": "^0.25.4"
|
"astro": "^0.25.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"preact": "^10.6.6"
|
"preact": "^10.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,6 @@
|
||||||
"astro": "^0.25.4"
|
"astro": "^0.25.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"svelte": "^3.46.4"
|
"svelte": "^3.46.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,11 +20,11 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@webcomponents/template-shadowroot": "^0.1.0",
|
"@webcomponents/template-shadowroot": "^0.1.0",
|
||||||
"lit": "^2.2.1",
|
"lit": "^2.2.1",
|
||||||
"preact": "^10.6.6",
|
"preact": "^10.7.0",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "^18.0.0",
|
||||||
"solid-js": "^1.3.13",
|
"solid-js": "^1.3.13",
|
||||||
"svelte": "^3.46.4",
|
"svelte": "^3.46.6",
|
||||||
"vue": "^3.2.31"
|
"vue": "^3.2.31"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/preact": "^0.0.2",
|
"@astrojs/preact": "^0.0.2",
|
||||||
"astro": "^0.25.4",
|
"astro": "^0.25.4",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.11"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"preact": "^10.6.6"
|
"preact": "^10.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,15 +9,15 @@
|
||||||
"server": "node server/server.mjs"
|
"server": "node server/server.mjs"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/svelte": "^0.0.2",
|
|
||||||
"@astrojs/node": "^0.0.2",
|
"@astrojs/node": "^0.0.2",
|
||||||
|
"@astrojs/svelte": "^0.0.2",
|
||||||
"astro": "^0.25.4",
|
"astro": "^0.25.4",
|
||||||
"concurrently": "^7.0.0",
|
"concurrently": "^7.1.0",
|
||||||
"lightcookie": "^1.0.25",
|
"lightcookie": "^1.0.25",
|
||||||
"unocss": "^0.15.6",
|
"unocss": "^0.15.6",
|
||||||
"vite-imagetools": "^4.0.3"
|
"vite-imagetools": "^4.0.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"svelte": "^3.46.4"
|
"svelte": "^3.46.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astrojs/react": "^0.0.2",
|
"@astrojs/react": "^0.0.2",
|
||||||
"astro": "^0.25.4",
|
"astro": "^0.25.4",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.11"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
"astro": "^0.25.4"
|
"astro": "^0.25.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"preact": "^10.6.6",
|
"preact": "^10.7.0",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "^18.0.0",
|
||||||
"svelte": "^3.46.4",
|
"svelte": "^3.46.6",
|
||||||
"vue": "^3.2.31"
|
"vue": "^3.2.31"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"@nanostores/react": "^0.1.5",
|
"@nanostores/react": "^0.1.5",
|
||||||
"@nanostores/vue": "^0.4.1",
|
"@nanostores/vue": "^0.4.1",
|
||||||
"nanostores": "^0.5.12",
|
"nanostores": "^0.5.12",
|
||||||
"preact": "^10.6.6",
|
"preact": "^10.7.0",
|
||||||
"react": "^18.0.0",
|
"react": "^18.0.0",
|
||||||
"react-dom": "^18.0.0",
|
"react-dom": "^18.0.0",
|
||||||
"solid-nanostores": "0.0.6",
|
"solid-nanostores": "0.0.6",
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
"eslint-plugin-prettier": "^4.0.0",
|
"eslint-plugin-prettier": "^4.0.0",
|
||||||
"execa": "^6.1.0",
|
"execa": "^6.1.0",
|
||||||
"prettier": "^2.6.1",
|
"prettier": "^2.6.2",
|
||||||
"pretty-bytes": "^6.0.0",
|
"pretty-bytes": "^6.0.0",
|
||||||
"tiny-glob": "^0.2.9",
|
"tiny-glob": "^0.2.9",
|
||||||
"turbo": "^1.1.10",
|
"turbo": "^1.1.10",
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/compiler": "^0.14.1",
|
"@astrojs/compiler": "^0.14.1",
|
||||||
"@astrojs/language-server": "^0.13.2",
|
"@astrojs/language-server": "^0.13.3",
|
||||||
"@astrojs/markdown-remark": "^0.7.0",
|
"@astrojs/markdown-remark": "^0.7.0",
|
||||||
"@astrojs/prism": "0.4.1",
|
"@astrojs/prism": "0.4.1",
|
||||||
"@astrojs/webapi": "^0.11.0",
|
"@astrojs/webapi": "^0.11.0",
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
"strip-ansi": "^7.0.1",
|
"strip-ansi": "^7.0.1",
|
||||||
"supports-esm": "^1.0.0",
|
"supports-esm": "^1.0.0",
|
||||||
"tsconfig-resolver": "^3.0.1",
|
"tsconfig-resolver": "^3.0.1",
|
||||||
"vite": "^2.8.6",
|
"vite": "^2.9.1",
|
||||||
"yargs-parser": "^21.0.1",
|
"yargs-parser": "^21.0.1",
|
||||||
"zod": "^3.14.3"
|
"zod": "^3.14.3"
|
||||||
},
|
},
|
||||||
|
@ -159,7 +159,7 @@
|
||||||
"chai": "^4.3.6",
|
"chai": "^4.3.6",
|
||||||
"cheerio": "^1.0.0-rc.10",
|
"cheerio": "^1.0.0-rc.10",
|
||||||
"mocha": "^9.2.2",
|
"mocha": "^9.2.2",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.11"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.15.0 || >=16.0.0",
|
"node": "^14.15.0 || >=16.0.0",
|
||||||
|
|
|
@ -44,7 +44,7 @@ async function resolvePostcssConfig(inlineOptions: any, root: URL): Promise<Post
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const LegacyAstroConfigKeys = new Set([
|
export const LEGACY_ASTRO_CONFIG_KEYS = new Set([
|
||||||
'projectRoot',
|
'projectRoot',
|
||||||
'src',
|
'src',
|
||||||
'pages',
|
'pages',
|
||||||
|
@ -202,7 +202,7 @@ export async function validateConfig(userConfig: any, root: string, cmd: string)
|
||||||
|
|
||||||
let oldConfig = false;
|
let oldConfig = false;
|
||||||
for (const key of Object.keys(userConfig)) {
|
for (const key of Object.keys(userConfig)) {
|
||||||
if (LegacyAstroConfigKeys.has(key)) {
|
if (LEGACY_ASTRO_CONFIG_KEYS.has(key)) {
|
||||||
oldConfig = true;
|
oldConfig = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"sass": "^1.49.9"
|
"sass": "^1.49.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"astro-scripts": "workspace:*",
|
"astro-scripts": "workspace:*",
|
||||||
"preact": "^10.6.6"
|
"preact": "^10.7.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"preact": "^10.6.5"
|
"preact": "^10.6.5"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"astro-scripts": "workspace:*",
|
"astro-scripts": "workspace:*",
|
||||||
"svelte": "^3.46.4"
|
"svelte": "^3.46.6"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"svelte": "^3.46.4"
|
"svelte": "^3.46.4"
|
||||||
|
|
|
@ -27,13 +27,13 @@
|
||||||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tailwindcss": "^3.0.23",
|
|
||||||
"autoprefixer": "^10.4.4",
|
|
||||||
"@proload/core": "^0.2.2",
|
"@proload/core": "^0.2.2",
|
||||||
"postcss": "^8.4.12"
|
"autoprefixer": "^10.4.4",
|
||||||
|
"postcss": "^8.4.12",
|
||||||
|
"tailwindcss": "^3.0.23"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/tailwindcss": "^3.0.9",
|
"@types/tailwindcss": "^3.0.10",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"astro-scripts": "workspace:*"
|
"astro-scripts": "workspace:*"
|
||||||
},
|
},
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vitejs/plugin-vue": "^2.2.4"
|
"@vitejs/plugin-vue": "^2.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
"@babel/plugin-transform-react-jsx": "^7.17.3",
|
||||||
"preact": "^10.6.6",
|
"preact": "^10.7.0",
|
||||||
"preact-render-to-string": "^5.1.20"
|
"preact-render-to-string": "^5.1.20"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.40",
|
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.40",
|
||||||
"svelte": "^3.46.4",
|
"svelte": "^3.46.6",
|
||||||
"svelte-preprocess": "^4.10.4",
|
"svelte-preprocess": "^4.10.4",
|
||||||
"vite": "^2.8.6"
|
"vite": "^2.9.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.15.0 || >=16.0.0"
|
"node": "^14.15.0 || >=16.0.0"
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vitejs/plugin-vue": "^2.2.4",
|
"@vitejs/plugin-vue": "^2.3.1",
|
||||||
"vite": "^2.8.6",
|
"vite": "^2.9.1",
|
||||||
"vue": "^3.2.31"
|
"vue": "^3.2.31"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
446
pnpm-lock.yaml
446
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -18,7 +18,7 @@
|
||||||
"esbuild": "0.14.25",
|
"esbuild": "0.14.25",
|
||||||
"globby": "^12.2.0",
|
"globby": "^12.2.0",
|
||||||
"kleur": "^4.1.4",
|
"kleur": "^4.1.4",
|
||||||
"svelte": "^3.46.4",
|
"svelte": "^3.46.6",
|
||||||
"tar": "^6.1.11"
|
"tar": "^6.1.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue