Skip to content

Commit

Permalink
fix: for users using NodeNext TS Module (#50)
Browse files Browse the repository at this point in the history
* output single type declaration file

* rm pre-release label from package version

* revert patch number too
  • Loading branch information
simonmcallister0210 authored Dec 17, 2024
1 parent 904c775 commit 5f09a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "esbuild src/index.ts --bundle --packages=external --minify --format=cjs --outfile=dist/cjs/index.js && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
"build:esm": "esbuild src/index.ts --bundle --packages=external --minify --format=esm --outfile=dist/esm/index.js && echo '{ \"type\": \"module\" }' > dist/esm/package.json",
"build:types": "tsc --emitDeclarationOnly --declaration src/index.ts --esModuleInterop --outDir dist/types",
"build:types": "tsc --emitDeclarationOnly --declaration src/index.ts --esModuleInterop --outFile dist/types/index.d.ts",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint -c .eslintrc.cjs --fix src/**",
"format:prettier": "prettier -c .prettierrc.cjs --write src/**",
Expand Down

0 comments on commit 5f09a7c

Please sign in to comment.