From 9a6bba5ce8377c190f90a62df1cc59a94719018a Mon Sep 17 00:00:00 2001 From: Artem Melnyk Date: Mon, 15 Jul 2024 13:39:53 +0200 Subject: [PATCH] chore: include only needed files to jsr package --- deno.json | 15 ++++++++++++++- package.json | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/deno.json b/deno.json index 696c752..f0e3c42 100644 --- a/deno.json +++ b/deno.json @@ -1,11 +1,24 @@ { "name": "@soundify/web-api", - "version": "1.1.3", + "version": "1.1.4", "exports": { ".": "./mod.ts", "./pagination": "./pagination.ts", "./auth": "./auth.ts" }, + "publish": { + "include": [ + "client.ts", + "auth.ts", + "LICENSE", + "README.md", + "endpoints/**/*.ts", + "mod.ts", + "pagination.ts", + "shared.ts" + ], + "exclude": ["endpoints/**.test.ts", "endpoints/**.schemas.ts"] + }, "imports": { "zod": "https://deno.land/x/zod@v3.22.4/mod.ts", "oauth4webapi": "https://deno.land/x/oauth4webapi@v2.10.3/mod.ts", diff --git a/package.json b/package.json index 523104b..b75af3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@soundify/web-api", - "version": "1.1.3", + "version": "1.1.4", "description": "🎧 Spotify Web API client for js/ts runtime environments", "type": "module", "main": "dist/mod.cjs",