<< All versions
Skill v1.0.1
currentAutomated scan100/100ba-calderonmorales/terminal-jarvis/npm
2 files
──Details
PublishedMay 24, 2026 at 01:17 PM
Content Hashsha256:1af89f651e66e9a0...
Git SHAc4b578d74326
Bump Typepatch
──Files
Files (1 file, 1.7 KB)
SKILL.md1.7 KBactive
SKILL.md · 77 lines · 1.7 KB
version: "1.0.1"
Skill: NPM Distribution
Name: npm Description: NPM package publishing and distribution Trigger: "NPM publish", npm release, JavaScript/TypeScript distribution
NPM Authentication
bash
# Check authentication statusnpm whoami# Login if needednpm login# Verify credentialsnpm whoami # Should show your username
Distribution Tags
| Tag | Purpose | Command | |
|---|---|---|---|
latest | Stable release (default) | npm publish or npm publish --tag latest | |
next | Beta/preview release | npm publish --tag next | |
alpha | Early development | npm publish --tag alpha |
NPM Publishing Workflow
bash
# 1. Ensure authenticatednpm whoami# 2. Update version (via deployment script)./scripts/cicd/local-cd.sh --update-version X.X.X# 3. Build TypeScript wrappercd npm/terminal-jarvisnpm run lintnpm run formatnpm run build# 4. Publish (happens automatically via local-cd.sh)# Or manually: npm publish --tag latest# 5. Verifynpm info terminal-jarvisnpm install -g terminal-jarvis@X.X.Xterminal-jarvis --version
NPM Package Structure
Following Orhun Parmaksiz pattern:
- Build Rust binary for target platform
- Package binary in NPM with TypeScript wrapper
- Wrapper calls binary via child_process
- Cross-platform support via platform-specific binaries
Package Location
npm/terminal-jarvis/
package.json- NPM package manifestsrc/- TypeScript wrapper sourcebin/- Binary entry pointscripts/- Build and installation scripts
TypeScript Standards
- Use Biome for linting/formatting (NOT ESLint)
- Run
npm run lintandnpm run formatbefore committing