Skip to content

John/npm publish #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions .github/workflows/npmPublish.yml
Original file line number Diff line number Diff line change
@@ -21,14 +21,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-react
working-directory: ./package-react
run: npm install
run: npm ci

- 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
@@ -46,14 +47,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
@@ -71,14 +73,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
9 changes: 2 additions & 7 deletions package-react/package.json
Original file line number Diff line number Diff line change
@@ -16,9 +16,9 @@
],
"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",
"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",
@@ -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",
4 changes: 2 additions & 2 deletions package-svelte/package.json
Original file line number Diff line number Diff line change
@@ -16,9 +16,9 @@
],
"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",
"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",
6 changes: 5 additions & 1 deletion package-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"name": "@react-query-rewind/vue-query-rewind",
"version": "1.0.4",
"version": "1.1.3",
"type": "module",
"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",