Skip to content

Commit 75e9c64

Browse files
committed
Bump package, switch to pnpm
1 parent 53956f8 commit 75e9c64

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: "16"
15+
node-version: "18"
1616
registry-url: "https://registry.npmjs.org"
17-
- run: yarn
18-
- run: yarn build
19-
- run: yarn publish
17+
- uses: pnpm/action-setup@v2
18+
name: Install pnpm
19+
with:
20+
version: 8
21+
run_install: false
22+
- run: pnpm i
23+
- run: pnpm build
24+
- run: pnpm publish
2025
env:
2126
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can see a demo with more complete code at [https://sortablejs-vue3.maxleiter
1919
1. Install the package:
2020

2121
```bash
22-
yarn add sortablejs-vue3 sortablejs
22+
pnpm add sortablejs-vue3 sortablejs
2323
```
2424

2525
or
@@ -130,10 +130,10 @@ You may also want to see the SortableJS store documentation [here](https://githu
130130

131131
## Development
132132

133-
1. Run `yarn` to install dependencies
134-
2. `yarn dev` will start a web server with live reloading
135-
3. `yarn build` will build the production library files
136-
4. `yarn build:site` will build the demo website
133+
1. Run `pnpm` to install dependencies
134+
2. `pnpm dev` will start a web server with live reloading
135+
3. `pnpm build` will build the production library files
136+
4. `pnpm build:site` will build the demo website
137137

138138
### Recommended IDE Setup
139139

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sortablejs-vue3",
3-
"version": "1.2.10",
3+
"version": "1.2.11",
44
"author": {
55
"email": "[email protected]",
66
"name": "Max Leiter",
@@ -20,7 +20,7 @@
2020
"build": "vite build && vue-tsc --emitDeclarationOnly --project tsconfig.dist.json && mv dist/lib dist/types && rm -rf dist/favicon.ico",
2121
"build:site": "vue-tsc --noEmit --project tsconfig.site.json && vite --config vite.site.config.ts build",
2222
"preview": "vite preview",
23-
"lint": "yarn prettier --write '**/*.{ts,vue,json}'"
23+
"lint": "pnpm prettier --write '**/*.{ts,vue,json}'"
2424
},
2525
"types": "./dist/types/main.d.ts",
2626
"files": [

0 commit comments

Comments
 (0)