From d83ee292c85e9d217846c52e82670b33955bb0a0 Mon Sep 17 00:00:00 2001 From: Don McCurdy Date: Tue, 25 Jun 2024 10:16:30 -0400 Subject: [PATCH] Add macro to publish alpha --- package.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d40b83b..5f67314 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,10 @@ { "name": "@carto/api-client", - "private": true, + "version": "0.0.1-0", + "publishConfig": { + "access": "public", + "tag": "alpha" + }, "packageManager": "yarn@4.2.2", "author": "Don McCurdy ", "license": "UNLICENSED", @@ -31,7 +35,11 @@ "coverage": "vitest run --coverage", "lint": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --check", "format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write", - "clean": "rimraf build/*" + "clean": "rimraf build/*", + "version": "git add -u", + "prepack": "yarn clean && yarn build", + "prepublish": "yarn lint && yarn test", + "postpublish": "git push && git push --tags" }, "files": [ "build", @@ -76,5 +84,6 @@ "vite": "^5.2.10", "vitest": "1.6.0", "vue": "^3.4.27" - } + }, + "stableVersion": "0.0.0" }