@qodestack/dl-yt-playlist
Advanced tools
Comparing version 7.2.0 to 7.3.0
@@ -7,3 +7,3 @@ import dts from 'bun-plugin-dts' | ||
await Bun.build({ | ||
entrypoints: ['./src/main.ts'], | ||
entrypoints: ['./src/main.ts', './src/schemas.ts'], | ||
outdir: './dist', | ||
@@ -10,0 +10,0 @@ target: 'bun', |
// @bun | ||
// src/main.ts | ||
var {$ } = globalThis.Bun; | ||
import fs from "fs"; | ||
import path from "path"; | ||
import google from "@googleapis/youtube"; | ||
import cliProgress from "cli-progress"; | ||
import {safeParse, parse} from "valibot"; | ||
// src/schemas.ts | ||
@@ -57,2 +49,8 @@ import {object, string, number, optional, array, minLength, pipe} from "valibot"; | ||
// src/main.ts | ||
var {$ } = globalThis.Bun; | ||
import fs from "fs"; | ||
import path from "path"; | ||
import google from "@googleapis/youtube"; | ||
import cliProgress from "cli-progress"; | ||
import {safeParse, parse} from "valibot"; | ||
import { | ||
@@ -59,0 +57,0 @@ createLogger, |
@@ -6,4 +6,17 @@ { | ||
"type": "module", | ||
"types": "./dist/main.d.ts", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/main.d.ts", | ||
"default": "./dist/main.js" | ||
} | ||
}, | ||
"./schemas": { | ||
"import": { | ||
"types": "./dist/schemas.d.ts", | ||
"default": "./dist/schemas.js" | ||
} | ||
} | ||
}, | ||
"publishConfig": { | ||
@@ -15,3 +28,3 @@ "access": "public" | ||
"build": "bun build.ts", | ||
"publishPackage": "npm run build && npm publish" | ||
"publishPackage": "npm run typecheck && npm run build && npm publish" | ||
}, | ||
@@ -18,0 +31,0 @@ "description": "Download all videos (or audio only) from a YouTube playlist!", |
153482
11
3459