From 4730f614e3ca76e27be6f8c187d4f1091213d9b3 Mon Sep 17 00:00:00 2001
From: John Dunn <johnwdunn20@gmail.com>
Date: Mon, 27 May 2024 16:01:03 -0700
Subject: [PATCH 1/7] testing workflow

---
 .github/workflows/npmPublish.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/npmPublish.yml b/.github/workflows/npmPublish.yml
index a680e6b..292c820 100644
--- a/.github/workflows/npmPublish.yml
+++ b/.github/workflows/npmPublish.yml
@@ -3,7 +3,8 @@ name: Publish npm Packages
 on:
   push:
     branches:
-      - main
+      # **** Change this later
+      - john/npm-publish
 
 # These currently require that the package version has been manually updated
 # We could potentially automate it by creating a separate script that fetches the current version on npm and compares it the the version in the package.json. If it matches, it auto-increments the number in package.json (ie from 2.1.11 to 2.1.12). And we run this script before the publish step.

From cdf10fa1eb076701c571bbde5d3dd990889ad6e2 Mon Sep 17 00:00:00 2001
From: John Dunn <johnwdunn20@gmail.com>
Date: Mon, 27 May 2024 16:04:08 -0700
Subject: [PATCH 2/7] testing workflow

---
 .github/workflows/npmPublish.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/npmPublish.yml b/.github/workflows/npmPublish.yml
index 292c820..a7b9875 100644
--- a/.github/workflows/npmPublish.yml
+++ b/.github/workflows/npmPublish.yml
@@ -22,10 +22,11 @@ jobs:
         uses: actions/setup-node@v4
         with:
           node-version: '20' # Use Node.js version 20
+          registry-url: 'https://registry.npmjs.org'
 
       - name: Install dependencies for package-react
         working-directory: ./package-react
-        run: npm install
+        run: npm ci
 
       - name: Build package-react
         working-directory: ./package-react

From 6384446f0d7ee01b6cf1dbecb65a06f24fb01788 Mon Sep 17 00:00:00 2001
From: John Dunn <johnwdunn20@gmail.com>
Date: Mon, 27 May 2024 16:06:01 -0700
Subject: [PATCH 3/7] updated repo url in package.json

---
 package-react/package.json | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/package-react/package.json b/package-react/package.json
index e73f201..bb183f4 100644
--- a/package-react/package.json
+++ b/package-react/package.json
@@ -16,7 +16,7 @@
   ],
   "repository": {
     "type": "git",
-    "url": "https://github.com/oslabs-beta/react-query-rewind"
+    "url": "git+https://github.com/oslabs-beta/react-query-rewind.git"
   },
   "version": "2.1.1",
   "description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
@@ -50,29 +50,24 @@
     "unlink-package": "(cd example/client && npm unlink react-query-rewind) && npm unlink",
     "package-setup-1": "npm i && npm run install-example && npm run link-dependencies && npm run watch",
     "package-setup-2": "npm run link-package && npm run example",
-
-
     "install-algolia": "cd react-examples-tanstack/algolia && npm i",
     "link-package-algolia": "npm link && (cd react-examples-tanstack/algolia && npm link react-query-rewind)",
     "link-dependencies-algolia": "npm link react-examples-tanstack/algolia/node_modules/react react-examples-tanstack/algolia/node_modules/react-dom example/client/node_modules/@tanstack/react-query",
     "unlink-package-algolia": "(cd react-examples-tanstack/algolia && npm unlink react-query-rewind) && npm unlink",
     "package-setup-1-algolia": "npm i && npm run install-algolia && npm run link-dependencies-algolia && npm run watch",
     "package-setup-2-algolia": "npm run link-package-algolia && (cd react-examples-tanstack/algolia && npm run dev)",
-
     "install-basic": "cd react-examples-tanstack/basic && npm i",
     "link-package-basic": "npm link && (cd react-examples-tanstack/basic && npm link react-query-rewind)",
     "link-dependencies-basic": "npm link react-examples-tanstack/basic/node_modules/react react-examples-tanstack/basic/node_modules/react-dom example/client/node_modules/@tanstack/react-query",
     "unlink-package-basic": "(cd react-examples-tanstack/basic && npm unlink react-query-rewind) && npm unlink",
     "package-setup-1-basic": "npm i && npm run install-basic && npm run link-dependencies-basic && npm run watch",
     "package-setup-2-basic": "npm run link-package-basic && (cd react-examples-tanstack/basic && npm run dev)",
