prepare package release

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-01-22 21:22:42 +01:00
parent 30d19b72d3
commit c8aae7be2d
8 changed files with 426 additions and 29 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
PUBLISH_VERSION ?=
ifndef PUBLISH_VERSION
$(error PUBLISH_VERSION is not set)
endif
.PHONY: all
all:
.PHONY: publish
publish:
yarn install
yarn build
yarn run copy
cd src && yarn publish --no-git-tag-version --access public --new-version $(PUBLISH_VERSION)