chore: add versioning & publish scripts
Some checks are pending
Demo / Explore-CI (push) Waiting to run
Some checks are pending
Demo / Explore-CI (push) Waiting to run
This commit is contained in:
parent
cfa91e7627
commit
aa6422b1b8
2 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,10 @@
|
|||
"prepare": "husky",
|
||||
"test": "pnpm -F @ayco/astro-sw test",
|
||||
"build": "pnpm -F @ayco/astro-sw build",
|
||||
"publish": "pnpm -F @ayco/astro-sw publish",
|
||||
"version:patch": "pnpm -F @ayco/astro-sw run version:patch",
|
||||
"version:minor": "pnpm -F @ayco/astro-sw run version:minor",
|
||||
"version:major": "pnpm -F @ayco/astro-sw run version:major",
|
||||
"demo": "pnpm run build && pnpm -F demo build:preview",
|
||||
"dev": "pnpm run demo",
|
||||
"postinstall": "pnpm run build"
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
"scripts": {
|
||||
"build": "tsup src/index.ts src/presets/index.ts src/presets/**/index.ts src/eslint/globals.ts --format esm --dts --clean",
|
||||
"test": "vitest run",
|
||||
"publish": "npm publish",
|
||||
"version:patch": "npm version patch",
|
||||
"version:minor": "npm version minor",
|
||||
"version:major": "npm version major"
|
||||
|
|
|
|||
Loading…
Reference in a new issue