-
Notifications
You must be signed in to change notification settings - Fork 18
Add simple "bin" test
#59
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| #!/usr/bin/env node | ||
| "use strict"; | ||
| console.log("Hello from CLI!"); | ||
| //# sourceMappingURL=cli.js.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| #!/usr/bin/env node | ||
| //# sourceMappingURL=cli.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| #!/usr/bin/env node | ||
| //# sourceMappingURL=cli.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "name": "bin-only-pkg", | ||
| "version": "1.0.0", | ||
| "description": "Test fixture for zshy - bin only (no exports in zshy config)", | ||
| "type": "module", | ||
| "scripts": { | ||
| "build": "tsx ../../src/index.ts --project tsconfig.json" | ||
| }, | ||
| "devDependencies": { | ||
| "typescript": "^5.8.3" | ||
| }, | ||
| "zshy": { | ||
| "bin": "./src/cli.ts" | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "exports": { | ||
| "./some-existing-export": "./some-path.js" | ||
| }, | ||
| "bin": "./dist/cli.cjs" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| #!/usr/bin/env node | ||
|
|
||
| console.log("Hello from CLI!"); | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "extends": "../tsconfig.default.json", | ||
| "compilerOptions": { | ||
| "outDir": "./dist" | ||
| }, | ||
| "include": ["src/**/*"], | ||
| "exclude": ["node_modules", "**/*.d.ts"] | ||
| } | ||
|
|
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.
[nitpick] The workflow file changes (reordering triggers and changing from 'VERSION.txt' to 'package.json') appear to be unrelated to the PR's stated purpose of "Add simple
bintest" and ensuring it doesn't setexports. Consider separating these workflow changes into a separate commit or PR for clarity.