Skip to content

Commit

Permalink
Fix/named export (#404)
Browse files Browse the repository at this point in the history
* fix: export Named for backwards compatibility

* chore: minor version bump

* chore: update deps
  • Loading branch information
danigb authored Jan 4, 2024
1 parent 9ced211 commit b501fcc
Show file tree
Hide file tree
Showing 68 changed files with 1,040 additions and 636 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"esbuild": "^0.19.6",
"eslint": "^8.54.0",
"husky": "^8.0.0",
"jest-config": "^29.5.0",
"jest": "^29.5.0",
"jest-config": "^29.5.0",
"lint-staged": "^15.1.0",
"lodash": "^4.17.15",
"prettier": "^3.1.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/abc-notation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tonaljs/abc-notation

## 4.8.1

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/core@4.10.3

## 4.8.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/abc-notation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/abc-notation",
"version": "4.8.0",
"version": "4.8.1",
"description": "Parse musical notes in abc notation",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand All @@ -9,7 +9,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/core": "^4.8.0"
"@tonaljs/core": "^4.10.3"
},
"keywords": [
"note",
Expand Down
8 changes: 8 additions & 0 deletions packages/array/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tonaljs/array

## 4.8.1

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/core@4.10.3

## 4.8.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/array/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/array",
"version": "4.8.0",
"version": "4.8.1",
"description": "Functions to work with arrays of tonal objects",
"keywords": [
"array",
Expand All @@ -15,7 +15,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/core": "^4.8.0"
"@tonaljs/core": "^4.10.3"
},
"author": "[email protected]",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/chord-detect/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @tonaljs/chord-detect

## 4.8.3

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/chord-type@5.0.3
- @tonaljs/core@4.10.3
- @tonaljs/pcset@4.8.3

## 4.8.2

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/chord-detect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/chord-detect",
"version": "4.8.2",
"version": "4.8.3",
"description": "Detect chord name based on note names",
"keywords": [
"chord-detect",
Expand All @@ -15,9 +15,9 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/chord-type": "^5.0.0",
"@tonaljs/core": "^4.8.0",
"@tonaljs/pcset": "^4.8.2"
"@tonaljs/chord-type": "^5.0.3",
"@tonaljs/core": "^4.10.3",
"@tonaljs/pcset": "^4.8.3"
},
"author": "[email protected]",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/chord-dictionary/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tonaljs/chord-dictionary

## 4.8.2

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/chord-type@5.0.3

## 4.8.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/chord-dictionary/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/chord-dictionary",
"version": "4.8.1",
"version": "4.8.2",
"description": "A dictionary of musical chords",
"keywords": [],
"main": "dist/index.js",
Expand All @@ -10,7 +10,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/chord-type": "^5.0.0"
"@tonaljs/chord-type": "^5.0.3"
},
"author": "[email protected]",
"license": "MIT",
Expand Down
9 changes: 9 additions & 0 deletions packages/chord-type/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @tonaljs/chord-type

## 5.0.3

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/core@4.10.3
- @tonaljs/pcset@4.8.3

## 5.0.2

- Add missing -maj7 alias
Expand Down
6 changes: 3 additions & 3 deletions packages/chord-type/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/chord-type",
"version": "5.0.2",
"version": "5.0.3",
"description": "A dictionary of musical chords",
"keywords": [
"chord",
Expand All @@ -17,8 +17,8 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/core": "^4.8.0",
"@tonaljs/pcset": "^4.8.2"
"@tonaljs/core": "^4.10.3",
"@tonaljs/pcset": "^4.8.3"
},
"author": "[email protected]",
"license": "MIT",
Expand Down
13 changes: 13 additions & 0 deletions packages/chord/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @tonaljs/chord

## 5.0.1

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/chord-detect@4.8.3
- @tonaljs/chord-type@5.0.3
- @tonaljs/collection@4.8.1
- @tonaljs/core@4.10.3
- @tonaljs/pcset@4.8.3
- @tonaljs/scale-type@4.8.3

## 5.0.0

