From 854574e30b5e5a366120fccaad90f861160cc9ac Mon Sep 17 00:00:00 2001 From: Ika Date: Sun, 18 Apr 2021 15:56:35 +0800 Subject: [PATCH] build: update Cargo.lock after version bump --- .versionrc.js | 7 +++++++ package.json | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.versionrc.js b/.versionrc.js index b4b84e7..07896e0 100644 --- a/.versionrc.js +++ b/.versionrc.js @@ -1,4 +1,11 @@ module.exports = { + preset: "angular", + scripts: { + postbump: [ + "cargo package --list --allow-dirty && git add Cargo.lock", + "rm -r docs && node scripts/generate-playground.js && git add docs", + ].join(" && "), + }, bumpFiles: [ { filename: "package.json", diff --git a/package.json b/package.json index 813af0a..64e3ebd 100644 --- a/package.json +++ b/package.json @@ -21,12 +21,6 @@ "release": "standard-version --commit-all", "tree-sitter": "./tree-sitter/target/release/tree-sitter" }, - "standard-version": { - "preset": "angular", - "scripts": { - "postbump": "rm -r docs && node scripts/generate-playground.js && git add docs" - } - }, "dependencies": { "nan": "^2.14.0" },