Skip to content

Commit

Permalink
chore: switch from yarn to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanobartoletti committed Nov 9, 2023
1 parent 4b85330 commit a743547
Show file tree
Hide file tree
Showing 5 changed files with 9,548 additions and 8,923 deletions.
4 changes: 2 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
},
"hooks": {
"before:init": ["npm run lint", "npm run test"],
"after:bump": "npm run prepack"
"before:init": ["pnpm run lint", "pnpm run test"],
"after:bump": "pnpm run prepack"
}
}
38 changes: 9 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,37 +245,17 @@ A list of the currently supported networks and of their URL arguments.
- [ ] Add support for more major social networks
- [ ] Add support for more URL arguments: `title`, `text`, etc.


## 🧑‍💻 Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

## 🤝 Contributing

If you want to contribute you can start by reading the [Contributing guidelines](https://github.com/stefanobartoletti/nuxt-social-share/blob/master/.github/CONTRIBUTING.md).

> **Note**
> If you want to contribute you can start by reading the [Contributing guidelines](https://github.com/stefanobartoletti/nuxt-social-share/blob/master/.github/CONTRIBUTING.md).
>
- Clone this repository
- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`
- Install dependencies using `pnpm install`
- Run `pnpm dev:prepare` to generate type stubs.
- Use `pnpm dev` to start [playground](./playground) in development mode.

## 📝 License

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"access": "public",
"registry": "https://registry.npmjs.org"
},
"packageManager": "[email protected]",
"exports": {
".": {
"types": "./dist/types.d.ts",
Expand Down
Loading

0 comments on commit a743547

Please sign in to comment.