Skip to content

Commit 63e3f62

Browse files
committed
feat: add support for pnpm
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent c052b8c commit 63e3f62

27 files changed

Lines changed: 10849 additions & 18096 deletions

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ghcr.io/devcontainers/features/node:1": {},
66
"ghcr.io/devcontainers/features/github-cli:1": {}
77
},
8+
"postCreateCommand": "npm install -g pnpm",
89
"remoteEnv": {
910
"GITHUB_TOKEN": "${localEnv:GITHUB_TOKEN}"
1011
},

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ dist/
33
coverage/
44
**/eslint-report.json
55
**/yarn-error.log
6+
.pnpm-store
67
.nx
78
.cursor/rules/nx-rules.mdc
89
.github/instructions/nx.instructions.md

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
## Opinionated and advisable packages to configure tools to develop a Typescript project
1616

17+
> ✨ Works with npm, yarn, and pnpm package managers
18+
1719
---
1820

1921
## Why **ts-dev-tools** ?
@@ -105,21 +107,21 @@ Contributions, issues and feature requests are welcome!<br />Feel free to check
105107
### Developer setup
106108

107109
```sh
108-
npm install
110+
pnpm install
109111
```
110112

111113
### Checks
112114

113115
```sh
114-
npm run lint
115-
npm run test
116-
npm run build
116+
pnpm run lint
117+
pnpm run test
118+
pnpm run build
117119
```
118120

119121
Or run everything in one command:
120122

121123
```sh
122-
npm run ci
124+
pnpm run ci
123125
```
124126

125127
### Clean cache

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"packages/*"
44
],
55
"version": "independent",
6-
"npmClient": "npm",
6+
"npmClient": "pnpm",
77
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
88
}

0 commit comments

Comments
 (0)