@tyleretters/discography 1.0.4 β†’ 1.1.4

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.
@@ -8,34 +8,34 @@
8
8
  mp3: false
9
9
  wav: false
10
10
  tracks:
11
- - number:
11
+ - number: 1
12
12
  title: "π”‘π”žπ”²π”«π”±π”©π”’π”°π”° 𝔠π”₯𝔬𝔦𝔯"
13
13
  length: 00:58:19
14
- - number:
14
+ - number: 2
15
15
  title: "𝓀𝒢𝓉𝒢𝒷𝒢𝓉𝒾𝒸 π“Œπ’Ύπ“ƒπ’Ή"
16
16
  length: 00:59:59
17
- - number:
17
+ - number: 3
18
18
  title: "π™΅πš˜πš πš†πšŠπš•πš•πšœ"
19
19
  length: 00:59:52
20
- - number:
20
+ - number: 4
21
21
  title: "broken promise (for timm)"
22
22
  length: 00:59:06
23
- - number:
23
+ - number: 5
24
24
  title: "THE CONTINUANCE"
25
25
  length: 01:00:00
26
- - number:
26
+ - number: 6
27
27
  title: "γƒˆγƒ©γƒ³γ‚Ή"
28
28
  length: 00:59:29
29
- - number:
29
+ - number: 7
30
30
  title: "Elegies for Anja"
31
31
  length: 01:01:30
32
- - number:
33
- title: "Π―Ξ£BΠ―Σ¨Ξ›DCΞ›Ζ§Ζ¬ [1/2] 𝘍𝘭𝘒𝘴𝘩 𝘊𝘳𝘒𝘴𝘩 π˜—π˜ͺ𝘳𝘒𝘡𝘦 π˜™π˜’π˜₯π˜ͺ𝘰 π˜”π˜ͺ𝘹 𝘡𝘦𝘩𝘯"
32
+ - number: 8
33
+ title: "Π―Ξ£BΠ―Σ¨Ξ›DCΞ›Ζ§Ζ¬ [1/2] 𝘍𝘭𝘒𝘴𝘩 𝘊𝘳𝘒𝘴𝘩 π˜—π˜ͺ𝘳𝘒𝘡𝘦 π˜™π˜’π˜₯π˜ͺ𝘰 π˜”π˜ͺ𝘹 + 𝘡𝘦𝘩𝘯"
34
34
  length: 00:58:39
35
- - number:
35
+ - number: 9
36
36
  title: "Π―Ξ£BΠ―Σ¨Ξ›DCΞ›Ζ§Ζ¬ [2/2] 𝘍𝘭𝘒𝘴𝘩 𝘊𝘳𝘒𝘴𝘩 π˜—π˜ͺ𝘳𝘒𝘡𝘦 π˜™π˜’π˜₯π˜ͺ𝘰 π˜”π˜ͺ𝘹 + 𝘡𝘦𝘩𝘯"
37
37
  length: 00:59:32
38
- - number:
38
+ - number: 10
39
39
  title: "Kowloon City: οΌ¬ο½…ο½™ο½Œο½‰ο½Žο½…"
40
40
  length: 00:58:49
41
41
  streams:
package/package.json CHANGED
@@ -1,22 +1,25 @@
1
1
  {
2
2
  "name": "@tyleretters/discography",
3
- "version": "1.0.4",
3
+ "type": "module",
4
+ "version": "1.1.4",
4
5
  "description": "A canonical discography of the music of Tyler Etters.",
5
- "main": "dist/index.js",
6
+ "main": "dist/index.es.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "scripts": {
8
9
  "convert": "./src/convert.py",
9
- "build": "./src/convert.py && tsc && rollup -c && cp ./src/discography.yml ./dist/discography.yml"
10
+ "build": "npm run convert && tsc && vite build && cp ./src/discography.yml ./dist/discography.yml"
10
11
  },
11
12
  "repository": {
12
13
  "type": "git",
13
14
  "url": "git+https://github.com/tyleretters/discography.git"
14
15
  },
16
+ "publishConfig": {
17
+ "registry": "https://www.npmjs.com/package/@tyleretters/discography"
18
+ },
15
19
  "author": "Tyler Etters",
16
20
  "devDependencies": {
17
21
  "@types/node": "^20.10.6",
18
- "rollup": "^4.9.2",
19
- "rollup-plugin-typescript2": "^0.36.0",
20
- "typescript": "^5.3.3"
22
+ "typescript": "^5.3.3",
23
+ "vite": "^6.0.11"
21
24
  }
22
25
  }
