Skip to content

Commit 48616a2

Browse files
committed
well
1 parent fc30a8f commit 48616a2

6 files changed

Lines changed: 36 additions & 8 deletions

File tree

.github/workflows/npm_publish_core.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,34 @@ jobs:
8686
run: npm publish --access public
8787
env:
8888
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
89+
publish-react:
90+
needs: publish-core
91+
runs-on: ubuntu-latest
92+
steps:
93+
- uses: actions/checkout@v2
94+
- uses: actions/setup-node@v2
95+
with:
96+
node-version: 20
97+
registry-url: https://registry.npmjs.org/
98+
- name: Clear npm cache
99+
run: npm cache clean --force
100+
- name: Install dependencies
101+
working-directory: react
102+
run: npm install @zoompinch/core@latest
103+
104+
- name: Copy the local core package
105+
run: cp -r ../core ./node_modules/@zoompinch/core
106+
working-directory: react
107+
108+
- name: Build
109+
working-directory: react
110+
run: npm run build
111+
112+
- name: Publish to npm
113+
working-directory: react
114+
run: npm publish --access public
115+
env:
116+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
89117

90118
deploy-cloudflare:
91119
runs-on: ubuntu-latest

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zoompinch/core",
33
"description": "Pinch-and-zoom experience that's feels native and communicates the transform reactively and lets you project any layer on top of the transformed canvas",
4-
"version": "0.0.25",
4+
"version": "0.0.26",
55
"private": false,
66
"type": "module",
77
"main": "./dist/zoompinch-core.umd.js",

elements/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zoompinch/elements",
33
"description": "Custom elements wrapper ZoomPinch - reactive pinch & zoom component",
4-
"version": "0.0.25",
4+
"version": "0.0.26",
55
"private": false,
66
"type": "module",
77
"main": "./dist/zoompinch-elements.umd.js",
@@ -38,7 +38,7 @@
3838
"vite": "^6.4.1"
3939
},
4040
"dependencies": {
41-
"@zoompinch/core": "^0.0.25"
41+
"@zoompinch/core": "^0.0.26"
4242
},
4343
"publishConfig": {
4444
"access": "public"

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@vicons/ionicons5": "^0.12.0",
13-
"@zoompinch/vue": "^0.0.25",
13+
"@zoompinch/vue": "^0.0.26",
1414
"naive-ui": "^2.38.1",
1515
"vue": "^3.2.37",
1616
"zoompinch": "^0.0.18"

react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zoompinch/react",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "React components for Zoompinch",
55
"main": "./dist/zoompinch-react.umd.js",
66
"module": "./dist/zoompinch-react.es.js",
@@ -57,6 +57,6 @@
5757
"vite": "^6.4.1"
5858
},
5959
"dependencies": {
60-
"@zoompinch/core": "^0.0.25"
60+
"@zoompinch/core": "^0.0.26"
6161
}
6262
}

vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zoompinch/vue",
33
"description": "Vue wrapper for ZoomPinch - reactive pinch & zoom component",
4-
"version": "0.0.25",
4+
"version": "0.0.26",
55
"private": false,
66
"type": "module",
77
"main": "./dist/zoompinch-vue.umd.js",
@@ -44,7 +44,7 @@
4444
"vue-tsc": "^3.2.0"
4545
},
4646
"dependencies": {
47-
"@zoompinch/core": "^0.0.25"
47+
"@zoompinch/core": "^0.0.26"
4848
},
4949
"peerDependencies": {
5050
"vue": "^3.5.26"

0 commit comments

Comments
 (0)