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",