Skip to content

Commit e462c46

Browse files
Update package.json clean script and adjust TypeScript output directory
1 parent f2f088b commit e462c46

File tree

3 files changed

+950
-2
lines changed

3 files changed

+950
-2
lines changed

.yarn/releases/yarn-4.9.1.cjs

Lines changed: 948 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"build": "yarn build:cjs && yarn build:esm",
6262
"build:cjs": "tsc -p tsconfig.cjs.json",
6363
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > esm/package.json",
64-
"clean": "exec git clean -xf -e 'node_modules' '*'",
64+
"clean": "yarn exec git clean -xf -e 'node_modules' -e '.yarn' '*'",
6565
"test": "jest test --no-cache --forceExit",
6666
"prepack": "yarn build"
6767
},

tsconfig.cjs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"target": "ES2022",
55
"module": "CommonJS",
66
"declaration": true,
7-
"outDir": "./cjs",
7+
"outDir": "./",
88
"esModuleInterop": true,
99
"forceConsistentCasingInFileNames": true,
1010
"strict": true,

0 commit comments

Comments
 (0)