mirror of
https://github.com/nextlevelbuilder/ui-ux-pro-max-skill.git
synced 2026-07-03 12:32:30 +08:00
The bin mapping was "./dist/index.js". On publish, npm normalizes bin values and the leading ./ triggers a warning -- on the npm version in the release runner it reports `bin[uipro] script name dist/index.js was invalid and removed`, i.e. the published package ships with no `uipro` command, so `npx uipro-cli init` would not work even once publishing succeeds (see #353). Change the value to the canonical `dist/index.js` (exactly what `npm pkg fix` produces). src/index.ts already has the `#!/usr/bin/env node` shebang, which bun build preserves, so the bin is executable. Verified: `npm publish --dry-run` no longer emits the bin warning, and dist/index.js is included in the tarball; typecheck passes. Addresses the package-metadata half of #353. Actually landing on npm still requires a release run with a token that has publish rights for uipro-cli.
52 lines
1.1 KiB
JSON
Executable File
52 lines
1.1 KiB
JSON
Executable File
{
|
|
"name": "uipro-cli",
|
|
"version": "2.5.0",
|
|
"description": "CLI to install UI/UX Pro Max skill for AI coding assistants",
|
|
"type": "module",
|
|
"bin": {
|
|
"uipro": "dist/index.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"assets"
|
|
],
|
|
"scripts": {
|
|
"build": "bun build src/index.ts --outdir dist --target node",
|
|
"dev": "bun run src/index.ts",
|
|
"sync:assets": "node scripts/sync-assets.mjs",
|
|
"check:assets": "node scripts/sync-assets.mjs --check",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepublishOnly": "npm run sync:assets && npm run typecheck && bun run build"
|
|
},
|
|
"keywords": [
|
|
"ui",
|
|
"ux",
|
|
"design",
|
|
"claude",
|
|
"cursor",
|
|
"windsurf",
|
|
"copilot",
|
|
"kiro",
|
|
"trae",
|
|
"roocode",
|
|
"codex",
|
|
"qoder",
|
|
"ai",
|
|
"skill"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"commander": "^12.1.0",
|
|
"chalk": "^5.3.0",
|
|
"ora": "^8.1.1",
|
|
"prompts": "^2.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.1.14",
|
|
"@types/node": "^22.10.1",
|
|
"@types/prompts": "^2.4.9",
|
|
"typescript": "^5.7.2"
|
|
}
|
|
}
|