From 73e0dabcc8e1be0742502c5ce413187098ea5406 Mon Sep 17 00:00:00 2001 From: Skye <46286597+Skye-31@users.noreply.github.com> Date: Sun, 1 Sep 2024 12:55:22 +0100 Subject: [PATCH] Fix: don't publish src directory in tarball (#81) Closes #80 --- .changeset/gorgeous-seahorses-smash.md | 5 +++++ package.json | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .changeset/gorgeous-seahorses-smash.md diff --git a/.changeset/gorgeous-seahorses-smash.md b/.changeset/gorgeous-seahorses-smash.md new file mode 100644 index 0000000..645a111 --- /dev/null +++ b/.changeset/gorgeous-seahorses-smash.md @@ -0,0 +1,5 @@ +--- +"d1-orm": patch +--- + +Fix: Don't publish the `src` directory in the package diff --git a/package.json b/package.json index 2abff04..f5b60a8 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,7 @@ "type": "module", "main": "lib/index.js", "files": [ - "lib", - "src" + "lib" ], "scripts": { "build": "tsc", @@ -34,8 +33,8 @@ "check:format": "prettier . --check --ignore-unknown --end-of-line lf", "check:lint": "eslint src/*.ts --cache --cache-strategy content --max-warnings=0", "docs:watch": "typedoc --watch", + "format": "prettier . --write --ignore-unknown --end-of-line lf", "lint:fix": "eslint src/*.ts --fix", - "prettify": "prettier . --write --ignore-unknown --end-of-line lf", "prepublish": "tsc", "serve": "npm run build:docs && wrangler pages dev docs", "test": "vitest run",