Skip to content

Commit

Permalink
exit prerelease mode (#2967)
Browse files Browse the repository at this point in the history
  • Loading branch information
FredKSchott authored Apr 2, 2022
1 parent bae7195 commit 3483cc2
Show file tree
Hide file tree
Showing 27 changed files with 268 additions and 264 deletions.
2 changes: 1 addition & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",
"tag": "next",
"initialVersions": {
"@example/blog": "0.0.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/blog-multiple-authors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"devDependencies": {
"@astrojs/preact": "^0.0.2",
"astro": "^0.25.4",
"sass": "^1.49.9"
"sass": "^1.49.11"
},
"dependencies": {
"preact": "^10.6.6"
"preact": "^10.7.0"
}
}
2 changes: 0 additions & 2 deletions examples/blog/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ import preact from '@astrojs/preact';
// https://astro.build/config
export default defineConfig({
integrations: [preact()],
site: 'https://example.com',
base: '/subpath',
});
6 changes: 3 additions & 3 deletions examples/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "astro preview"
},
"devDependencies": {
"astro": "^0.25.4",
"@astrojs/preact": "^0.0.2"
"@astrojs/preact": "^0.0.2",
"astro": "^0.25.4"
},
"dependencies": {
"preact": "^10.6.6"
"preact": "^10.7.0"
}
}
2 changes: 1 addition & 1 deletion examples/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@docsearch/css": "^3.0.0",
"@docsearch/react": "^3.0.0",
"@types/react": "^17.0.43",
"preact": "^10.6.6",
"preact": "^10.7.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/framework-multiple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",
"lit": "^2.2.1",
"preact": "^10.6.6",
"preact": "^10.7.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"solid-js": "^1.3.13",
"svelte": "^3.46.4",
"svelte": "^3.46.6",
"vue": "^3.2.31"
}
}
2 changes: 1 addition & 1 deletion examples/framework-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "^0.25.4"
},
"dependencies": {
"preact": "^10.6.6"
"preact": "^10.7.0"
}
}
2 changes: 1 addition & 1 deletion examples/framework-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"astro": "^0.25.4"
},
"dependencies": {
"svelte": "^3.46.4"
"svelte": "^3.46.6"
}
}
4 changes: 2 additions & 2 deletions examples/integrations-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"dependencies": {
"@webcomponents/template-shadowroot": "^0.1.0",
"lit": "^2.2.1",
"preact": "^10.6.6",
"preact": "^10.7.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"solid-js": "^1.3.13",
"svelte": "^3.46.4",
"svelte": "^3.46.6",
"vue": "^3.2.31"
}
}
4 changes: 2 additions & 2 deletions examples/portfolio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"devDependencies": {
"@astrojs/preact": "^0.0.2",
"astro": "^0.25.4",
"sass": "^1.49.9"
"sass": "^1.49.11"
},
"dependencies": {
"preact": "^10.6.6"
"preact": "^10.7.0"
}
}
6 changes: 3 additions & 3 deletions examples/ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"server": "node server/server.mjs"
},
"devDependencies": {
"@astrojs/svelte": "^0.0.2",
"@astrojs/node": "^0.0.2",
"@astrojs/svelte": "^0.0.2",
"astro": "^0.25.4",
"concurrently": "^7.0.0",
"concurrently": "^7.1.0",
"lightcookie": "^1.0.25",
"unocss": "^0.15.6",
"vite-imagetools": "^4.0.3"
},
"dependencies": {
"svelte": "^3.46.4"
"svelte": "^3.46.6"
}
}
2 changes: 1 addition & 1 deletion examples/subpath/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devDependencies": {
"@astrojs/react": "^0.0.2",
"astro": "^0.25.4",
"sass": "^1.49.9"
"sass": "^1.49.11"
},
"dependencies": {
"react": "^18.0.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-markdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"astro": "^0.25.4"
},
"dependencies": {
"preact": "^10.6.6",
"preact": "^10.7.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"svelte": "^3.46.4",
"svelte": "^3.46.6",
"vue": "^3.2.31"
}
}
2 changes: 1 addition & 1 deletion examples/with-nanostores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@nanostores/react": "^0.1.5",
"@nanostores/vue": "^0.4.1",
"nanostores": "^0.5.12",
"preact": "^10.6.6",
"preact": "^10.7.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"solid-nanostores": "0.0.6",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"execa": "^6.1.0",
"prettier": "^2.6.1",
"prettier": "^2.6.2",
"pretty-bytes": "^6.0.0",
"tiny-glob": "^0.2.9",
"turbo": "^1.1.10",
Expand Down
6 changes: 3 additions & 3 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
},
"dependencies": {
"@astrojs/compiler": "^0.14.1",
"@astrojs/language-server": "^0.13.2",
"@astrojs/language-server": "^0.13.3",
"@astrojs/markdown-remark": "^0.7.0",
"@astrojs/prism": "0.4.1",
"@astrojs/webapi": "^0.11.0",
Expand Down Expand Up @@ -130,7 +130,7 @@
"strip-ansi": "^7.0.1",
"supports-esm": "^1.0.0",
"tsconfig-resolver": "^3.0.1",
"vite": "^2.8.6",
"vite": "^2.9.1",
"yargs-parser": "^21.0.1",
"zod": "^3.14.3"
},
Expand Down Expand Up @@ -159,7 +159,7 @@
"chai": "^4.3.6",
"cheerio": "^1.0.0-rc.10",
"mocha": "^9.2.2",
"sass": "^1.49.9"
"sass": "^1.49.11"
},
"engines": {
"node": "^14.15.0 || >=16.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/astro/src/core/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
'src',
'pages',
Expand Down Expand Up @@ -202,7 +202,7 @@ export async function validateConfig(userConfig: any, root: string, cmd: string)

let oldConfig = false;
for (const key of Object.keys(userConfig)) {
if (LegacyAstroConfigKeys.has(key)) {
if (LEGACY_ASTRO_CONFIG_KEYS.has(key)) {
oldConfig = true;
break;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/astro/test/fixtures/sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"dependencies": {
"astro": "workspace:*",
"sass": "^1.49.9"
"sass": "^1.49.11"
}
}
2 changes: 1 addition & 1 deletion packages/integrations/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"preact": "^10.6.6"
"preact": "^10.7.0"
},
"peerDependencies": {
"preact": "^10.6.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"astro": "workspace:*",
"astro-scripts": "workspace:*",
"svelte": "^3.46.4"
"svelte": "^3.46.6"
},
"peerDependencies": {
"svelte": "^3.46.4"
Expand Down
8 changes: 4 additions & 4 deletions packages/integrations/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"dev": "astro-scripts dev \"src/**/*.ts\""
},
"dependencies": {
"tailwindcss": "^3.0.23",
"autoprefixer": "^10.4.4",
"@proload/core": "^0.2.2",
"postcss": "^8.4.12"
"autoprefixer": "^10.4.4",
"postcss": "^8.4.12",
"tailwindcss": "^3.0.23"
},
"devDependencies": {
"@types/tailwindcss": "^3.0.9",
"@types/tailwindcss": "^3.0.10",
"astro": "workspace:*",
"astro-scripts": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dev": "astro-scripts dev \"src/**/*.ts\""
},
"dependencies": {
"@vitejs/plugin-vue": "^2.2.4"
"@vitejs/plugin-vue": "^2.3.1"
},
"devDependencies": {
"astro": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/renderers/renderer-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.17.3",
"preact": "^10.6.6",
"preact": "^10.7.0",
"preact-render-to-string": "^5.1.20"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/renderers/renderer-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
},
"dependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.40",
"svelte": "^3.46.4",
"svelte": "^3.46.6",
"svelte-preprocess": "^4.10.4",
"vite": "^2.8.6"
"vite": "^2.9.1"
},
"engines": {
"node": "^14.15.0 || >=16.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/renderers/renderer-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"./package.json": "./package.json"
},
"dependencies": {
"@vitejs/plugin-vue": "^2.2.4",
"vite": "^2.8.6",
"@vitejs/plugin-vue": "^2.3.1",
"vite": "^2.9.1",
"vue": "^3.2.31"
},
"engines": {
Expand Down
Loading

0 comments on commit 3483cc2

Please sign in to comment.