-
Notifications
You must be signed in to change notification settings - Fork 267
fix(entropy-tester): adjust cli execution and tsconfigs #2773
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 1 commit
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 |
---|---|---|
@@ -1 +1 @@ | ||
lib | ||
dist |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env node | ||
import { main } from "../dist/index.js"; | ||
main(); | ||
main().argv; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"extends": "@cprussin/tsconfig/nextjs.json", | ||
"include": ["**/*.ts", "**/*.tsx"], | ||
"extends": "@cprussin/tsconfig/base.json", | ||
"compilerOptions": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Generally, I will separate out things so that the base tsconfig is just used to check types (i.e. I prefer doing things this way because it allows you to run just a type check as part of CI without actually building. It's a bit pedantic but I do find it nice. |
||
"outDir": "./dist", | ||
"noEmit": false | ||
}, | ||
"include": ["**/*.ts"], | ||
"exclude": ["node_modules"] | ||
} |
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.
This is named
start:dev
(and the other one is namedstart:prod
) in other services