diff --git a/changelogs/drizzle-orm/0.25.1.md b/changelogs/drizzle-orm/0.25.1.md new file mode 100644 index 000000000..ee83fda61 --- /dev/null +++ b/changelogs/drizzle-orm/0.25.1.md @@ -0,0 +1 @@ +- 🐛 Fix package.json `exports` field diff --git a/drizzle-orm/package.json b/drizzle-orm/package.json index b75bb4238..a917321ed 100644 --- a/drizzle-orm/package.json +++ b/drizzle-orm/package.json @@ -1,6 +1,6 @@ { "name": "drizzle-orm", - "version": "0.25.0", + "version": "0.25.1", "description": "Drizzle ORM package for SQL databases", "type": "module", "scripts": { @@ -8,7 +8,7 @@ "b": "pnpm build", "test:types": "cd type-tests && tsc", "test": "vitest run", - "pack": "cp package.json dist/ && (cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz", + "pack": "(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz", "publish": "npm publish package.tgz" }, "main": "./index.cjs", diff --git a/drizzle-zod/package.json b/drizzle-zod/package.json index 07680fefe..f02704b21 100644 --- a/drizzle-zod/package.json +++ b/drizzle-zod/package.json @@ -7,7 +7,7 @@ "build": "rimraf dist && rollup --config rollup.config.ts --configPlugin typescript && resolve-tspaths && cp README.md package.json dist/", "b": "pnpm build", "test:types": "cd tests && tsc", - "pack": "cp package.json dist/ && (cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz", + "pack": "(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz", "publish": "npm publish package.tgz", "test": "ava tests" },