Skip to content

Commit

Permalink
Merge pull request #8 from plutotcool/chore/pnpm
Browse files Browse the repository at this point in the history
Chore: pnpm
bastienrobert authored Dec 12, 2023
2 parents e885164 + aed3483 commit bc6ffc7
Showing 8 changed files with 5,583 additions and 5,154 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ jobs:
run: |
git config --local user.email "plutotcool+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- run: yarn
- run: pnpm i
- uses: plutotcool/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enable-pre-post-scripts=true
6 changes: 2 additions & 4 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"command": {
"publish": {
"registry": "https://npm.pkg.github.com"
@@ -10,6 +8,6 @@
"message": "release: publish %s"
}
},
"npmClient": "yarn",
"npmClient": "pnpm",
"version": "1.0.0"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@plutotcool/configurations",
"version": "1.0.0-beta",
"version": "0.0.0",
"description": "Base configurations for plutot.cool projects.",
"repository": "plutotcool/configurations",
"homepage": "https://github.com/plutotcool/configurations",
@@ -12,6 +12,7 @@
"plutotcool"
],
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "lerna bootstrap",
"test": "echo \"Error: no test specified\" && exit 1"
},
2 changes: 1 addition & 1 deletion packages/prettier-config/readme.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
## Installation

```bash
yarn add -D @plutotcool/prettier-config
pnpm i -D @plutotcool/prettier-config
```

In package.json
2 changes: 1 addition & 1 deletion packages/typescript-config/readme.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
## Installation

```bash
yarn add -D @plutotcool/typescript-config
pnpm i -D @plutotcool/typescript-config
```

In tsconfig.json
5,575 changes: 5,575 additions & 0 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5,146 changes: 0 additions & 5,146 deletions yarn.lock

This file was deleted.

0 comments on commit bc6ffc7

Please sign in to comment.