-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: save and pkm interfaces (#56)
* start centralizing collection of supported save types * initial buggy centralization * fix bugs from refacotr * move save detection to save type classes * use pkm interface instead of hardcoded type * update OHPKM buffers -> uint8arrays * fix file type select name * a few more fixes * gameboy save tweaks
- Loading branch information
1 parent
77ddae6
commit 276f825
Showing
79 changed files
with
5,785 additions
and
3,633 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'], | ||
} |
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,11 @@ | ||
module.exports = { | ||
transform: { | ||
'^.+\\.[tj]sx?$': [ | ||
'babel-jest', | ||
{ presets: ['@babel/preset-env', '@babel/preset-typescript'] }, | ||
], | ||
}, | ||
testEnvironment: 'node', | ||
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.[tj]sx?$', | ||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], | ||
} |
Oops, something went wrong.