Skip to content

Commit

Permalink
remove cjs type generation
Browse files Browse the repository at this point in the history
  • Loading branch information
eatsjobs committed Apr 15, 2024
1 parent e9be40e commit 7f00a25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -15,7 +15,7 @@
"size": "echo \"index $(cat index.js | brotli | wc -c)\";echo \"keyed $(cat keyed.js | brotli | wc -c)\";echo \"reactive $(cat reactive.js | brotli | wc -c)\";echo \"preactive $(cat preactive.js | brotli | wc -c)\";echo \"signal $(cat signal.js | brotli | wc -c)\";echo \"node $(cat node.js | brotli | wc -c)\";echo \"worker $(cat worker.js | brotli | wc -c)\";",
"test": "c8 node test/coverage.js && node test/modern.mjs",
"coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info",
"postbuild": "npx tsc -p tsconfig.json && npx tsc -p tsconfig.cjs.json",
"postbuild": "npx tsc -p tsconfig.json",
"clean": "find ./ -type f -name '*.d.ts' -delete",
"are-types-wrong": "npx attw --pack ."
},
Expand All @@ -27,7 +27,7 @@
"author": "Andrea Giammarchi",
"license": "MIT",
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@arethetypeswrong/cli": "~0.15.3",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"ascjs": "^6.0.3",
Expand Down
18 changes: 0 additions & 18 deletions tsconfig.cjs.json

This file was deleted.

3 changes: 2 additions & 1 deletion tsconfig.json
Expand Up @@ -12,5 +12,6 @@
"strict": true,
"skipLibCheck": true
},
"include": ["esm/*.js", "esm/**/*.js"]
"include": ["esm/*.js", "esm/**/*.js"],
"exclude": ["rollup/**/*", "test/**/*"]
}

0 comments on commit 7f00a25

Please sign in to comment.