Skip to content

Commit 84a7a53

Browse files
authored
chore: align engines to node >=18.20.8 and pnpm >=10.33.0 (#1178)
* chore: align engines to node >=18.20.8 and pnpm >=10.33.0 * chore: add conventional commits guidance to CLAUDE.md
1 parent dfcbb82 commit 84a7a53

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

CLAUDE.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,17 @@ All shared standards (git, testing, code style, cross-platform, CI) defined in s
175175
- **Update with --update flag**: `pnpm --filter @socketsecurity/cli run test:unit src/commands/specific/cmd-file.test.mts --update`
176176
- **Timeout for long tests**: Use `timeout` command or specify in test file.
177177

178-
### Git Commit Guidelines
178+
### Commit Messages
179179

180-
- Follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) style
181-
- **🚨 FORBIDDEN**: NO AI attribution in commits (see SHARED STANDARDS)
180+
Follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/):
181+
182+
```
183+
<type>(<scope>): <description>
184+
185+
Types: feat, fix, docs, style, refactor, test, chore, perf
186+
```
187+
188+
- **NO AI attribution** in commit messages — the commit-msg hook auto-strips it
182189

183190
### Running the CLI locally
184191

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"packageManager": "pnpm@10.33.0",
55
"private": true,
66
"engines": {
7-
"pnpm": ">=10.22.0"
7+
"node": ">=25.9.0",
8+
"pnpm": ">=10.33.0"
89
},
910
"scripts": {
1011
"// Build": "",

packages/cli/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@
123123
"yoctocolors-cjs": "catalog:",
124124
"zod": "catalog:"
125125
},
126-
"engines": {
127-
"node": ">=24.14.0",
128-
"pnpm": ">=10.22.0"
129-
},
130126
"repository": {
131127
"type": "git",
132128
"url": "git+https://github.com/SocketDev/socket-cli.git"

0 commit comments

Comments
 (0)