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
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,12 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test
if: matrix.node-version != 'latest'
# TODO (43081j): remove the following once there's some way to
# tell node not to try run typescript sources in a way that doesn't
# break <23 node
- run: npm run test
name: "npm run test (without type stripping)"
env:
NODE_OPTIONS: --no-experimental-strip-types
if: matrix.node-version == 'latest'
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"description": "A minimal library for executing processes in Node",
"main": "./dist/main.js",
"files": [
"dist",
"!dist/node_modules",
"!dist/cjs/test",
"!dist/esm/test"
"dist"
],
"scripts": {
"build": "npm run build:types && tsup",
Expand Down Expand Up @@ -54,10 +51,6 @@
"import": {
"types": "./dist/main.d.ts",
"default": "./dist/main.js"
},
"require": {
"types": "./dist/main.d.cts",
"default": "./dist/main.cjs"
}
},
"./package.json": "./package.json"
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "tsup";
export default defineConfig({
entryPoints: ["src/main.ts"],
outDir: "dist",
format: ["esm", "cjs"],
format: ["esm"],
tsconfig: "./tsconfig.json",
target: "es2022",
minify: false,
Expand Down