diff --git a/.changeset/config.json b/.changeset/config.json index 6e7a52e2ee84..e8ba17558376 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 f093a2d50d4a..ba86d8f5841c 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 9069c0f86c16..66193df49b4e 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 03e6121e6549..cbf75aee9074 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 5a9f9296c5eb..141bf165d008 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 a4994e2d11e8..f04a39ae0944 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 88a91cf2735d..6dd278c2bcea 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 5491671dd59c..e29393b89dee 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 229cc504f04e..7319b643b369 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 caf2346ea5d0..4ab8cf8e9146 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 880c27ca875f..61c3c7ab6573 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 cf8074efe44c..f1d730feded0 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 7ef7c1f14937..5a8654b2276e 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 4fe627073c33..7727b7bac093 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 f557f53e17f7..c35db17cf355 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 50dc282b4271..436ae0be5e5b 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 cd39c3177dfd..ae82f6761080 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 228c39ea797c..644e1911c254 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 15ec0ab64030..f5b58cbcb8f5 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 8310c0560927..c40fcd8acf41 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 9a7678a74af7..6c8f1e499235 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 c57569171725..f4d9ae9a24ce 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 f4ca247fcbb6..5edb64fea0b5 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 4a29092c53eb..b32f3d1a687e 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 5d1ab5632194..80b1b2f0c848 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 68a482c21999..c8cb139d2b02 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 7ff215df1cc6..51eeeed27b9e 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 a4c8bb5f4330..6869dca0938b 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 d282c887ec25..b7c45b3e329c 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:*"