@@ -8,34 +8,34 @@
8
8
  mp3: false
9
9
  wav: false
10
10
  tracks:
11
- - number:
11
+ - number: 1
12
12
  title: "π”‘π”žπ”²π”«π”±π”©π”’π”°π”° 𝔠π”₯𝔬𝔦𝔯"
13
13
  length: 00:58:19
14
- - number:
14
+ - number: 2
15
15
  title: "𝓀𝒢𝓉𝒢𝒷𝒢𝓉𝒾𝒸 π“Œπ’Ύπ“ƒπ’Ή"
16
16
  length: 00:59:59
17
- - number:
17
+ - number: 3
18
18
  title: "π™΅πš˜πš πš†πšŠπš•πš•πšœ"
19
19
  length: 00:59:52
20
- - number:
20
+ - number: 4
21
21
  title: "broken promise (for timm)"
22
22
  length: 00:59:06
23
- - number:
23
+ - number: 5
24
24
  title: "THE CONTINUANCE"
25
25
  length: 01:00:00
26
- - number:
26
+ - number: 6
27
27
  title: "γƒˆγƒ©γƒ³γ‚Ή"
28
28
  length: 00:59:29
29
- - number:
29
+ - number: 7
30
30
  title: "Elegies for Anja"
31
31
  length: 01:01:30
32
- - number:
33
- title: "Π―Ξ£BΠ―Σ¨Ξ›DCΞ›Ζ§Ζ¬ [1/2] 𝘍𝘭𝘒𝘴𝘩 𝘊𝘳𝘒𝘴𝘩 π˜—π˜ͺ𝘳𝘒𝘡𝘦 π˜™π˜’π˜₯π˜ͺ𝘰 π˜”π˜ͺ𝘹 𝘡𝘦𝘩𝘯"
32
+ - number: 8
33
+ title: "Π―Ξ£BΠ―Σ¨Ξ›DCΞ›Ζ§Ζ¬ [1/2] 𝘍𝘭𝘒𝘴𝘩 𝘊𝘳𝘒𝘴𝘩 π˜—π˜ͺ𝘳𝘒𝘡𝘦 π˜™π˜’π˜₯π˜ͺ𝘰 π˜”π˜ͺ𝘹 + 𝘡𝘦𝘩𝘯"
34
34
  length: 00:58:39
35
- - number:
35
+ - number: 9
36
36
  title: "Π―Ξ£BΠ―Σ¨Ξ›DCΞ›Ζ§Ζ¬ [2/2] 𝘍𝘭𝘒𝘴𝘩 𝘊𝘳𝘒𝘴𝘩 π˜—π˜ͺ𝘳𝘒𝘡𝘦 π˜™π˜’π˜₯π˜ͺ𝘰 π˜”π˜ͺ𝘹 + 𝘡𝘦𝘩𝘯"
37
37
  length: 00:59:32
38
- - number:
38
+ - number: 10
39
39
  title: "Kowloon City: οΌ¬ο½…ο½™ο½Œο½‰ο½Žο½…"
40
40
  length: 00:58:49
41
41
  streams:
@@ -0,0 +1,2 @@
1
+ certifi==2021.10.8
2
+ PyYAML==6.0.1
package/tsconfig.json CHANGED
@@ -2,14 +2,15 @@
2
2
  "compilerOptions": {
3
3
  "outDir": "dist",
4
4
  "module": "esnext",
5
- "target": "es5",
6
- "lib": ["es6", "dom", "es2016", "es2017"],
5
+ "target": "esnext",
6
+ "lib": ["esnext", "dom"],
7
7
  "sourceMap": true,
8
- "allowJs": false,
9
8
  "declaration": true,
9
+ "emitDeclarationOnly": true,
10
10
  "moduleResolution": "node",
11
- "forceConsistentCasingInFileNames": true
11
+ "forceConsistentCasingInFileNames": true,
12
+ "skipLibCheck": true
12
13
  },
13
14
  "include": ["src/**/*.ts"],
