-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use npm + improve test and lint configuration + upgrade deps
- Loading branch information
1 parent
3ab1249
commit 4b27404
Showing
13 changed files
with
54,518 additions
and
23,199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,8 +121,10 @@ typings/ | |
.idea/ | ||
.nvmrc | ||
.npmrc | ||
package-lock.json | ||
.yarn/ | ||
temp/ | ||
yarn.lock | ||
.yarnrc.yml | ||
|
||
# Dist | ||
dist/ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import type { Config as JestConfig } from '@jest/types' | ||
|
||
const config: JestConfig.InitialOptions = { | ||
verbose: true, | ||
collectCoverage: false, | ||
resetModules: true, | ||
restoreMocks: true, | ||
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'], | ||
transform: { '^.+\\.tsx?$': 'ts-jest' }, | ||
globals: { | ||
'ts-jest': { | ||
tsconfig: '../../tsconfig.test.json' | ||
} | ||
}, | ||
coveragePathIgnorePatterns: ['/dist/', '<rootDit>/dist', '/node_modules/', '<rootDir>/examples'], | ||
testPathIgnorePatterns: ['/dist/', '<rootDit>/dist', '/node_modules/', '<rootDir>/examples'] | ||
} | ||
|
||
export default config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
"npmClient": "npm", | ||
"packages": [ | ||
"benchmarks", | ||
"internal/*", | ||
"pkgs/*", | ||
"examples/*" | ||
], | ||
|
Oops, something went wrong.