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:
12
12
- uses : actions/checkout@v3
13
13
- uses : actions/setup-node@v3
14
14
with :
15
- node-version : " 16 "
15
+ node-version : " 18 "
16
16
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
20
25
env :
21
26
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
19
19
1 . Install the package:
20
20
21
21
``` bash
22
- yarn add sortablejs-vue3 sortablejs
22
+ pnpm add sortablejs-vue3 sortablejs
23
23
```
24
24
25
25
or
@@ -130,10 +130,10 @@ You may also want to see the SortableJS store documentation [here](https://githu
130
130
131
131
## Development
132
132
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
137
137
138
138
### Recommended IDE Setup
139
139
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sortablejs-vue3" ,
3
- "version" : " 1.2.10 " ,
3
+ "version" : " 1.2.11 " ,
4
4
"author" : {
5
5
6
6
"name" : " Max Leiter" ,
20
20
"build" : " vite build && vue-tsc --emitDeclarationOnly --project tsconfig.dist.json && mv dist/lib dist/types && rm -rf dist/favicon.ico" ,
21
21
"build:site" : " vue-tsc --noEmit --project tsconfig.site.json && vite --config vite.site.config.ts build" ,
22
22
"preview" : " vite preview" ,
23
- "lint" : " yarn prettier --write '**/*.{ts,vue,json}'"
23
+ "lint" : " pnpm prettier --write '**/*.{ts,vue,json}'"
24
24
},
25
25
"types" : " ./dist/types/main.d.ts" ,
26
26
"files" : [
You can’t perform that action at this time.
0 commit comments