Skip to content

Commit cd43b8b

Browse files
chore: switch to pnpm (#73)
* chore: switch to pnpm * Set up pnpm properly, and specified packageManager * pnpmbuild * oh dear * Ignore the lock * test * fix readme formatting (done with the husky hook) * fix readme formatting (done with the husky hook)
1 parent 5b1a1ab commit cd43b8b

File tree

16 files changed

+6084
-5267
lines changed

16 files changed

+6084
-5267
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,12 @@
22

33
Thanks for your interest in contributing to `template-typescript-node-package`! 💖
44

5+
> See [DEVELOPMENT.md](./DEVELOPMENT.md) for local development instructions.
6+
57
## Code of Conduct
68

79
This project contains a [Contributor Covenant code of conduct](./CODE_OF_CONDUCT.md) all contributors are expected to follow.
810

9-
## Getting Started
10-
11-
```shell
12-
git clone https://github.com/your-username/template-typescript-node-package
13-
cd template-typescript-node-package
14-
yarn
15-
```
16-
1711
## Reporting Issues
1812

1913
Please do [report an issue on the issue tracker](https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/new/choose) if there's any bugfix, documentation improvement, or general enhancement you'd like to see in the repository!

.github/DEVELOPMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Development
22

3-
After [forking the repo from GitHub](https://help.github.com/articles/fork-a-repo):
3+
After [forking the repo from GitHub](https://help.github.com/articles/fork-a-repo) and [installing pnpm](https://pnpm.io/installation):
44

55
```shell
66
git clone https://github.com/<your-name-here>/template-typescript-node-package
77
cd template-typescript-node-package
8-
yarn
8+
pnpm install
99
```

.github/actions/prepare/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ description: Prepares the repo for a typical CI job
44
runs:
55
using: "composite"
66
steps:
7+
- uses: pnpm/action-setup@v2
78
- uses: actions/setup-node@v3
89
with:
910
node-version: "18"
10-
cache: "yarn"
11-
- run: yarn install --frozen-lockfile
11+
cache: "pnpm"
12+
- run: pnpm install --frozen-lockfile
1213
shell: bash

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: ./.github/actions/prepare
15-
- run: yarn build
15+
- run: pnpm build

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: ./.github/actions/prepare
15-
- run: yarn lint
15+
- run: pnpm lint

.github/workflows/markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: ./.github/actions/prepare
15-
- run: yarn lint:md
15+
- run: pnpm lint:md

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: ./.github/actions/prepare
15-
- run: yarn lint:package
15+
- run: pnpm lint:package

.github/workflows/prettier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: ./.github/actions/prepare
15-
- run: yarn format --list-different
15+
- run: pnpm format --list-different

.github/workflows/prune.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: ./.github/actions/prepare
15-
- run: yarn lint:prune
15+
- run: pnpm lint:prune

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: ./.github/actions/prepare
16-
- run: yarn build
16+
- run: pnpm build
1717
- name: Release
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)