-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor common to esm module (#1199)
* Refactor common to esm module
- Loading branch information
1 parent
bd50cbf
commit 954656f
Showing
27 changed files
with
191 additions
and
155 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
File renamed without changes.
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
File renamed without changes.
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
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
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
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 |
---|---|---|
@@ -1,20 +1,10 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"importHelpers": false, | ||
"module": "es2022", | ||
"rootDir": "./src", | ||
"outDir": "./dist", | ||
"rootDir": "src", | ||
"strict": true, | ||
"target": "es2022", | ||
"allowSyntheticDefaultImports": true, | ||
"moduleResolution": "node16", | ||
"types": ["vitest/globals"] | ||
}, | ||
"include": ["./src/**/*"], | ||
"exclude": ["./src/**/*.test.ts"], | ||
"ts-node": { | ||
"esm": true | ||
} | ||
"include": ["./src/**/*.ts", "./src/**/*.mts"], | ||
"exclude": ["./src/**/*.test.ts", "./src/**/*.test.mts"], | ||
} |
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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
import { defineConfig } from 'vitest/config'; | ||
import { defineConfig, mergeConfig } from 'vitest/config'; | ||
import configShared from '../vite.config'; | ||
|
||
export default defineConfig({ | ||
test: { | ||
include: ['**/*.test.ts'], | ||
globals: true, | ||
}, | ||
}); | ||
export default mergeConfig(configShared, defineConfig({ | ||
})); |
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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"rootDir": "./src", | ||
"outDir": "./dist", | ||
"types": ["vitest/globals"] | ||
}, | ||
"include": ["./src/**/*.ts", "./src/**/*.mts"], | ||
"exclude": ["./src/**/*.test.ts", "./src/**/*.test.mts"], | ||
} |
Oops, something went wrong.