14
- "exclude": ["node_modules", "dist", "rollup.config.js"]
15
- }
15
+ "exclude": ["node_modules", "dist", "vite.config.js"]
16
+ }
package/vite.config.js ADDED
@@ -0,0 +1,21 @@
1
+ import { defineConfig } from "vite";
2
+ import path from "path";
3
+ import pkg from "./package.json";
4
+
5
+ export default defineConfig({
6
+ build: {
7
+ sourcemap: true,
8
+ lib: {
9
+ entry: path.resolve(__dirname, "src/index.ts"),
10
+ name: "discography",
11
+ fileName: (format) => `discography.${format}.js`,
12
+ },
13
+ rollupOptions: {
14
+ external: pkg.devDependencies ? Object.keys(pkg.devDependencies) : [],
15
+ output: {
16
+ exports: "named",
17
+ strict: false,
18
+ },
19
+ },
20
+ },
21
+ });
@@ -1,176 +0,0 @@
1
- export declare const discography: ({
2
- title: string;
3
- project: string;
4
- released: string;
5
- type: string;
6
- format: string;
7
- role: string;
8
- label: string;
9
- mp3: boolean;
10
- wav: boolean;
11
- tracks: {
12
- number: number;
13
- title: string;
14
- length: string;
15
- mp3_url: string;
16
- id: string;
17
- }[];
18
- streams: {
19
- platform: string;
20
- url: string;
21
- id: string;
22
- }[];
23
- notes: string;
24
- credits: string;
25
- project_slug: string;
26
- release_slug: string;
27
- cover_url: string;
28
- mp3_url: string;
29
- id: string;
30
- wav_url?: undefined;
31
- monospaceNotes?: undefined;
32
- } | {
33
- title: string;
34
- project: string;
35
- released: string;
36
- type: string;
37
- format: string;
38
- role: string;
39
- label: string;
40
- mp3: boolean;
41
- wav: boolean;
42
- tracks: {
43
- number: number;
44
- title: string;
45
- length: string;
46
- mp3_url: string;
47
- wav_url: string;
48
- id: string;
49
- }[];
50
- streams: {
51
- platform: string;
52
- url: string;
53
- id: string;
54
- }[];
55
- notes: string;
56
- credits: string;
57
- project_slug: string;
58
- release_slug: string;
59
- cover_url: string;
60
- mp3_url: string;
61
- wav_url: string;
62
- id: string;
63
- monospaceNotes?: undefined;
64
- } | {
65
- title: string;
66
- project: string;
67
- released: string;
68
- type: string;
69
- format: string;
70
- role: string;
71
- label: string;
72
- mp3: boolean;
73
- wav: boolean;
74
- tracks: {
75
- number: number;
76
- title: string;
77
- length: string;
78
- mp3_url: string;
79
- wav_url: string;
80
- id: string;
81
- }[];
82
- notes: string;
83
- credits: string;
84
- project_slug: string;
85
- release_slug: string;
86
- cover_url: string;
87
- mp3_url: string;
88
- wav_url: string;
89
- id: string;
90
- streams?: undefined;
91
- monospaceNotes?: undefined;
92
- } | {
93
- title: string;
94
- project: string;
95
- released: string;
96
- type: string;
97
- format: string;
98
- role: string;
99
- label: string;
100
- mp3: boolean;
101
- wav: boolean;
102
- tracks: {
103
- number: number;
104
- title: string;
105
- length: string;
106
- id: string;
107
- }[];
108
- notes: string;
109
- credits: string;
110
- project_slug: string;
111
- release_slug: string;
112
- cover_url: string;
113
- id: string;
114
- streams?: undefined;
115
- mp3_url?: undefined;
116
- wav_url?: undefined;
117
- monospaceNotes?: undefined;
118
- } | {
119
- title: string;
120
- project: string;
121
- released: string;
122
- type: string;
123
- format: string;
124
- role: string;
125
- label: string;
126
- mp3: boolean;
127
- wav: boolean;
128
- tracks: {
129
- number: number;
130
- title: string;
131
- length: string;
132
- mp3_url: string;
133
- wav_url: string;
134
- id: string;
135
- }[];
136
- monospaceNotes: boolean;
137
- notes: string;
138
- credits: string;
139
- project_slug: string;
140
- release_slug: string;
141
- cover_url: string;
142
- mp3_url: string;
143
- wav_url: string;
144
- id: string;
145
- streams?: undefined;
146
- } | {
147
- title: string;
148
- project: string;
149
- released: string;
150
- type: string;
151
- format: string;
152
- role: string;
153
- label: string;
154
- mp3: boolean;
155
- wav: boolean;
156
- tracks: {
157
- number: number;
158
- title: string;
159
- length: string;
160
- id: string;
161
- }[];
162
- streams: {
163
- platform: string;
164
- url: string;
165
- id: string;
166
- }[];
167
- notes: string;
168
- credits: string;
169
- project_slug: string;
170
- release_slug: string;
171
- cover_url: string;
172
- id: string;
173
- mp3_url?: undefined;
174
- wav_url?: undefined;
175
- monospaceNotes?: undefined;
176
- })[];