@tyleretters/discography 2.2.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -18
- package/dist/index.es.js +787 -787
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types.d.ts +6 -3
- package/package.json +7 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
export type ReleaseType = 'Mix' | 'LP' | 'EP' | 'Single' | 'OST' | 'Compilation' | 'Triple LP' | 'Demo';
|
|
2
|
+
export type ReleaseFormat = 'Digital' | 'CD-R' | 'Vinyl' | 'CD' | 'CD, Digital' | 'Cassette, Digital';
|
|
3
|
+
export type ReleaseRole = 'DJ' | 'Artist' | 'Producer' | 'Musician' | 'Band Member' | 'Principal Musician' | 'Operator';
|
|
1
4
|
export interface Release {
|
|
2
5
|
title: string;
|
|
3
6
|
slug?: string;
|
|
4
7
|
project: string;
|
|
5
8
|
released: string;
|
|
6
|
-
type:
|
|
7
|
-
format:
|
|
8
|
-
role:
|
|
9
|
+
type: ReleaseType;
|
|
10
|
+
format: ReleaseFormat;
|
|
11
|
+
role: ReleaseRole;
|
|
9
12
|
label: string;
|
|
10
13
|
mp3: boolean;
|
|
11
14
|
mp3_url?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tyleretters/discography",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
|
+
"sideEffects": false,
|
|
5
6
|
"description": "A canonical discography of the music of Tyler Etters.",
|
|
6
7
|
"main": "dist/index.es.js",
|
|
7
8
|
"types": "dist/index.d.ts",
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
"scripts": {
|
|
19
20
|
"convert": "./src/convert.py",
|
|
20
21
|
"build": "npm run convert && vite build && tsc && cp ./src/discography.yml ./dist/discography.yml",
|
|
22
|
+
"prepublishOnly": "npm run build",
|
|
21
23
|
"lint": "eslint . && ruff check src/",
|
|
22
24
|
"lint:fix": "eslint --fix . && ruff check --fix src/"
|
|
23
25
|
},
|
|
@@ -35,8 +37,11 @@
|
|
|
35
37
|
"tyler-etters",
|
|
36
38
|
"catalog"
|
|
37
39
|
],
|
|
38
|
-
"license": "CC
|
|
40
|
+
"license": "CC-BY-SA-4.0",
|
|
39
41
|
"author": "Tyler Etters",
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=18"
|
|
44
|
+
},
|
|
40
45
|
"devDependencies": {
|
|
41
46
|
"@eslint/js": "^9.18.0",
|
|
42
47
|
"@types/node": "^20.10.6",
|