-
-
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.
- Loading branch information
1 parent
f45c6eb
commit db8c461
Showing
18 changed files
with
1,804 additions
and
2,250 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@aiou/bin-template": major | ||
--- | ||
|
||
build with esm |
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,6 @@ | ||
{ | ||
"extends": ["@aiou"], | ||
"rules": { | ||
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }] | ||
} | ||
} |
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 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,2 @@ | ||
#!/usr/bin/env node | ||
import '../lib/cli.mjs' |
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 |
---|---|---|
@@ -1,24 +1,27 @@ | ||
/** | ||
* @type {import('@jest/types').Config.InitialOptions} | ||
*/ | ||
module.exports = { | ||
export default { | ||
testEnvironment: 'jest-environment-node', | ||
cacheDirectory: './jest/cache', | ||
collectCoverage: true, | ||
collectCoverageFrom: ['src/**/*'], | ||
coverageDirectory: './jest/coverage', | ||
preset: 'ts-jest', | ||
resetMocks: true, | ||
resetModules: true, | ||
restoreMocks: true, | ||
globals: { | ||
'ts-jest': { | ||
diagnostics: false, | ||
useESM: true, | ||
}, | ||
}, | ||
resetMocks: true, | ||
resetModules: true, | ||
restoreMocks: true, | ||
moduleNameMapper: { | ||
'@/(.*)': '<rootDir>/src/$1', | ||
}, | ||
roots: ['<rootDir>/test'], | ||
moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx', 'node'], | ||
testRegex: '/test/.+\\.test\\.tsx?$', | ||
extensionsToTreatAsEsm: ['.ts'], | ||
testRegex: '/test/.+\\.test\\.ts?$', | ||
verbose: true, | ||
} |
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
Oops, something went wrong.