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 6e7a52e2ee..e8ba175583 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 f093a2d50d..ba86d8f584 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 9069c0f86c..66193df49b 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 03e6121e65..cbf75aee90 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 5a9f9296c5..141bf165d0 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 a4994e2d11..f04a39ae09 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 88a91cf273..6dd278c2bc 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 5491671dd5..e29393b89d 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 229cc504f0..7319b643b3 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 caf2346ea5..4ab8cf8e91 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 880c27ca87..61c3c7ab65 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 cf8074efe4..f1d730fede 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 7ef7c1f149..5a8654b227 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 4fe627073c..7727b7bac0 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 f557f53e17..c35db17cf3 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 50dc282b42..436ae0be5e 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 cd39c3177d..ae82f67610 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 228c39ea79..644e1911c2 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 15ec0ab640..f5b58cbcb8 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 8310c05609..c40fcd8acf 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 9a7678a74a..6c8f1e4992 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 c575691717..f4d9ae9a24 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 f4ca247fcb..5edb64fea0 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 4a29092c53..b32f3d1a68 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 5d1ab56321..80b1b2f0c8 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 68a482c219..c8cb139d2b 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 7ff215df1c..51eeeed27b 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 a4c8bb5f43..6869dca093 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 d282c887ec..b7c45b3e32 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:*"