mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-10 20:18:50 +08:00
📦 build: add release-it
This commit is contained in:
parent
0ebd88d8c0
commit
3112d0013e
24
.release-it.json
Normal file
24
.release-it.json
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"plugins": {
|
||||||
|
"release-it-pnpm": {},
|
||||||
|
"@release-it/conventional-changelog": {
|
||||||
|
"preset": {
|
||||||
|
"name": "conventionalcommits"
|
||||||
|
},
|
||||||
|
"ignoreRecommendedBump": true,
|
||||||
|
"infile": "CHANGELOG.md",
|
||||||
|
"header": "# Changelog"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"git": {
|
||||||
|
"commitMessage": "chore(release): v${version}",
|
||||||
|
"tagName": "v${version}"
|
||||||
|
},
|
||||||
|
"hooks": {
|
||||||
|
"before:init": [
|
||||||
|
"pnpm lint",
|
||||||
|
"pnpm test",
|
||||||
|
"pnpm prepack"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -24,7 +24,7 @@
|
|||||||
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs",
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs",
|
||||||
"build:docs": "nuxi generate docs",
|
"build:docs": "nuxi generate docs",
|
||||||
"play": "nuxi dev playground",
|
"play": "nuxi dev playground",
|
||||||
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
|
"release": "release-it",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:watch": "vitest watch",
|
"test:watch": "vitest watch",
|
||||||
@ -47,10 +47,13 @@
|
|||||||
"@nuxt/module-builder": "^0.8.4",
|
"@nuxt/module-builder": "^0.8.4",
|
||||||
"@nuxt/schema": "^3.14.159",
|
"@nuxt/schema": "^3.14.159",
|
||||||
"@nuxt/test-utils": "^3.14.4",
|
"@nuxt/test-utils": "^3.14.4",
|
||||||
|
"@release-it/conventional-changelog": "^9.0.3",
|
||||||
"@types/node": "latest",
|
"@types/node": "latest",
|
||||||
"changelogen": "^0.5.7",
|
"changelogen": "^0.5.7",
|
||||||
"eslint": "^9.15.0",
|
"eslint": "^9.15.0",
|
||||||
"nuxt": "^3.14.159",
|
"nuxt": "^3.14.159",
|
||||||
|
"release-it": "^17.10.0",
|
||||||
|
"release-it-pnpm": "^4.6.3",
|
||||||
"typescript": "latest",
|
"typescript": "latest",
|
||||||
"vitest": "^2.1.5",
|
"vitest": "^2.1.5",
|
||||||
"vue-tsc": "^2.1.10"
|
"vue-tsc": "^2.1.10"
|
||||||
|
2523
pnpm-lock.yaml
generated
2523
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user