@tyleretters/discography 2.0.31 → 2.1.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/src/index.ts DELETED
@@ -1,5 +0,0 @@
1
- import { Release, Track, Stream } from './types'
2
- import { discography } from './discography'
3
-
4
- export default discography
5
- export type { Release, Track, Stream }
@@ -1 +0,0 @@
1
- PyYAML==6.0.1
package/src/types.ts DELETED
@@ -1,37 +0,0 @@
1
- export interface Release {
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
- mp3_url?: string
11
- wav: boolean
12
- wav_url?: string
13
- tracks: Array<Track>
14
- streams?: Array<Stream>
15
- monospaceNotes?: boolean
16
- notes: string
17
- credits: string
18
- release_slug: string
19
- project_slug: string
20
- cover_url: string
21
- id: string
22
- }
23
-
24
- export interface Track {
25
- number: number
26
- title: string
27
- length: string
28
- mp3_url?: string
29
- wav_url?: string
30
- id: string
31
- }
32
-
33
- export interface Stream {
34
- platform: string
35
- url: string
36
- id: string
37
- }
package/tsconfig.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "outDir": "dist",
4
- "module": "esnext",
5
- "target": "esnext",
6
- "lib": ["esnext", "dom"],
7
- "sourceMap": true,
8
- "declaration": true,
9
- "emitDeclarationOnly": true,
10
- "moduleResolution": "node",
11
- "forceConsistentCasingInFileNames": true,
12
- "skipLibCheck": true
13
- },
14
- "include": ["src/**/*.ts"],
15
- "exclude": ["node_modules", "dist", "vite.config.js"]
16
- }
package/vite.config.js DELETED
@@ -1,21 +0,0 @@
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) => `index.${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
- });