-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: remove core dependency from midi * chore: remove core dependency in key * feat: cleanup chord-type dependencies * chore: update mode dependencies * chore: cleanup dependencies * chore: update dependencies
- Loading branch information
Showing
32 changed files
with
1,313 additions
and
3,071 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,31 @@ | ||
--- | ||
"@tonaljs/roman-numeral": patch | ||
"@tonaljs/chord-detect": patch | ||
"@tonaljs/progression": patch | ||
"@tonaljs/chord-type": patch | ||
"@tonaljs/scale-type": patch | ||
"@tonaljs/pcset": patch | ||
"@tonaljs/range": patch | ||
"@tonaljs/scale": patch | ||
"tonal": patch | ||
"@tonaljs/midi": patch | ||
"@tonaljs/mode": patch | ||
"@tonaljs/note": patch | ||
"@tonaljs/key": patch | ||
--- | ||
|
||
#### `default` export is deprecated for @tonaljs modules | ||
|
||
Using default exports for single packages are deprecated, so instead of: | ||
|
||
```js | ||
import Note from "@tonaljs/note"; | ||
``` | ||
|
||
You should do this: | ||
|
||
```js | ||
import * as Note from "@tonaljs/note"; | ||
``` | ||
|
||
The same for all 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,23 +47,24 @@ | |
"testEnvironment": "node" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.26.1", | ||
"@changesets/cli": "^2.27.7", | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^20.10.1", | ||
"@typescript-eslint/eslint-plugin": "^7.0.1", | ||
"@typescript-eslint/parser": "^7.0.1", | ||
"esbuild": "^0.20.0", | ||
"esbuild": "^0.23.0", | ||
"eslint": "^8.54.0", | ||
"jest": "^29.5.0", | ||
"jest-config": "^29.5.0", | ||
"lint-staged": "^15.1.0", | ||
"lodash": "^4.17.15", | ||
"prettier": "^3.1.0", | ||
"ts-jest": "^29.1.0", | ||
"tsup": "^8.0.0", | ||
"turbo": "^1.10.3", | ||
"tsup": "^8.2.2", | ||
"turbo": "^2.0.0", | ||
"typedoc": "^0.26.5", | ||
"typedoc-plugin-markdown": "^4.2.2", | ||
"typescript": "^5.2.2" | ||
} | ||
"typescript": "^5.5.4" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
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 |
---|---|---|
|
@@ -6,7 +6,8 @@ | |
"chord-detect", | ||
"music", | ||
"theory", | ||
"tonal" | ||
"tonal", | ||
"music-theory" | ||
], | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
|
@@ -16,7 +17,7 @@ | |
"types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@tonaljs/chord-type": "5.0.5", | ||
"@tonaljs/core": "5.0.0", | ||
"@tonaljs/pitch-note": "6.0.0", | ||
"@tonaljs/pcset": "4.9.2" | ||
}, | ||
"author": "[email protected]", | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"chords", | ||
"music", | ||
"theory", | ||
"@tonaljs/core" | ||
"music-theory" | ||
], | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
|
@@ -17,7 +17,6 @@ | |
], | ||
"types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@tonaljs/core": "5.0.0", | ||
"@tonaljs/pcset": "4.9.2" | ||
}, | ||
"author": "[email protected]", | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"midi", | ||
"music", | ||
"theory", | ||
"@tonaljs/core" | ||
"tonal" | ||
], | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
|
@@ -16,7 +16,7 @@ | |
], | ||
"types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@tonaljs/core": "5.0.0" | ||
"@tonaljs/pitch-note": "6.0.0" | ||
}, | ||
"author": "[email protected]", | ||
"license": "MIT", | ||
|
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.