### Major Changes
Expand Down
14 changes: 7 additions & 7 deletions packages/chord/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/chord",
"version": "5.0.0",
"version": "5.0.1",
"description": "Musical chords and its relations",
"keywords": [
"chord",
Expand All @@ -16,12 +16,12 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/chord-detect": "^4.8.2",
"@tonaljs/chord-type": "^5.0.0",
"@tonaljs/collection": "^4.8.0",
"@tonaljs/core": "^4.10.0",
"@tonaljs/pcset": "^4.8.2",
"@tonaljs/scale-type": "^4.8.2"
"@tonaljs/chord-detect": "^4.8.3",
"@tonaljs/chord-type": "^5.0.3",
"@tonaljs/collection": "^4.8.1",
"@tonaljs/core": "^4.10.3",
"@tonaljs/pcset": "^4.8.3",
"@tonaljs/scale-type": "^4.8.3"
},
"author": "[email protected]",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/collection/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tonaljs/collection

## 4.8.1

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility

## 4.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/collection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/collection",
"version": "4.8.0",
"version": "4.8.1",
"description": "Utility functions to work with collections (arrays)",
"keywords": [
"collection",
Expand Down
11 changes: 11 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @tonaljs/core

## 4.10.3

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/pitch@5.0.1
- @tonaljs/pitch-distance@5.0.1
- @tonaljs/pitch-interval@5.0.1
- @tonaljs/pitch-note@5.0.1

## 4.10.2

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/core",
"version": "4.10.2",
"version": "4.10.3",
"description": "Music theory library",
"keywords": [
"music",
Expand All @@ -18,10 +18,10 @@
"access": "public"
},
"dependencies": {
"@tonaljs/pitch": "^5.0.0",
"@tonaljs/pitch-interval": "^5.0.0",
"@tonaljs/pitch-distance": "^5.0.0",
"@tonaljs/pitch-note": "^5.0.0"
"@tonaljs/pitch": "^5.0.1",
"@tonaljs/pitch-interval": "^5.0.1",
"@tonaljs/pitch-distance": "^5.0.1",
"@tonaljs/pitch-note": "^5.0.1"
},
"scripts": {
"build": "tsup index.ts --sourcemap --dts --format esm,cjs"
Expand Down
6 changes: 6 additions & 0 deletions packages/duration-value/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @tonaljs/duration-value

## 4.8.1

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility

## 4.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/duration-value/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/duration-value",
"version": "4.8.0",
"version": "4.8.1",
"description": "Musical duration values",
"keywords": [
"duration-value",
Expand Down
8 changes: 8 additions & 0 deletions packages/interval/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tonaljs/interval

## 4.8.1

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/core@4.10.3

## 4.8.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/interval/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/interval",
"version": "4.8.0",
"version": "4.8.1",
"description": "Parse and manipulate music intervals",
"keywords": [
"interval",
Expand All @@ -15,7 +15,7 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/core": "^4.8.0"
"@tonaljs/core": "^4.10.3"
},
"author": "[email protected]",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions packages/key/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @tonaljs/key

## 4.9.2

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/core@4.10.3
- @tonaljs/note@4.10.1
- @tonaljs/roman-numeral@4.8.1

## 4.9.1

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/key/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tonaljs/key",
"version": "4.9.1",
"version": "4.9.2",
"description": "Functions to work with musical keys",
"keywords": [
"key",
Expand All @@ -15,13 +15,13 @@
],
"types": "dist/index.d.ts",
"dependencies": {
"@tonaljs/core": "^4.8.0",
"@tonaljs/note": "^4.8.0",
"@tonaljs/roman-numeral": "^4.8.0"
"@tonaljs/core": "^4.10.3",
"@tonaljs/note": "^4.10.1",
"@tonaljs/roman-numeral": "^4.8.1"
},
"devDependencies": {
"@tonaljs/chord": "^5.0.0",
"@tonaljs/scale": "^4.12.2"
"@tonaljs/chord": "^5.0.1",
"@tonaljs/scale": "^4.12.3"
},
"author": "[email protected]",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions packages/midi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @tonaljs/midi

## 4.9.1

### Patch Changes

- Named type was renamed to NamedPitch. Add old export for backwards compatibility
- Updated dependencies
- @tonaljs/core@4.10.3

## 4.9.0

### Minor Changes
Expand Down
Loading

0 comments on commit b501fcc

Please sign in to comment.