From de5a25f4e9fe71bf8f4105ffc0eafd47bc6ccfc0 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Thu, 27 Apr 2023 22:55:48 +0800 Subject: [PATCH] Fix changeset publish (#6923) --- .changeset/config.json | 1 - package.json | 5 +++++ packages/astro/performance/package.json | 1 + .../astro/test/fixtures/astro-client-only/pkg/package.json | 3 ++- .../astro/test/fixtures/astro-slot-with-client/package.json | 1 + packages/astro/test/fixtures/before-hydration/package.json | 1 + packages/astro/test/fixtures/build-assets/package.json | 1 + .../fixtures/css-assets/packages/font-awesome/package.json | 3 ++- .../test/fixtures/css-order-dynamic-import/package.json | 1 + packages/astro/test/fixtures/css-order-import/package.json | 1 + packages/astro/test/fixtures/css-order-layout/package.json | 1 + packages/astro/test/fixtures/css-order/package.json | 1 + packages/astro/test/fixtures/dont-delete-me/package.json | 1 + packages/astro/test/fixtures/lazy-layout/package.json | 1 + packages/astro/test/fixtures/multiple-renderers/package.json | 1 + .../fixtures/multiple-renderers/renderers/one/package.json | 1 + .../fixtures/multiple-renderers/renderers/two/package.json | 1 + packages/astro/test/fixtures/react-and-solid/package.json | 1 + .../reexport-astro-containing-client-component/package.json | 1 + packages/astro/test/fixtures/set-html/package.json | 1 + packages/astro/test/fixtures/static-build-ssr/package.json | 1 + packages/astro/test/fixtures/static-build/package.json | 1 + packages/create-astro/test/fixtures/not-empty/package.json | 5 ++++- .../integrations/mdx/test/fixtures/mdx-images/package.json | 1 + .../mdx/test/fixtures/mdx-infinite-loop/package.json | 1 + .../mdx/test/fixtures/mdx-namespace/package.json | 1 + .../integrations/mdx/test/fixtures/mdx-page/package.json | 1 + .../mdx/test/fixtures/mdx-plus-react/package.json | 1 + .../mdx/test/fixtures/mdx-vite-env-vars/package.json | 1 + 29 files changed, 37 insertions(+), 4 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 6e7a52e2e..e8ba17558 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -6,7 +6,6 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["!(astro|create-astro|@astrojs/*|astro-scripts)"], "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { "onlyUpdatePeerDependentsWhenOutOfRange": true } diff --git a/package.json b/package.json index f093a2d50..ba86d8f58 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,11 @@ "version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run format", "preinstall": "npx only-allow pnpm" }, + "workspaces": [ + "packages/markdown/*", + "packages/integrations/*", + "packages/*" + ], "engines": { "node": ">=16.12.0", "pnpm": ">=8.2.0" diff --git a/packages/astro/performance/package.json b/packages/astro/performance/package.json index 9069c0f86..66193df49 100644 --- a/packages/astro/performance/package.json +++ b/packages/astro/performance/package.json @@ -2,6 +2,7 @@ "name": "@test/performance", "version": "1.0.0", "description": "", + "private": true, "main": "index.js", "scripts": { "benchmark": "node ./content-benchmark.mjs" diff --git a/packages/astro/test/fixtures/astro-client-only/pkg/package.json b/packages/astro/test/fixtures/astro-client-only/pkg/package.json index 03e6121e6..cbf75aee9 100644 --- a/packages/astro/test/fixtures/astro-client-only/pkg/package.json +++ b/packages/astro/test/fixtures/astro-client-only/pkg/package.json @@ -1,4 +1,5 @@ { "name": "@test/astro-client-only-pkg", - "main": "index.svelte" + "main": "index.svelte", + "private": true } diff --git a/packages/astro/test/fixtures/astro-slot-with-client/package.json b/packages/astro/test/fixtures/astro-slot-with-client/package.json index 5a9f9296c..141bf165d 100644 --- a/packages/astro/test/fixtures/astro-slot-with-client/package.json +++ b/packages/astro/test/fixtures/astro-slot-with-client/package.json @@ -1,5 +1,6 @@ { "name": "@test/astro-slot-with-client", + "private": true, "dependencies": { "astro": "workspace:*", "@astrojs/preact": "workspace:*", diff --git a/packages/astro/test/fixtures/before-hydration/package.json b/packages/astro/test/fixtures/before-hydration/package.json index a4994e2d1..f04a39ae0 100644 --- a/packages/astro/test/fixtures/before-hydration/package.json +++ b/packages/astro/test/fixtures/before-hydration/package.json @@ -1,5 +1,6 @@ { "name": "@test/before-hydration", + "private": true, "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", diff --git a/packages/astro/test/fixtures/build-assets/package.json b/packages/astro/test/fixtures/build-assets/package.json index 88a91cf27..6dd278c2b 100644 --- a/packages/astro/test/fixtures/build-assets/package.json +++ b/packages/astro/test/fixtures/build-assets/package.json @@ -1,5 +1,6 @@ { "name": "@test/build-assets", + "private": true, "dependencies": { "@astrojs/preact": "workspace:*", "astro": "workspace:*", diff --git a/packages/astro/test/fixtures/css-assets/packages/font-awesome/package.json b/packages/astro/test/fixtures/css-assets/packages/font-awesome/package.json index 5491671dd..e29393b89 100644 --- a/packages/astro/test/fixtures/css-assets/packages/font-awesome/package.json +++ b/packages/astro/test/fixtures/css-assets/packages/font-awesome/package.json @@ -1,4 +1,5 @@ { "name": "@test/astro-font-awesome-package", - "version": "0.0.1" + "version": "0.0.1", + "private": true } diff --git a/packages/astro/test/fixtures/css-order-dynamic-import/package.json b/packages/astro/test/fixtures/css-order-dynamic-import/package.json index 229cc504f..7319b643b 100644 --- a/packages/astro/test/fixtures/css-order-dynamic-import/package.json +++ b/packages/astro/test/fixtures/css-order-dynamic-import/package.json @@ -1,5 +1,6 @@ { "name": "@test/css-order-dynamic-import", + "private": true, "dependencies": { "astro": "workspace:*" } diff --git a/packages/astro/test/fixtures/css-order-import/package.json b/packages/astro/test/fixtures/css-order-import/package.json index caf2346ea..4ab8cf8e9 100644 --- a/packages/astro/test/fixtures/css-order-import/package.json +++ b/packages/astro/test/fixtures/css-order-import/package.json @@ -1,5 +1,6 @@ { "name": "@test/css-order-import", + "private": true, "dependencies": { "@astrojs/react": "workspace:*", "astro": "workspace:*", diff --git a/packages/astro/test/fixtures/css-order-layout/package.json b/packages/astro/test/fixtures/css-order-layout/package.json index 880c27ca8..61c3c7ab6 100644 --- a/packages/astro/test/fixtures/css-order-layout/package.json +++ b/packages/astro/test/fixtures/css-order-layout/package.json @@ -1,5 +1,6 @@ { "name": "@test/css-order-layout", + "private": true, "dependencies": { "astro": "workspace:*" } diff --git a/packages/astro/test/fixtures/css-order/package.json b/packages/astro/test/fixtures/css-order/package.json index cf8074efe..f1d730fed 100644 --- a/packages/astro/test/fixtures/css-order/package.json +++ b/packages/astro/test/fixtures/css-order/package.json @@ -1,5 +1,6 @@ { "name": "@test/css-order", + "private": true, "dependencies": { "astro": "workspace:*" } diff --git a/packages/astro/test/fixtures/dont-delete-me/package.json b/packages/astro/test/fixtures/dont-delete-me/package.json index 7ef7c1f14..5a8654b22 100644 --- a/packages/astro/test/fixtures/dont-delete-me/package.json +++ b/packages/astro/test/fixtures/dont-delete-me/package.json @@ -1,5 +1,6 @@ { "name": "@test/dont-delete-me", + "private": true, "dependencies": { "astro": "workspace:*" } diff --git a/packages/astro/test/fixtures/lazy-layout/package.json b/packages/astro/test/fixtures/lazy-layout/package.json index 4fe627073..7727b7bac 100644 --- a/packages/astro/test/fixtures/lazy-layout/package.json +++ b/packages/astro/test/fixtures/lazy-layout/package.json @@ -1,5 +1,6 @@ { "name": "@test/lazy-layout", + "private": true, "dependencies": { "astro": "workspace:*" } diff --git a/packages/astro/test/fixtures/multiple-renderers/package.json b/packages/astro/test/fixtures/multiple-renderers/package.json index f557f53e1..c35db17cf 100644 --- a/packages/astro/test/fixtures/multiple-renderers/package.json +++ b/packages/astro/test/fixtures/multiple-renderers/package.json @@ -1,5 +1,6 @@ { "name": "@test/multiple-renderers", + "private": true, "dependencies": { "astro": "workspace:*", "@test/astro-renderer-one": "file:./renderers/one", diff --git a/packages/astro/test/fixtures/multiple-renderers/renderers/one/package.json b/packages/astro/test/fixtures/multiple-renderers/renderers/one/package.json index 50dc282b4..436ae0be5 100644 --- a/packages/astro/test/fixtures/multiple-renderers/renderers/one/package.json +++ b/packages/astro/test/fixtures/multiple-renderers/renderers/one/package.json @@ -1,5 +1,6 @@ { "name": "@test/astro-renderer-one", "version": "1.0.0", + "private": true, "main": "index.mjs" } diff --git a/packages/astro/test/fixtures/multiple-renderers/renderers/two/package.json b/packages/astro/test/fixtures/multiple-renderers/renderers/two/package.json index cd39c3177..ae82f6761 100644 --- a/packages/astro/test/fixtures/multiple-renderers/renderers/two/package.json +++ b/packages/astro/test/fixtures/multiple-renderers/renderers/two/package.json @@ -1,5 +1,6 @@ { "name": "@test/astro-renderer-two", "version": "1.0.0", + "private": true, "main": "index.mjs" } diff --git a/packages/astro/test/fixtures/react-and-solid/package.json b/packages/astro/test/fixtures/react-and-solid/package.json index 228c39ea7..644e1911c 100644 --- a/packages/astro/test/fixtures/react-and-solid/package.json +++ b/packages/astro/test/fixtures/react-and-solid/package.json @@ -1,5 +1,6 @@ { "name": "@test/react-and-solid", + "private": true, "dependencies": { "@astrojs/react": "workspace:*", "@astrojs/solid-js": "workspace:*", diff --git a/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json b/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json index 15ec0ab64..f5b58cbcb 100644 --- a/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json +++ b/packages/astro/test/fixtures/reexport-astro-containing-client-component/package.json @@ -1,5 +1,6 @@ { "name": "@test/reexport-astro-containing-client-component", + "private": true, "dependencies": { "@astrojs/preact": "workspace:", "astro": "workspace:", diff --git a/packages/astro/test/fixtures/set-html/package.json b/packages/astro/test/fixtures/set-html/package.json index 8310c0560..c40fcd8ac 100644 --- a/packages/astro/test/fixtures/set-html/package.json +++ b/packages/astro/test/fixtures/set-html/package.json @@ -1,6 +1,7 @@ { "name": "@test/set-html", "version": "1.0.0", + "private": true, "dependencies": { "astro": "workspace:*" } diff --git a/packages/astro/test/fixtures/static-build-ssr/package.json b/packages/astro/test/fixtures/static-build-ssr/package.json index 9a7678a74..6c8f1e499 100644 --- a/packages/astro/test/fixtures/static-build-ssr/package.json +++ b/packages/astro/test/fixtures/static-build-ssr/package.json @@ -1,6 +1,7 @@ { "name": "@test/static-build-ssr", "version": "0.0.0", + "private": true, "dependencies": { "@astrojs/node": "workspace:*", "@test/static-build-pkg": "workspace:*", diff --git a/packages/astro/test/fixtures/static-build/package.json b/packages/astro/test/fixtures/static-build/package.json index c57569171..f4d9ae9a2 100644 --- a/packages/astro/test/fixtures/static-build/package.json +++ b/packages/astro/test/fixtures/static-build/package.json @@ -1,6 +1,7 @@ { "name": "@test/static-build", "version": "0.0.0", + "private": true, "dependencies": { "@astrojs/preact": "workspace:*", "@test/static-build-pkg": "workspace:*", diff --git a/packages/create-astro/test/fixtures/not-empty/package.json b/packages/create-astro/test/fixtures/not-empty/package.json index f4ca247fc..5edb64fea 100644 --- a/packages/create-astro/test/fixtures/not-empty/package.json +++ b/packages/create-astro/test/fixtures/not-empty/package.json @@ -1 +1,4 @@ -{"name": "@test/create-astro-not-empty"} +{ + "name": "@test/create-astro-not-empty", + "private": true +} diff --git a/packages/integrations/mdx/test/fixtures/mdx-images/package.json b/packages/integrations/mdx/test/fixtures/mdx-images/package.json index 4a29092c5..b32f3d1a6 100644 --- a/packages/integrations/mdx/test/fixtures/mdx-images/package.json +++ b/packages/integrations/mdx/test/fixtures/mdx-images/package.json @@ -1,5 +1,6 @@ { "name": "@test/mdx-images", + "private": true, "dependencies": { "@astrojs/mdx": "workspace:*", "astro": "workspace:*", diff --git a/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json b/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json index 5d1ab5632..80b1b2f0c 100644 --- a/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json +++ b/packages/integrations/mdx/test/fixtures/mdx-infinite-loop/package.json @@ -1,6 +1,7 @@ { "name": "@test/mdx-infinite-loop", "type": "module", + "private": true, "dependencies": { "@astrojs/mdx": "workspace:*", "@astrojs/preact": "workspace:*", diff --git a/packages/integrations/mdx/test/fixtures/mdx-namespace/package.json b/packages/integrations/mdx/test/fixtures/mdx-namespace/package.json index 68a482c21..c8cb139d2 100644 --- a/packages/integrations/mdx/test/fixtures/mdx-namespace/package.json +++ b/packages/integrations/mdx/test/fixtures/mdx-namespace/package.json @@ -1,5 +1,6 @@ { "name": "@test/mdx-namespace", + "private": true, "dependencies": { "@astrojs/mdx": "workspace:*", "@astrojs/react": "workspace:*", diff --git a/packages/integrations/mdx/test/fixtures/mdx-page/package.json b/packages/integrations/mdx/test/fixtures/mdx-page/package.json index 7ff215df1..51eeeed27 100644 --- a/packages/integrations/mdx/test/fixtures/mdx-page/package.json +++ b/packages/integrations/mdx/test/fixtures/mdx-page/package.json @@ -1,5 +1,6 @@ { "name": "@test/mdx-page", + "private": true, "dependencies": { "@astrojs/mdx": "workspace:*", "astro": "workspace:*", diff --git a/packages/integrations/mdx/test/fixtures/mdx-plus-react/package.json b/packages/integrations/mdx/test/fixtures/mdx-plus-react/package.json index a4c8bb5f4..6869dca09 100644 --- a/packages/integrations/mdx/test/fixtures/mdx-plus-react/package.json +++ b/packages/integrations/mdx/test/fixtures/mdx-plus-react/package.json @@ -1,5 +1,6 @@ { "name": "@test/mdx-plus-react", + "private": true, "dependencies": { "@astrojs/mdx": "workspace:*", "@astrojs/react": "workspace:*", diff --git a/packages/integrations/mdx/test/fixtures/mdx-vite-env-vars/package.json b/packages/integrations/mdx/test/fixtures/mdx-vite-env-vars/package.json index d282c887e..b7c45b3e3 100644 --- a/packages/integrations/mdx/test/fixtures/mdx-vite-env-vars/package.json +++ b/packages/integrations/mdx/test/fixtures/mdx-vite-env-vars/package.json @@ -1,5 +1,6 @@ { "name": "@test/mdx-env-variables", + "private": true, "dependencies": { "astro": "workspace:*", "@astrojs/mdx": "workspace:*"