generated from MrSphay/codex-agent-repository-kit
Initial commit
This commit is contained in:
42
profiles/node.md
Normal file
42
profiles/node.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Node Profile
|
||||
|
||||
Use when the repository has `package.json`.
|
||||
|
||||
## Detection
|
||||
|
||||
Common files:
|
||||
|
||||
```text
|
||||
package.json
|
||||
package-lock.json
|
||||
pnpm-lock.yaml
|
||||
yarn.lock
|
||||
tsconfig.json
|
||||
vite.config.*
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
Prefer existing scripts. Common defaults:
|
||||
|
||||
```text
|
||||
INSTALL_COMMAND = npm install
|
||||
LINT_COMMAND = npm run lint
|
||||
TEST_COMMAND = npm test
|
||||
BUILD_COMMAND = npm run build
|
||||
AUDIT_COMMAND = npm audit --omit=dev --audit-level=high
|
||||
README_COMMAND = npm run readme
|
||||
```
|
||||
|
||||
If scripts are missing, document `PENDING` instead of inventing commands.
|
||||
|
||||
## Ignore Additions
|
||||
|
||||
```text
|
||||
node_modules/
|
||||
dist/
|
||||
build/
|
||||
coverage/
|
||||
*.log
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user