forked from gree/sf2synth.js
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
17 changed files
with
1,096 additions
and
771 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
324 changes: 162 additions & 162 deletions
324
.yarn/releases/yarn-4.1.0.cjs → .yarn/releases/yarn-4.1.1.cjs
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
import globals from 'globals'; | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
import path from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
import { FlatCompat } from '@eslint/eslintrc'; | ||
import pluginJs from '@eslint/js'; | ||
import pluginImport from 'eslint-plugin-import'; | ||
|
||
// mimic CommonJS variables -- not needed if using CommonJS | ||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: pluginJs.configs.recommended, | ||
}); | ||
|
||
export default [ | ||
{ | ||
ignores: [ | ||
'.vscode/', | ||
'.yarn/', | ||
'dist/', | ||
'public/', | ||
'docs/', | ||
'src/**/*.generated.*', | ||
'eslint.config.js', | ||
], | ||
}, | ||
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } }, | ||
...compat.extends('standard'), | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
}, | ||
plugins: { | ||
import: pluginImport, | ||
}, | ||
settings: { | ||
// This will do the trick | ||
'import/parsers': { | ||
espree: ['.js', '.cjs', '.mjs', '.jsx'], | ||
}, | ||
'import/resolver': { | ||
node: true, | ||
alias: { | ||
map: [ | ||
['@', './src'], | ||
['~', './node_modules'], | ||
], | ||
extensions: ['.js', '.jsx'], | ||
}, | ||
}, | ||
vite: { | ||
configPath: './vite.config.ts', | ||
}, | ||
}, | ||
rules: { | ||
camelcase: 'off', | ||
'no-unused-vars': 'warn', | ||
// Fix for Vue setup style | ||
'import/default': 'off', | ||
// Fix for Vue setup style | ||
'import/no-default-export': 'off', | ||
// Sort Import Order. | ||
// see https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md#importorder-enforce-a-convention-in-module-import-order | ||
'import/order': [ | ||
'error', | ||
{ | ||
groups: [ | ||
'builtin', | ||
'external', | ||
'parent', | ||
'sibling', | ||
'index', | ||
'object', | ||
'type', | ||
], | ||
pathGroups: [ | ||
// Vue Core | ||
{ | ||
pattern: | ||
'{vue,vue-router,vuex,@/stores,vue-i18n,pinia,vite,vitest,vitest/**,@vitejs/**,@vue/**}', | ||
group: 'external', | ||
position: 'before', | ||
}, | ||
// Internal Codes | ||
{ | ||
pattern: '{@/**}', | ||
group: 'internal', | ||
position: 'before', | ||
}, | ||
], | ||
pathGroupsExcludedImportTypes: ['builtin'], | ||
alphabetize: { | ||
order: 'asc', | ||
}, | ||
'newlines-between': 'always', | ||
}, | ||
], | ||
}, | ||
}, | ||
// ...pluginVue.configs['flat/recommended'], | ||
eslintConfigPrettier, | ||
]; |
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,13 +1,13 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/jsconfig", | ||
"compilerOptions": { | ||
"module": "ESNext", | ||
"module": "NodeNext", | ||
"target": "ESNext", | ||
"moduleResolution": "nodenext", | ||
"resolveJsonModule": true, | ||
"checkJs": true, | ||
"lib": ["DOM", "DOM.Iterable", "ESNext"], | ||
"types": ["webmidi", "node"], | ||
"types": ["webmidi", "node"] | ||
}, | ||
"exclude": ["node_modules"], | ||
"exclude": ["node_modules"] | ||
} |
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,7 +1,7 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "@logue/sf2synth", | ||
"version": "0.6.3", | ||
"version": "0.7.0", | ||
"type": "module", | ||
"description": "SoundFont2 Synthesizer", | ||
"repository": { | ||
|
@@ -63,10 +63,10 @@ | |
"./dist/A320U-license.txt": "./dist/A320U-license.txt" | ||
}, | ||
"engines": { | ||
"node": ">=18.12.5", | ||
"node": ">=20.12.7", | ||
"yarn": ">=1.22.19" | ||
}, | ||
"packageManager": "[email protected].0", | ||
"packageManager": "[email protected].1", | ||
"scripts": { | ||
"dev": "vite", | ||
"clean": "rimraf node_modules/.vite", | ||
|
@@ -79,29 +79,35 @@ | |
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"@logue/reverb": "^1.3.7", | ||
"bootstrap": "^5.3.2" | ||
"@logue/reverb": "^1.3.9", | ||
"bootstrap": "^5.3.3" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.11.16", | ||
"@eslint/eslintrc": "^3.0.2", | ||
"@eslint/js": "^9.1.1", | ||
"@types/node": "^20.12.7", | ||
"@types/webmidi": "^2.0.10", | ||
"eslint": "^8.56.0", | ||
"eslint": "^8.0.1", | ||
"eslint-config-google": "^0.14.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-config-standard": "^17.1.0", | ||
"eslint-import-resolver-alias": "^1.1.2", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-import": "^2.25.2", | ||
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"husky": "^9.0.10", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"globals": "^15.0.0", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.2", | ||
"prettier": "^3.2.5", | ||
"query-string": "^8.2.0", | ||
"query-string": "^9.0.0", | ||
"rimraf": "^5.0.5", | ||
"sass": "1.70.0", | ||
"stylelint": "^16.2.1", | ||
"sass": "1.75.0", | ||
"stylelint": "^16.4.0", | ||
"stylelint-config-recommended-scss": "^14.0.0", | ||
"stylelint-order": "^6.0.4", | ||
"stylelint-prettier": "^5.0.0", | ||
"vite": "^5.0.12", | ||
"vite": "^5.2.10", | ||
"vite-plugin-banner": "^0.7.1", | ||
"vite-plugin-checker": "^0.6.4" | ||
}, | ||
|
@@ -122,4 +128,4 @@ | |
"semver": "^7.5.3", | ||
"yaml": "^2.3.2" | ||
} | ||
} | ||
} |
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
Oops, something went wrong.