@tyleretters/discography 1.0.3 → 1.1.3

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.
@@ -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
- })[];