diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ade8056f..813b81f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,6 @@ permissions: contents: read env: - EMULATOR_PACKAGES: adapter-next apple aws clerk core github google microsoft mongoatlas okta posthog resend slack stripe vercel jobs: check-release: @@ -39,14 +38,6 @@ jobs: SHOULD_RELEASE=true fi - for pkg in $EMULATOR_PACKAGES; do - REGISTRY_VERSION=$(npm view "@emulators/$pkg" version 2>/dev/null || echo "0.0.0") - echo "@emulators/$pkg — local: $LOCAL_VERSION, registry: $REGISTRY_VERSION" - if [ "$LOCAL_VERSION" != "$REGISTRY_VERSION" ]; then - SHOULD_RELEASE=true - fi - done - echo "should_release=$SHOULD_RELEASE" >> "$GITHUB_OUTPUT" echo "version=$LOCAL_VERSION" >> "$GITHUB_OUTPUT" @@ -99,12 +90,10 @@ jobs: fi } + # The @emulators npm scope belongs to a third party; those workspace + # packages are private and bundled into @executor-js/emulate by tsup. publish_pkg packages/emulate @executor-js/emulate - for pkg in $EMULATOR_PACKAGES; do - publish_pkg "packages/@emulators/$pkg" "@emulators/$pkg" - done - if [ -n "$FAILED" ]; then echo "Failed to publish:$FAILED" exit 1 diff --git a/packages/@emulators/adapter-next/package.json b/packages/@emulators/adapter-next/package.json index 27071151..516d4cb9 100644 --- a/packages/@emulators/adapter-next/package.json +++ b/packages/@emulators/adapter-next/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/adapter-next", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -21,9 +22,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/apple/package.json b/packages/@emulators/apple/package.json index e9c611a3..a7689771 100644 --- a/packages/@emulators/apple/package.json +++ b/packages/@emulators/apple/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/apple", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/autumn/package.json b/packages/@emulators/autumn/package.json index 952ff2aa..8cee4a06 100644 --- a/packages/@emulators/autumn/package.json +++ b/packages/@emulators/autumn/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/autumn", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/aws/package.json b/packages/@emulators/aws/package.json index 6a9cc6e4..2d0861c5 100644 --- a/packages/@emulators/aws/package.json +++ b/packages/@emulators/aws/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/aws", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/clerk/package.json b/packages/@emulators/clerk/package.json index bc941754..d7931930 100644 --- a/packages/@emulators/clerk/package.json +++ b/packages/@emulators/clerk/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/clerk", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/cloudflare/package.json b/packages/@emulators/cloudflare/package.json index 8ee14513..6f585cf5 100644 --- a/packages/@emulators/cloudflare/package.json +++ b/packages/@emulators/cloudflare/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/cloudflare", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -14,9 +15,6 @@ "import": "./dist/worker.js" } }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/core/package.json b/packages/@emulators/core/package.json index 867899ee..ed0dd7aa 100644 --- a/packages/@emulators/core/package.json +++ b/packages/@emulators/core/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/core", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/github/package.json b/packages/@emulators/github/package.json index 08210169..03a58d95 100644 --- a/packages/@emulators/github/package.json +++ b/packages/@emulators/github/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/github", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/gitlab/package.json b/packages/@emulators/gitlab/package.json index 35ef0192..fa6acbe1 100644 --- a/packages/@emulators/gitlab/package.json +++ b/packages/@emulators/gitlab/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/gitlab", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/google/package.json b/packages/@emulators/google/package.json index 21668f53..100440cb 100644 --- a/packages/@emulators/google/package.json +++ b/packages/@emulators/google/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/google", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/mcp/package.json b/packages/@emulators/mcp/package.json index 46e1256a..00271a65 100644 --- a/packages/@emulators/mcp/package.json +++ b/packages/@emulators/mcp/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/mcp", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/microsoft/package.json b/packages/@emulators/microsoft/package.json index 0d7c5336..c88492d9 100644 --- a/packages/@emulators/microsoft/package.json +++ b/packages/@emulators/microsoft/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/microsoft", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/mongoatlas/package.json b/packages/@emulators/mongoatlas/package.json index 8bb5463a..8b6cb0ac 100644 --- a/packages/@emulators/mongoatlas/package.json +++ b/packages/@emulators/mongoatlas/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/mongoatlas", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/okta/package.json b/packages/@emulators/okta/package.json index a06b8b98..90be39e3 100644 --- a/packages/@emulators/okta/package.json +++ b/packages/@emulators/okta/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/okta", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/posthog/package.json b/packages/@emulators/posthog/package.json index 1ff704b3..b43e7a9d 100644 --- a/packages/@emulators/posthog/package.json +++ b/packages/@emulators/posthog/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/posthog", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/resend/package.json b/packages/@emulators/resend/package.json index 0cf6944a..d2fea0ab 100644 --- a/packages/@emulators/resend/package.json +++ b/packages/@emulators/resend/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/resend", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/slack/package.json b/packages/@emulators/slack/package.json index 43c3017d..b5b24547 100644 --- a/packages/@emulators/slack/package.json +++ b/packages/@emulators/slack/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/slack", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/spotify/package.json b/packages/@emulators/spotify/package.json index b87bb963..6a4785e6 100644 --- a/packages/@emulators/spotify/package.json +++ b/packages/@emulators/spotify/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/spotify", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -11,9 +12,6 @@ "types": "./dist/index.d.ts" } }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/stripe/package.json b/packages/@emulators/stripe/package.json index 858d0266..37f90487 100644 --- a/packages/@emulators/stripe/package.json +++ b/packages/@emulators/stripe/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/stripe", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/vercel/package.json b/packages/@emulators/vercel/package.json index 00a83b9e..ada6ab46 100644 --- a/packages/@emulators/vercel/package.json +++ b/packages/@emulators/vercel/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/vercel", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/workos/package.json b/packages/@emulators/workos/package.json index 6261bf11..3f0094b9 100644 --- a/packages/@emulators/workos/package.json +++ b/packages/@emulators/workos/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/workos", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ], diff --git a/packages/@emulators/x/package.json b/packages/@emulators/x/package.json index b6dc1db7..2975174d 100644 --- a/packages/@emulators/x/package.json +++ b/packages/@emulators/x/package.json @@ -1,6 +1,7 @@ { "name": "@emulators/x", "version": "0.13.8", + "private": true, "license": "Apache-2.0", "type": "module", "main": "./dist/index.js", @@ -20,9 +21,6 @@ "bugs": { "url": "https://github.com/vercel-labs/emulate/issues" }, - "publishConfig": { - "access": "public" - }, "files": [ "dist" ],