Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
build: 新增 NPM 管理脚本 standard-version 相关。
Browse files Browse the repository at this point in the history
  • Loading branch information
netowls-studio committed May 2, 2022
1 parent 8817e63 commit 4b67c97
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -793,3 +793,8 @@ dist

# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

yarn.lock
package-lock.json
node_modules/
dist/
build/
50 changes: 50 additions & 0 deletions .versionrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"types": [
{
"type": "feat",
"section": "NEW FEATURE"
},
{
"type": "fix",
"section": "BUG FIXED"
},
{
"type": "docs",
"section": "DOCUMENTATION"
},
{
"type": "refactor",
"section": "REFACTOR"
},
{
"type": "test",
"section": "TEST CASE"
},
{
"type": "perf",
"section": "PERFORMANCE OPTIMIZE"
},
{
"type": "revert",
"section": "REVERT"
},
{
"type": "ci",
"section": "CI & CD"
},
{
"type": "chore",
"section": "CHORE"
},
{
"type": "style",
"section": "CODE STYLE"
},
{
"type": "build",
"section": "BUILD"
}
],
"preMajor": true,
"header": "# CHANGELOG"
}
46 changes: 46 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "@niacomsoft/dnvue",
"version": "1.0.0-alpha.0",
"description": "A .NET programmer was developed, a front-end framework based on Vue3 and VITE!",
"displayName": "dnVue",
"scripts": {
"release:alpha-dryrun": "standard-version -p alpha -i CHANGELOG.md --dry-run",
"release:alpha": "standard-version -p alpha -i CHANGELOG.md",
"release:beta-dryrun": "standard-version -p beta -i CHANGELOG.md --dry-run",
"release:beta": "standard-version -p beta -i CHANGELOG.md",
"release:preview-dryrun": "standard-version -p preview -i CHANGELOG.md --dry-run",
"release:preview": "standard-version -p preview -i CHANGELOG.md",
"release:release-dryrun": "standard-version -i CHANGELOG.md --dry-run",
"release:release": "standard-version -i CHANGELOG.md",
"npm-version:pre-release": "npm version prerelease --no-git-tag-version --workspaces",
"npm-version:pre-patch": "npm version prepatch --no-git-tag-version --workspaces",
"npm-version:pre-minor": "npm version preminor --no-git-tag-version --workspaces",
"npm-version:pre-major": "npm version premajor --no-git-tag-version --workspaces",
"npm-version:patch": "npm version patch --no-git-tag-version --workspaces",
"npm-version:minor": "npm version minor --no-git-tag-version --workspaces",
"npm-version:major": "npm version major --no-git-tag-version --workspaces"
},
"repository": {
"type": "git",
"url": "git+https://github.com/niacomsoft/dnVue.git"
},
"keywords": [
"typescript",
"javascript",
"vue3",
"vite",
"dotnet",
"dotnetcore",
"aspnet",
"aspnetcore"
],
"author": "Wang Yucai",
"license": "MIT",
"bugs": {
"url": "https://github.com/niacomsoft/dnVue/issues"
},
"homepage": "https://github.com/niacomsoft/dnVue#readme",
"devDependencies": {
"standard-version": "^9.3.2"
}
}

0 comments on commit 4b67c97

Please sign in to comment.