File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ You can see a demo with more complete code at [https://sortablejs-vue3.maxleiter
19191 . Install the package:
2020
2121``` bash
22- yarn add sortablejs-vue3 sortablejs
22+ pnpm add sortablejs-vue3 sortablejs
2323```
2424
2525or
@@ -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
Original file line number Diff line number Diff line change 11{
22 "name" : " sortablejs-vue3" ,
3- "version" : " 1.2.10 " ,
3+ "version" : " 1.2.11 " ,
44 "author" : {
5566 "name" : " Max Leiter" ,
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" : [
You can’t perform that action at this time.
0 commit comments