Skip to content

Commit

Permalink
Incorporate build-cts as top-level tool
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Jan 31, 2025
1 parent b9e731e commit 2f88747
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion templates/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test": "tests"
},
"scripts": {
"build:cts": "node -e \"fs.copyFileSync('dist/esm/index.d.ts', 'dist/cjs/index.d.cts')\"",
"build:cts": "node ../../tools/build-cts.js dist/esm/index.d.ts dist/cjs/index.d.cts",
"build": "rollup -c && tsc -p tsconfig.esm.json && npm run build:cts",
"test:jsr": "npx jsr@latest publish --dry-run",
"test": "mocha tests/*.js",
Expand Down
2 changes: 0 additions & 2 deletions tools/new-pkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
* @author Nicholas C. Zakas
*/

/* eslint no-console: off -- CLI needs output. */

//-----------------------------------------------------------------------------
// Imports
//-----------------------------------------------------------------------------
Expand Down

0 comments on commit 2f88747

Please sign in to comment.