Files
gpuix/cli/package.json
T
Tommy D. Rossi 3e2d121321 Fix package-manager CLI entry detection
Resolve the executable path before comparing it with import.meta.url. Package managers launch the gpuix binary through a symlink, so the previous direct comparison made @gpuix/cli@0.1.0 exit without parsing any command.

Add a symlink regression test and release @gpuix/cli@0.1.1. Consume the original feature changeset because 0.1.0 is already published.

Session: ses_fb87b7e28fferSvDT71z3OadR1
2026-08-28 13:14:53 +02:00

63 lines
1.5 KiB
JSON

{
"name": "@gpuix/cli",
"version": "0.1.1",
"description": "Create a GPUIX app from the official example template",
"license": "Apache-2.0",
"type": "module",
"main": "./dist/cli.js",
"types": "./dist/cli.d.ts",
"bin": {
"gpuix": "./dist/cli.js"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/cli.d.ts",
"default": "./dist/cli.js"
},
"./src": {
"types": "./src/cli.ts",
"default": "./src/cli.ts"
},
"./src/*": {
"types": "./src/*.ts",
"default": "./src/*.ts"
}
},
"files": [
"src",
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/remorses/gpuix",
"directory": "cli"
},
"homepage": "https://github.com/remorses/gpuix#quickstart",
"bugs": "https://github.com/remorses/gpuix/issues",
"keywords": [
"gpui",
"gpuix",
"react",
"desktop",
"scaffold"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"build": "tsc && chmod +x dist/cli.js",
"test": "vitest run src",
"prepublishOnly": "node -e \"if (!process.env.CI) { console.error('Never publish @gpuix/cli locally. CI is the only release path. See AGENTS.md.'); process.exit(1) }\" && rimraf dist \"*.tsbuildinfo\" && bun run build"
},
"dependencies": {
"goke": "^6.14.1",
"jszip": "^3.10.1"
},
"devDependencies": {
"@types/node": "^25.3.3",
"rimraf": "^6.0.1"
}
}