-
     "install-basic-typescript": "cd react-examples-tanstack/basic-typescript && npm i",
     "link-package-basic-typescript": "npm link && (cd react-examples-tanstack/basic-typescript && npm link react-query-rewind)",
     "link-dependencies-basic-typescript": "npm link react-examples-tanstack/basic-typescript/node_modules/react react-examples-tanstack/basic-typescript/node_modules/react-dom example/client/node_modules/@tanstack/react-query",
     "unlink-package-basic-typescript": "(cd react-examples-tanstack/basic-typescript && npm unlink react-query-rewind) && npm unlink",
     "package-setup-1-basic-typescript": "npm i && npm run install-basic-typescript && npm run link-dependencies-basic-typescript && npm run watch",
     "package-setup-2-basic-typescript": "npm run link-package-basic-typescript && (cd react-examples-tanstack/basic-typescript && npm run dev)",
-
     "install-pagination": "cd react-examples-tanstack/pagination && npm i",
     "link-package-pagination": "npm link && (cd react-examples-tanstack/pagination && npm link react-query-rewind)",
     "link-dependencies-pagination": "npm link react-examples-tanstack/pagination/node_modules/react react-examples-tanstack/pagination/node_modules/react-dom example/client/node_modules/@tanstack/react-query",

From d2201f698dfcce1ccb2ff697ca18f69459594675 Mon Sep 17 00:00:00 2001
From: John Dunn <johnwdunn20@gmail.com>
Date: Mon, 27 May 2024 16:09:15 -0700
Subject: [PATCH 4/7] updated vue and svelte package.json to have repo rul best
 practices

---
 package-svelte/package.json | 2 +-
 package-vue/package.json    | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/package-svelte/package.json b/package-svelte/package.json
index 5e4edeb..88ecd42 100644
--- a/package-svelte/package.json
+++ b/package-svelte/package.json
@@ -16,7 +16,7 @@
   ],
   "repository": {
     "type": "git",
-    "url": "https://github.com/oslabs-beta/react-query-rewind"
+    "url": "git+https://github.com/oslabs-beta/react-query-rewind"
   },
   "version": "1.1.1",
   "description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
diff --git a/package-vue/package.json b/package-vue/package.json
index 8460251..320b820 100644
--- a/package-vue/package.json
+++ b/package-vue/package.json
@@ -5,6 +5,10 @@
   "files": [
     "dist"
   ],
+  "repository": {
+    "type": "git",
+    "url": "git+https://github.com/oslabs-beta/react-query-rewind"
+  },
   "main": "./dist/VueQueryRewind.cjs.js",
   "module": "./dist/VueQueryRewind.es.js",
   "types": "./dist/VueQueryRewind.es.d.ts",

From 2cce4c0ffdd51f212ba659b69d08731fd0a2d361 Mon Sep 17 00:00:00 2001
From: John Dunn <johnwdunn20@gmail.com>
Date: Mon, 27 May 2024 16:10:26 -0700
Subject: [PATCH 5/7] updated svelte and vue publish workflow

---
 .github/workflows/npmPublish.yml | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/npmPublish.yml b/.github/workflows/npmPublish.yml
index a7b9875..7b2b490 100644
--- a/.github/workflows/npmPublish.yml
+++ b/.github/workflows/npmPublish.yml
@@ -30,7 +30,7 @@ jobs:
 
       - name: Build package-react
         working-directory: ./package-react
-        run: npm run build # If you have a build step, otherwise remove this step
+        run: npm run build
 
       - name: Publish package-react
         working-directory: ./package-react
@@ -48,14 +48,15 @@ jobs:
         uses: actions/setup-node@v4
         with:
           node-version: '20' # Use Node.js version 20
+          registry-url: 'https://registry.npmjs.org'
 
       - name: Install dependencies for package-svelte
         working-directory: ./package-svelte
-        run: npm install
+        run: npm ci
 
       - name: Build package-svelte
         working-directory: ./package-svelte
-        run: npm run build # If you have a build step, otherwise remove this step
+        run: npm run build
 
       - name: Publish package-svelte
         working-directory: ./package-svelte
@@ -73,14 +74,15 @@ jobs:
         uses: actions/setup-node@v4
         with:
           node-version: '20' # Use Node.js version 20
+          registry-url: 'https://registry.npmjs.org'
 
       - name: Install dependencies for package-vue
         working-directory: ./package-vue
