dtd-cmd
v1.0.4
Published
1. Cấp quyền execute (macOS/Linux) - chmod +x bin/dtd-cli.js 2. Test local (chưa cần publish) - npm link - dtd-cli - dtd-cli hello world
Readme
- Cấp quyền execute (macOS/Linux)
- chmod +x bin/dtd-cli.js
- Test local (chưa cần publish)
npm link
dtd-cli
dtd-cli hello world
yarn build
_# Thêm files vào package.json
{
"files": [
"dist",
"bin",
"README.md"
]
}📌 Khi có files: npm CHỈ publish đúng những gì liệt kê src/, tsconfig.json tự động bị loại
_# 🧪 TEST LẠI (BẮT BUỘC LÀM)
- npm pack
- tar -tf dtd-cmd-*.tgz
_# Public
- npm publish --access public
_#
- npm view dtd-cmd versions
- npm install -g [email protected]
