From e4de873c297b78d11405689123c183eee3b76e26 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Wed, 11 Dec 2024 06:51:28 -0700 Subject: [PATCH 1/4] Exit changeset pre mode Fix https://github.com/electric-sql/electric/issues/2147 --- .changeset/pre.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 9142b3b44f..105d7e94e3 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -1,5 +1,5 @@ { - "mode": "pre", + "mode": "exit", "tag": "beta", "initialVersions": { "@core/elixir-client": "0.2.5", From e889f69188678f0d3a2a2137708dbcda38e667a8 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Wed, 11 Dec 2024 06:56:31 -0700 Subject: [PATCH 2/4] Actually just remove pre.json until we're using it --- .changeset/pre.json | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .changeset/pre.json diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 105d7e94e3..0000000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "mode": "exit", - "tag": "beta", - "initialVersions": { - "@core/elixir-client": "0.2.5", - "@electric-sql/experimental": "0.1.1", - "@electric-sql/react": "1.0.0-beta.0", - "@core/sync-service": "1.0.0-beta.0", - "@electric-sql/client": "1.0.0-beta.0", - "@electric-examples/bash-client": "0.0.1", - "@electric-examples/basic-example": "0.0.1", - "@electric-examples/encryption": "0.0.1", - "@electric-examples/gatekeeper-auth": "0.0.1", - "@electric-examples/linearlite": "0.0.1", - "@electric-examples/linearlite-read-only": "0.0.1", - "@electric-examples/nextjs-example": "0.0.1", - "@electric-examples/proxy-auth": "0.0.1", - "@electric-examples/redis-sync": "0.0.1", - "@electric-examples/remix-basic": "0.0.1", - "@electric-examples/tanstack-example": "0.0.1", - "@electric-examples/todo-app": "1.0.1", - "@electric-examples/write-patterns": "0.0.1", - "@electric-examples/yjs-provider": "0.0.1", - "@electric-sql/docs": "0.0.1" - }, - "changesets": [ - "beige-hotels-sin", - "healthy-comics-heal", - "polite-frogs-yell" - ] -} From eeff4c4b254f4a40290b06cb46ce2766691d162d Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Thu, 12 Dec 2024 09:30:29 -0700 Subject: [PATCH 3/4] Restore pre.json but explicitly set the 'latest' tag --- .changeset/pre.json | 27 +++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .changeset/pre.json diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000000..45ba5a27f2 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,27 @@ +{ + "mode": "pre", + "tag": "beta", + "initialVersions": { + "@electric-examples/bash": "0.0.1", + "@electric-examples/encryption": "0.0.1", + "@electric-examples/gatekeeper-auth": "0.0.1", + "@electric-examples/linearlite": "0.0.1", + "@electric-examples/linearlite-read-only": "0.0.1", + "@electric-examples/nextjs": "0.0.1", + "@electric-examples/proxy-auth": "0.0.1", + "@electric-examples/react": "0.0.1", + "@electric-examples/redis": "0.0.1", + "@electric-examples/remix": "0.0.1", + "@electric-examples/tanstack": "0.0.1", + "@electric-examples/todo-app": "1.0.1", + "@electric-examples/write-patterns": "0.0.1", + "@electric-examples/yjs-provider": "0.0.1", + "@core/elixir-client": "0.2.5", + "@electric-sql/experimental": "0.1.2-beta.0", + "@electric-sql/react": "1.0.0-beta.1", + "@core/sync-service": "1.0.0-beta.1", + "@electric-sql/client": "1.0.0-beta.1", + "@electric-sql/docs": "0.0.1" + }, + "changesets": [] +} diff --git a/package.json b/package.json index fdb48e1f36..3d1851d654 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "ci:publish": "pnpm '/^ci:publish:.+/'", "ci:publish:hex-electric": "pnpm run --dir packages/sync-service publish:hex", "ci:publish:hex-electric-client": "pnpm run --dir packages/elixir-client publish:hex", - "ci:publish:npm": "pnpm changeset publish", + "ci:publish:npm": "pnpm changeset publish --tag latest", "ci:version": "pnpm exec changeset version", "example-backend:down": "dotenv -e .env.dev -- docker compose -f .support/docker-compose.yml down --volumes", "example-backend:just_up": "dotenv -e .env.dev -- docker compose -f ./.support/docker-compose.yml up -d", From 2342bef97b0db6a1fc3043d9f458b4d427c78f7e Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Thu, 19 Dec 2024 11:28:46 -0700 Subject: [PATCH 4/4] Undo changes to pre.json --- .changeset/pre.json | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 45ba5a27f2..9142b3b44f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -2,26 +2,30 @@ "mode": "pre", "tag": "beta", "initialVersions": { - "@electric-examples/bash": "0.0.1", + "@core/elixir-client": "0.2.5", + "@electric-sql/experimental": "0.1.1", + "@electric-sql/react": "1.0.0-beta.0", + "@core/sync-service": "1.0.0-beta.0", + "@electric-sql/client": "1.0.0-beta.0", + "@electric-examples/bash-client": "0.0.1", + "@electric-examples/basic-example": "0.0.1", "@electric-examples/encryption": "0.0.1", "@electric-examples/gatekeeper-auth": "0.0.1", "@electric-examples/linearlite": "0.0.1", "@electric-examples/linearlite-read-only": "0.0.1", - "@electric-examples/nextjs": "0.0.1", + "@electric-examples/nextjs-example": "0.0.1", "@electric-examples/proxy-auth": "0.0.1", - "@electric-examples/react": "0.0.1", - "@electric-examples/redis": "0.0.1", - "@electric-examples/remix": "0.0.1", - "@electric-examples/tanstack": "0.0.1", + "@electric-examples/redis-sync": "0.0.1", + "@electric-examples/remix-basic": "0.0.1", + "@electric-examples/tanstack-example": "0.0.1", "@electric-examples/todo-app": "1.0.1", "@electric-examples/write-patterns": "0.0.1", "@electric-examples/yjs-provider": "0.0.1", - "@core/elixir-client": "0.2.5", - "@electric-sql/experimental": "0.1.2-beta.0", - "@electric-sql/react": "1.0.0-beta.1", - "@core/sync-service": "1.0.0-beta.1", - "@electric-sql/client": "1.0.0-beta.1", "@electric-sql/docs": "0.0.1" }, - "changesets": [] + "changesets": [ + "beige-hotels-sin", + "healthy-comics-heal", + "polite-frogs-yell" + ] }