File tree Expand file tree Collapse file tree 6 files changed +15
-7
lines changed Expand file tree Collapse file tree 6 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1- lib
1+ dist
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22import { main } from "../dist/index.js" ;
3- main ( ) ;
3+ main ( ) . argv ;
Original file line number Diff line number Diff line change 11{
22 "name" : " @pythnetwork/entropy-tester" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " Utility to test entropy provider callbacks" ,
55 "type" : " module" ,
66 "main" : " dist/index.js" ,
1616 " cli/**/*"
1717 ],
1818 "scripts" : {
19- "build" : " tsc" ,
19+ "build" : " tsc --project tsconfig.build.json " ,
2020 "fix:format" : " prettier --write ." ,
2121 "fix:lint" : " eslint --fix ." ,
2222 "test:format" : " prettier --check ." ,
2323 "test:lint" : " eslint . --max-warnings 0" ,
2424 "test:types" : " tsc" ,
25- "start" : " tsc && node cli/run.js"
25+ "start:dev" : " tsc --project tsconfig.build.json && node cli/run.js" ,
26+ "start:prod" : " node cli/run.js"
2627 },
2728 "repository" : {
2829 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ const RUN_OPTIONS = {
153153} as const ;
154154
155155export const main = function ( ) {
156- yargs ( hideBin ( process . argv ) )
156+ return yargs ( hideBin ( process . argv ) )
157157 . parserConfiguration ( {
158158 "parse-numbers" : false ,
159159 } )
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "compilerOptions" : {
4+ "outDir" : " ./dist" ,
5+ "noEmit" : false
6+ }
7+ }
Original file line number Diff line number Diff line change 11{
22 "extends" : " @cprussin/tsconfig/nextjs.json" ,
3- "include" : [" **/*.ts" , " **/*.tsx " ],
3+ "include" : [" **/*.ts" ],
44 "exclude" : [" node_modules" ]
55}
You can’t perform that action at this time.
0 commit comments