Repository: RedJue/git-commit-plugin
Branch: master
Commit: 6c2fd134bf7f
Files: 29
Total size: 71.0 KB
Directory structure:
gitextract_m1t7dyiy/
├── .all-contributorsrc
├── .eslintrc.json
├── .gitignore
├── .vscode/
│ ├── extensions.json
│ ├── launch.json
│ ├── settings.json
│ └── tasks.json
├── .vscodeignore
├── CHANGELOG.md
├── LICENSE
├── README.md
├── package.json
├── package.nls.ja.json
├── package.nls.json
├── package.nls.zh-cn.json
├── package.nls.zh-hk.json
├── package.nls.zh-tw.json
├── src/
│ ├── config/
│ │ ├── commit-detail.ts
│ │ ├── commit-input.ts
│ │ ├── commit-type.ts
│ │ ├── default-temp.ts
│ │ └── template-type.ts
│ ├── extension.ts
│ ├── test/
│ │ ├── runTest.ts
│ │ └── suite/
│ │ ├── extension.test.ts
│ │ └── index.ts
│ └── types/
│ └── git.d.ts
├── tsconfig.json
└── vsc-extension-quickstart.md
================================================
FILE CONTENTS
================================================
================================================
FILE: .all-contributorsrc
================================================
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"commitType": "docs",
"commitConvention": "angular",
"contributors": [
{
"login": "MaLuns",
"name": "白云苍狗",
"avatar_url": "https://avatars.githubusercontent.com/u/31614024?v=4",
"profile": "https://www.imalun.com",
"contributions": [
"code"
]
},
{
"login": "Tiddler-7",
"name": "冷空气",
"avatar_url": "https://avatars.githubusercontent.com/u/73354813?v=4",
"profile": "https://github.com/Tiddler-7",
"contributions": [
"doc"
]
},
{
"login": "imlinhanchao",
"name": "Hancel Lin",
"avatar_url": "https://avatars.githubusercontent.com/u/1502581?v=4",
"profile": "http://my.hancel.org",
"contributions": [
"code"
]
},
{
"login": "Torlinone",
"name": "Keriy",
"avatar_url": "https://avatars.githubusercontent.com/u/26668466?v=4",
"profile": "https://github.com/Torlinone",
"contributions": [
"code"
]
},
{
"login": "ArthurMynl",
"name": "Arthur Meyniel",
"avatar_url": "https://avatars.githubusercontent.com/u/61516506?v=4",
"profile": "http://www.linkedin.com/in/arthurmeyniel",
"contributions": [
"code"
]
},
{
"login": "haryoiro",
"name": "haryoiro",
"avatar_url": "https://avatars.githubusercontent.com/u/55312590?v=4",
"profile": "https://github.com/haryoiro",
"contributions": [
"doc"
]
},
{
"login": "DrBlackBird",
"name": "Tom",
"avatar_url": "https://avatars.githubusercontent.com/u/10115809?v=4",
"profile": "https://github.com/DrBlackBird",
"contributions": [
"doc"
]
},
{
"login": "webwuyou",
"name": "风过无痕",
"avatar_url": "https://avatars.githubusercontent.com/u/15182683?v=4",
"profile": "http://www.webwuyou.com",
"contributions": [
"code"
]
},
{
"login": "whwnow",
"name": "whwnow",
"avatar_url": "https://avatars.githubusercontent.com/u/1713701?v=4",
"profile": "https://github.com/whwnow",
"contributions": [
"code"
]
},
{
"login": "MichaelCurrin",
"name": "Michael Currin",
"avatar_url": "https://avatars.githubusercontent.com/u/18750745?v=4",
"profile": "https://github.com/MichaelCurrin",
"contributions": [
"doc"
]
},
{
"login": "odinsam",
"name": "odinsam",
"avatar_url": "https://avatars.githubusercontent.com/u/68220289?v=4",
"profile": "https://www.odinsam.com/",
"contributions": [
"code"
]
},
{
"login": "tys1128",
"name": "tys1128",
"avatar_url": "https://avatars.githubusercontent.com/u/24326849?v=4",
"profile": "https://github.com/tys1128",
"contributions": [
"doc"
]
},
{
"login": "mlzzen",
"name": "mlzzen",
"avatar_url": "https://avatars.githubusercontent.com/u/11664505?v=4",
"profile": "http://mlzzen.vercel.app",
"contributions": [
"code"
]
},
{
"login": "yeze322",
"name": "zeye",
"avatar_url": "https://avatars.githubusercontent.com/u/8528761?v=4",
"profile": "https://github.com/yeze322",
"contributions": [
"code"
]
},
{
"login": "moeyua",
"name": "Moeyua",
"avatar_url": "https://avatars.githubusercontent.com/u/45156493?v=4",
"profile": "https://blog.moeyua.com",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"skipCi": true,
"repoType": "github",
"repoHost": "https://github.com",
"projectName": "git-commit-plugin",
"projectOwner": "RedJue"
}
================================================
FILE: .eslintrc.json
================================================
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/class-name-casing": "warn",
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off",
"quotes": ["warn", "single"],
"indent": ["warn", 4]
}
}
================================================
FILE: .gitignore
================================================
out
node_modules
.vscode-test/
package-lock.json
.vsix
.DS_Store
git-commit-plugin-*.vsix
================================================
FILE: .vscode/extensions.json
================================================
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
================================================
FILE: .vscode/launch.json
================================================
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
================================================
FILE: .vscode/settings.json
================================================
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"cSpell.words": ["commit", "costom", "type"],
"i18n-ally.localesPaths": [
"D:/GIT/git-commit-plugin/src/locale",
"D:/GIT/git-commit-plugin"
],
"i18n-ally.keystyle": "flat"
}
================================================
FILE: .vscode/tasks.json
================================================
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
================================================
FILE: .vscodeignore
================================================
.vscode/**
.vscode-test/**
out/test/**
src/**
.gitignore
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
================================================
FILE: CHANGELOG.md
================================================
# CHANGELOG
## [1.5.0]
- ✨ Feat: [adding \
allows line breaks to be displayed](https://github.com/RedJue/git-commit-plugin/commit/afd6e136f145f0366c15a2cc5faa9befd6a379e7)
## [1.4.0]
- ✨ Feat: [added option to copy commit message](https://github.com/RedJue/git-commit-plugin/issues/116)
## [1.3.0]
- ✨ Feat: [允许将当前 commit message 作为 subject 默认内容](https://github.com/RedJue/git-commit-plugin/pull/100)
THX @[moeyua](https://github.com/moeyua)
## [1.2.1]
- 🐞Fix: [after restarting the extension host, the plugin cannot be activated normally](https://github.com/RedJue/git-commit-plugin/issues/93)
THX @[MaLuns](https://github.com/MaLuns)
## [1.2.0]
- ✨ Feat: [zh-tw&zh-hk support](https://github.com/RedJue/git-commit-plugin/pull/90)
THX @[Tiddler-7](https://github.com/Tiddler-7)
## [1.1.2]
- 🐞Fix: [can't open with vscode v1.74.0](https://github.com/RedJue/git-commit-plugin/issues/79)
- 🐞Fix: [更新 vscode 1.74.0(最新版)后无法使用](https://github.com/RedJue/git-commit-plugin/issues/81)
THX @[simida0852](https://github.com/simida0852)
THX @[Torlinone](https://github.com/Torlinone)
- 🐞Fix: [ : no more than 20 words](https://github.com/RedJue/git-commit-plugin/issues/72)
THX @[ArthurMynl](https://github.com/ArthurMynl)
## [1.1.0]
- ✨ Feat: [Added localization support for ja-jp](https://github.com/RedJue/git-commit-plugin/commit/d85c54eeb233c68afeeddd1493455884a6f4800b)
THX @[haryoiro](https://github.com/haryoiro)
## [1.0.9]
- ✨ Feat: [Added localization](https://github.com/RedJue/git-commit-plugin/pull/60)
THX @[spotnick](https://github.com/spotnick)
## [1.0.8]
- 🐞Fix: [【Bug】无法添加多个自定义提交类型(commit type](https://github.com/RedJue/git-commit-plugin/issues/54)
## [1.0.7]
- ✨Feat: [default type editable](https://github.com/RedJue/git-commit-plugin/commit/a7c43bc080b4ebfe12114e8b34923b03ed7cf8b6)
- 📃Docs: [improve readability](https://github.com/RedJue/git-commit-plugin/commit/285afbf0e30c77c2d5068f37cdd2f42b86209b7b)
THX @[MichaelCurrin](https://github.com/MichaelCurrin)
- 🐞Fix: [修复未填写 scope 时输出空括号对问题](https://github.com/RedJue/git-commit-plugin/pull/52/commits/60ee9446aeef8253db95c807bec22197b7fe6b58)
THX @[whwnow](https://github.com/whwnow)
## [1.0.6]
- 🐞Fix: [fix commit type crash](https://github.com/RedJue/git-commit-plugin/commit/1ddb2bc248233a689ff64a4416955b57a70538f8)
## [1.0.5]
- ✨Feat: [add custom templates](https://github.com/RedJue/git-commit-plugin/commit/5225dfbbe33859e16246b29f81c3e926d559043d)
THX @[odinsam](https://github.com/odinsam)
## [1.0.4]
- 🌈Style: [change icons](https://github.com/RedJue/git-commit-plugin/commit/611ecfb6c2cbf14436141056cc87da4530117c66)
- 🐞Fix: issue [#36](https://github.com/RedJue/git-commit-plugin/issues/36)
## [1.0.3]
- 🐞Fix: [fix icon color fade](https://github.com/RedJue/git-commit-plugin/commit/977713698c21bdb11b1c2154d154b16343a2b570)
## [1.0.2]
- 🐞Fix: [fix type formatting](https://github.com/RedJue/git-commit-plugin/commit/418279d0c6372068c0923b8aeb7c44b546318d89)
## [1.0.1]
- 🐞Fix: issue [#33](https://github.com/RedJue/git-commit-plugin/issues/33)
- 🐞Fix: issue [#29](https://github.com/RedJue/git-commit-plugin/issues/29)
## [1.0.0]
- 🐞Fix: issue [#17](https://github.com/RedJue/git-commit-plugin/issues/17)
- 🐞Fix: issue [#21](https://github.com/RedJue/git-commit-plugin/issues/21)
- 🐞Fix: issue [#23](https://github.com/RedJue/git-commit-plugin/issues/23)
- 🐞Fix: issue [#19](https://github.com/RedJue/git-commit-plugin/issues/19)
## [0.0.5]
- 🐞Fix: issue [#13](https://github.com/RedJue/git-commit-plugin/issues/13)
- 🐞Fix: issue [#14](https://github.com/RedJue/git-commit-plugin/issues/14)
- 🐞Fix: issue [#15](https://github.com/RedJue/git-commit-plugin/issues/15)
## [0.0.4]
- ✨Feat: [Show Emoji](https://github.com/RedJue/git-commit-plugin/commit/426e3afad2c4568f946efda922412913d73e2836#diff-1750a4dcc9a0a9b1773d275e96c46a1e)
- ✨Feat: [Custom Commit Type](https://github.com/RedJue/git-commit-plugin/commit/7344a1f5f65a7cf0f03a32701d53d1510777fb0a#diff-1750a4dcc9a0a9b1773d275e96c46a1e)
- ✨Feat: [Max Subject Words](https://github.com/RedJue/git-commit-plugin/commit/7344a1f5f65a7cf0f03a32701d53d1510777fb0a#diff-1750a4dcc9a0a9b1773d275e96c46a1e)
- 🐞Fix: issue [#2](https://github.com/RedJue/git-commit-plugin/issues/2)
- 🐞Fix: issue [#8](https://github.com/RedJue/git-commit-plugin/issues/8)
## [0.0.3]
- Add README.md
- Fix bug
## [0.0.2]
- Fix bug
## [0.0.1]
- Initial release
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2018 RedJue
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# Git Commit Plugin For VS Code
[](#contributors-)
> Automatically generate git commit messages








## Requirements
- VS Code `1.42.0` or higher.
- VS Code's built-in Git plugin
## Format
This extension follows the [Angular Team Commit Specification](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines), as follows:
```
():