-        run: npm install
+        run: npm ci
 
       - name: Build package-vue
         working-directory: ./package-vue
-        run: npm run build # If you have a build step, otherwise remove this step
+        run: npm run build
 
       - name: Publish package-vue
         working-directory: ./package-vue

From 92fbb7efa5933de2de8f2d98d676fcc67d1809bd Mon Sep 17 00:00:00 2001
From: John Dunn <johnwdunn20@gmail.com>
Date: Mon, 27 May 2024 16:19:05 -0700
Subject: [PATCH 6/7] updated package version to test

---
 package-react/package.json  | 2 +-
 package-svelte/package.json | 2 +-
 package-vue/package.json    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package-react/package.json b/package-react/package.json
index bb183f4..492a2fe 100644
--- a/package-react/package.json
+++ b/package-react/package.json
@@ -18,7 +18,7 @@
     "type": "git",
     "url": "git+https://github.com/oslabs-beta/react-query-rewind.git"
   },
-  "version": "2.1.1",
+  "version": "2.1.2",
   "description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
   "keywords": [
     "react",
diff --git a/package-svelte/package.json b/package-svelte/package.json
index 88ecd42..c52ba3f 100644
--- a/package-svelte/package.json
+++ b/package-svelte/package.json
@@ -18,7 +18,7 @@
     "type": "git",
     "url": "git+https://github.com/oslabs-beta/react-query-rewind"
   },
-  "version": "1.1.1",
+  "version": "1.1.2",
   "description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
   "keywords": [
     "react",
diff --git a/package-vue/package.json b/package-vue/package.json
index 320b820..d11e43f 100644
--- a/package-vue/package.json
+++ b/package-vue/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@react-query-rewind/vue-query-rewind",
-  "version": "1.0.4",
+  "version": "1.1.2",
   "type": "module",
   "files": [
     "dist"

From 2061b94bbd4caefd5ae882f15e2e7dde1a045d3f Mon Sep 17 00:00:00 2001
From: John Dunn <johnwdunn20@gmail.com>
Date: Mon, 27 May 2024 16:23:01 -0700
Subject: [PATCH 7/7] finalized workflow and updated pacakge.json versions

---
 .github/workflows/npmPublish.yml | 3 +--
 package-react/package.json       | 2 +-
 package-svelte/package.json      | 2 +-
 package-vue/package.json         | 2 +-
 4 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/npmPublish.yml b/.github/workflows/npmPublish.yml
index 7b2b490..79b874a 100644
--- a/.github/workflows/npmPublish.yml
+++ b/.github/workflows/npmPublish.yml
@@ -3,8 +3,7 @@ name: Publish npm Packages
 on:
   push:
     branches:
-      # **** Change this later
-      - john/npm-publish
+      - main
 
 # These currently require that the package version has been manually updated
 # We could potentially automate it by creating a separate script that fetches the current version on npm and compares it the the version in the package.json. If it matches, it auto-increments the number in package.json (ie from 2.1.11 to 2.1.12). And we run this script before the publish step.
diff --git a/package-react/package.json b/package-react/package.json
index 492a2fe..d02e038 100644
--- a/package-react/package.json
+++ b/package-react/package.json
@@ -18,7 +18,7 @@
     "type": "git",
     "url": "git+https://github.com/oslabs-beta/react-query-rewind.git"
   },
-  "version": "2.1.2",
+  "version": "2.1.3",
   "description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
   "keywords": [
     "react",
diff --git a/package-svelte/package.json b/package-svelte/package.json
index c52ba3f..6cbc6e2 100644
--- a/package-svelte/package.json
+++ b/package-svelte/package.json
@@ -18,7 +18,7 @@
     "type": "git",
     "url": "git+https://github.com/oslabs-beta/react-query-rewind"
   },
-  "version": "1.1.2",
+  "version": "1.1.3",
   "description": "React Query Rewind is a library that helps developers debug applications that use React Query (ie TanStack Query) by letting them time travel through state changes directly in their chrome dev tools",
   "keywords": [
     "react",
diff --git a/package-vue/package.json b/package-vue/package.json
index d11e43f..2f0f61f 100644
--- a/package-vue/package.json
+++ b/package-vue/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@react-query-rewind/vue-query-rewind",
-  "version": "1.1.2",
+  "version": "1.1.3",
   "type": "module",
   "files": [
     "dist"