Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Import packed dist with Node
run: |
set -euo pipefail
tarball=$(npm pack)
tarball=$(npm pack --silent | tail -n 1)
tmpdir=$(mktemp -d)
trap 'rm -rf "$tmpdir" "$tarball"' EXIT
cd "$tmpdir"
Expand Down
1 change: 0 additions & 1 deletion IMPLEMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ load this package's TypeScript source.
```json
"exports": {
".": {
"intx-src": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
"license": "LGPL-2.1-only",
"author": "Sawyer Cutler <sawyer@dirtroad.dev>",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"intx-src": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepack": "bun run build",
"typecheck": "tsc --noEmit",
"test": "bun test ./src",
"format": "prettier -w ."
Expand Down
23 changes: 19 additions & 4 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"allowImportingTsExtensions": false,
"declaration": true,
"declarationMap": false,
"sourceMap": false,
"outDir": "dist",
"rootDir": "src",
"moduleResolution": "bundler",
"customConditions": []
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"exactOptionalPropertyTypes": true,
"esModuleInterop": true,
"skipLibCheck": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"lib": ["ESNext"],
"composite": false
},
"include": ["src"],
"exclude": ["src/**/*.test.ts"]
}
Loading