Skip to content

Commit 396f8c3

Browse files
committed
chore(jest-taro-helper): outdir
1 parent 5ed0caf commit 396f8c3

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
lines changed

packages/jest-helper/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"license": "MIT",
88
"main": "index.js",
99
"files": [
10-
"lib"
10+
"dist"
1111
],
1212
"scripts": {
1313
"prod": "pnpm run build",
1414
"prebuild": "pnpm run clean",
15-
"clean": "rimraf ./lib",
15+
"clean": "rimraf ./dist",
1616
"build": "tsc",
1717
"dev": "tsc -w"
1818
},

packages/jest-helper/project.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/jest-helper/tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
"extends": "../../tsconfig.root.json",
33
"compilerOptions": {
44
"baseUrl": ".",
5-
"outDir": "lib",
5+
"outDir": "dist",
66
"rootDir": "./src",
77
"module": "commonjs"
88
},
9-
"include": ["./src"],
10-
"exclude": ["./src/__tests__"]
9+
"include": ["./src"]
1110
}

tests/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const config: Config = {
99
},
1010
preset: 'ts-jest',
1111
setupFilesAfterEnv: ['<rootDir>/__tests__/setup/index.ts'],
12-
snapshotSerializers: ['jest-taro-helper/lib/snapshot/serializers.js'],
12+
snapshotSerializers: ['jest-taro-helper/dist/snapshot/serializers.js'],
1313
testEnvironment: 'node',
1414
testEnvironmentOptions: {},
1515
testMatch: ['**/__tests__/?(*.)+(spec|test).[jt]s?(x)'],

0 commit comments

Comments
 (0)