Skip to content

Commit 163c389

Browse files
authored
Merge pull request #3240 from OpenNeuroOrg/cli-typescript-fix
fix(cli): Ship commonjs instead of typescript for npm
2 parents 62108e2 + 86ec5f7 commit 163c389

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/openneuro-cli/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"compilerOptions": {
44
"rootDir": "./src",
55
"outDir": "./dist",
6+
"module": "commonjs",
7+
"moduleResolution": "node",
68
"tsBuildInfoFile": "../../.build-cache/cli.tsbuildinfo"
79
},
810
"include": ["./src"],

packages/openneuro-client/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"compilerOptions": {
44
"rootDir": "./src",
55
"outDir": "./dist",
6+
"module": "commonjs",
7+
"moduleResolution": "node",
68
"tsBuildInfoFile": "../../.build-cache/client.tsbuildinfo"
79
},
810
"include": ["src"],

0 commit comments

Comments
 (0)