deps_npm
npm/yarn dependency management, package.json best practices ve version control.
npxskills add vuralserhat86/antigravity-agentic-skills--skill deps_npmLoading…
npm/yarn dependency management, package.json best practices ve version control.
npxskills add vuralserhat86/antigravity-agentic-skills--skill deps_npmLoading…
npm dependency management ve best practices.
{
"name": "my-app",
"version": "1.0.0",
"engines": { "node": ">=20.0.0" },
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint .",
"test": "vitest"
}
}
| Prefix | Anlamı | Örnek |
|---|---|---|
^1.2.3 | Minor updates OK | 1.x.x |
~1.2.3 | Patch only | 1.2.x |
1.2.3 | Exact version | 1.2.3 |
# Lock file ZORUNLU
npm ci # package-lock.json kullan
{
"dependencies": {}, // Production
"devDependencies": {}, // Development only
"peerDependencies": {} // Consumer provides
}
Deps NPM v1.1 - Enhanced
Kaynak: NPM Security Best Practices
package-lock.json var ve güncel mi?npm audit çalıştır ve kritik açıkları gider.npm outdated ile güvenli güncellemeleri yap.depcheck ile bul ve sil.npm ci kullan (asla npm install değil).npm audit --audit-level=high).| Aşama | Doğrulama |
|---|---|
| 1 | node_modules silinip npm ci yapılınca proje çalışıyor mu? |
| 2 | Production build, devDependencies olmadan çalışıyor mu? |
| 3 | Tüm versiyonlar 'Exact' veya 'Tilde/Caret' stratejisine uygun mu? |
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).