Skip to content

Commit

Permalink
Bump package, switch to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLeiter committed Nov 21, 2023
1 parent 53956f8 commit 75e9c64
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
registry-url: "https://registry.npmjs.org"
- run: yarn
- run: yarn build
- run: yarn publish
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
- run: pnpm i
- run: pnpm build
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ You can see a demo with more complete code at [https://sortablejs-vue3.maxleiter
1. Install the package:

```bash
yarn add sortablejs-vue3 sortablejs
pnpm add sortablejs-vue3 sortablejs
```

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

## Development

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

### Recommended IDE Setup

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sortablejs-vue3",
"version": "1.2.10",
"version": "1.2.11",
"author": {
"email": "maxwell.leiter@gmail.com",
"name": "Max Leiter",
Expand All @@ -20,7 +20,7 @@
"build": "vite build && vue-tsc --emitDeclarationOnly --project tsconfig.dist.json && mv dist/lib dist/types && rm -rf dist/favicon.ico",
"build:site": "vue-tsc --noEmit --project tsconfig.site.json && vite --config vite.site.config.ts build",
"preview": "vite preview",
"lint": "yarn prettier --write '**/*.{ts,vue,json}'"
"lint": "pnpm prettier --write '**/*.{ts,vue,json}'"
},
"types": "./dist/types/main.d.ts",
"files": [
Expand Down

1 comment on commit 75e9c64

@vercel
Copy link

@vercel vercel bot commented on 75e9c64 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.