-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move cli to into class package that can be published to npmjs.com #67
Conversation
To better score at https://jsr.io/@classmodel/class/score
Currently package to publish has wrong dep pnpm pack
tar -vx -O -f ./classmodel-cli-0.0.3.tgz package/package.json |grep /class
package/package.json
"@classmodel/class": "0.0.3" Which is incorrect, it should be something like "npm:@jsr/classmodel__class@^0.0.3" |
Make sure version of lock file is compatible with installed pnpm
Maybe setting alias will help. |
That does not work because then someone using the cli will need to add |
Decided to have one package, by merging the class and cli package that is published to npmjs.
|
Tried running
|
Those are warnings, after a |
Follow of #57
Bin in package,json is also known as package executables or package binaries.
JSR and bin does not work in same package as installing the package from JSR is missing bin entry.
TODO
npx @classmodel/cli config.json