Skip to content

Commit

Permalink
feat: add standard-version config
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidZORO committed Oct 8, 2020
1 parent b3d0c38 commit 36d1cc3
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# http://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
27 changes: 27 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Automatically normalize line endings for all text-based files
# http://git-scm.com/docs/gitattributes#_end_of_line_conversion
* text=auto

# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)
.* text eol=lf
*.html text eol=lf
*.css text eol=lf
*.less text eol=lf
*.styl text eol=lf
*.scss text eol=lf
*.sass text eol=lf
*.sss text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.json text eol=lf
*.md text eol=lf
*.mjs text eol=lf
*.sh text eol=lf
*.svg text eol=lf
*.txt text eol=lf
*.xml text eol=lf
12 changes: 12 additions & 0 deletions .versionrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
types: [
{ type: 'feat', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'refactor', section: 'Refactor' },
{ type: 'perf', section: 'Performance' },
{ type: 'chore', hidden: true },
{ type: 'docs', hidden: true },
{ type: 'style', hidden: true },
{ type: 'test', hidden: true },
],
};
5 changes: 0 additions & 5 deletions CHANGELOG.md

This file was deleted.

5 changes: 5 additions & 0 deletions changelog.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
disableEmoji: false,
maxMessageLength: 64,
minMessageLength: 3,
};
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "zpix-pixel-font",
"author": "[email protected]",
"version": "3.1.0",
"private": false,
"sideEffect": false,
"homepage": ".",
"engines": {
"node": ">=12",
"npm": ">=6.4.0",
"yarn": ">=1.15"
},
"scripts": {
"versionup": "standard-version -r patch",
"versionup:minor": "standard-version -r minor",
"versionup:major": "standard-version -r major",
"versionup:init": "standard-version -f"
},
"dependencies": {},
"devDependencies": {}
}

0 comments on commit 36d1cc3

Please sign in to comment.