diff --git a/package.json b/package.json index e3d93232c9..dab600b08b 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "scripts": { "release": "pnpm run build && changeset publish", "build": "turbo run build --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"", + "build:ci": "turbo run build:ci --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"", "build:examples": "turbo run build --scope=\"@example/*\"", "dev": "turbo run dev --no-deps --no-cache --parallel --scope=astro --scope=create-astro --scope=\"@astrojs/*\"", "test": "pnpm run test --filter astro --filter @astrojs/webapi", diff --git a/packages/create-astro/package.json b/packages/create-astro/package.json index 1f2089e290..8ed4ff5ce3 100644 --- a/packages/create-astro/package.json +++ b/packages/create-astro/package.json @@ -19,6 +19,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"", "test": "rm -rf test/fixtures && mkdir test/fixtures && node --unhandled-rejections=strict test/create-astro.test.js" }, diff --git a/packages/integrations/lit/package.json b/packages/integrations/lit/package.json index 7225fad129..e5ca546104 100644 --- a/packages/integrations/lit/package.json +++ b/packages/integrations/lit/package.json @@ -27,6 +27,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/partytown/package.json b/packages/integrations/partytown/package.json index 60be71dbe9..e415e012cb 100644 --- a/packages/integrations/partytown/package.json +++ b/packages/integrations/partytown/package.json @@ -24,6 +24,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json index aeae45e112..c6b7057500 100644 --- a/packages/integrations/preact/package.json +++ b/packages/integrations/preact/package.json @@ -28,6 +28,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index 3204ae7736..fa9c939b97 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -27,6 +27,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/sitemap/package.json b/packages/integrations/sitemap/package.json index eb280d626b..34d3037506 100644 --- a/packages/integrations/sitemap/package.json +++ b/packages/integrations/sitemap/package.json @@ -23,6 +23,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/solid/package.json b/packages/integrations/solid/package.json index 03d6a20476..289abf6173 100644 --- a/packages/integrations/solid/package.json +++ b/packages/integrations/solid/package.json @@ -27,6 +27,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 3c160e10ad..71a7a20a6a 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -27,6 +27,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index cee05d7322..318f939518 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -23,6 +23,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/turbolinks/package.json b/packages/integrations/turbolinks/package.json index 30fd791c3f..9c605979af 100644 --- a/packages/integrations/turbolinks/package.json +++ b/packages/integrations/turbolinks/package.json @@ -24,6 +24,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index def467ffa5..b3a416bf4d 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -27,6 +27,7 @@ }, "scripts": { "build": "astro-scripts build \"src/**/*.ts\" && tsc", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, "dependencies": { diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json index 4d2c5072cc..841531b572 100644 --- a/packages/markdown/remark/package.json +++ b/packages/markdown/remark/package.json @@ -18,6 +18,7 @@ "scripts": { "prepublish": "pnpm build", "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json", + "build:ci": "astro-scripts build \"src/**/*.ts\"", "postbuild": "astro-scripts copy \"src/**/*.js\"", "dev": "astro-scripts dev \"src/**/*.ts\"" }, diff --git a/packages/webapi/package.json b/packages/webapi/package.json index dc60e97a9a..63b45685ab 100644 --- a/packages/webapi/package.json +++ b/packages/webapi/package.json @@ -72,6 +72,7 @@ }, "scripts": { "build": "node run/build.js", + "build:ci": "node run/build.js", "dev": "node run/build.js", "release": "node run/build.js && npm publish --access public", "test": "mocha --parallel --timeout 15000" diff --git a/turbo.json b/turbo.json index d599d2f1d8..cf84971911 100644 --- a/turbo.json +++ b/turbo.json @@ -5,6 +5,10 @@ "dependsOn": ["^build"], "outputs": ["**/dist/**", "!**/vendor/**"] }, + "build:ci": { + "dependsOn": ["^build:ci"], + "outputs": ["**/dist/**", "!**/vendor/**"] + }, "dev": { "cache": false },