-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
CLI Publish Command & Scaffolding #1
Conversation
"main": "build/legacy/index.cjs", | ||
"module": "build/legacy/index.js", | ||
"types": "src/index.d.ts", | ||
"module": "src/index.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest we don't add this. It's not used by Node, and all modern bundlers (which we will be using) also read "exports"
.
"main": "build/legacy/index.cjs", | ||
"module": "build/legacy/index.js", | ||
"types": "src/index.d.ts", | ||
"module": "src/index.js", | ||
"exports": { | ||
".": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just use "./publish"
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh this is GOOD. Just checking, would running tanstack-config
without args work? Or do you need to pass in a --config
? I also really like you can run the function without the CLI too!
If you run Just wanted to provide more than one option, especially since the tools I selected support it |
# Conflicts: # package.json # pnpm-lock.yaml
This PR:
"bin"
flag topackage.json
sonpx
and other scripts can calltanstack-config
to run thingsScreenshots