From 391f77ed496f88d4c810354224f34fd2b8c3fcc3 Mon Sep 17 00:00:00 2001 From: Kelly Davis Date: Wed, 8 Nov 2023 15:53:31 -0500 Subject: [PATCH] fix: add push-tags --- .changeset/few-rocks-hug.md | 5 ----- .changeset/metal-dolls-punch.md | 5 +++++ package.json | 6 ++++-- 3 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 .changeset/few-rocks-hug.md create mode 100644 .changeset/metal-dolls-punch.md diff --git a/.changeset/few-rocks-hug.md b/.changeset/few-rocks-hug.md deleted file mode 100644 index 69fc899..0000000 --- a/.changeset/few-rocks-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"mongodb-level": patch ---- - -Initial version of mongodb-level diff --git a/.changeset/metal-dolls-punch.md b/.changeset/metal-dolls-punch.md new file mode 100644 index 0000000..03c5717 --- /dev/null +++ b/.changeset/metal-dolls-punch.md @@ -0,0 +1,5 @@ +--- +"mongodb-level": patch +--- + +fix: support clear on sublevel diff --git a/package.json b/package.json index f42295f..9743413 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongodb-level", "description": "Mongodb backed abstract-level database for Node.js", - "version": "0.0.3", + "version": "0.0.2", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "Apache-2.0", @@ -37,7 +37,8 @@ "types": "pnpm tsc", "publish": "pnpm publish -r --no-git-checks --access public", "publish:beta": "pnpm publish -r --tag beta --no-git-checks --access public", - "publish:dev": "pnpm publish -r --tag dev --no-git-checks --access public" + "publish:dev": "pnpm publish -r --tag dev --no-git-checks --access public", + "push-tags": "pnpm exec changeset tag && git pull && git push --follow-tags" }, "dependencies": { "module-error": "^1.0.2", @@ -45,6 +46,7 @@ "abstract-level": "^1.0.3" }, "devDependencies": { + "@changesets/cli": "^2.26.0", "@shelf/jest-mongodb": "^4.1.4", "@tinacms/scripts": "^1.0.0", "@types/jest": "^29.2.4",