Compare commits

..

No commits in common. "master" and "v1.0.0" have entirely different histories.

14 changed files with 38 additions and 454 deletions

View File

@ -2,34 +2,19 @@ kind: pipeline
type: docker type: docker
steps: steps:
# - name: markdownlint-cli - name: semantic-release
# image: node:current-alpine image: cenk1cenk2/drone-semantic-release
# commands: settings:
# - npm install -g markdownlint-cli semantic_release: true
# - markdownlint **/*.md update_readme_toc: true
use_local_rc: false
# - name: semantic-release git_method: cr
# image: cenk1cenk2/drone-semantic-release git_user_name:
# settings: from_secret: user_gitea
# mode: predict git_user_email:
# add_modules: "@saithodev/semantic-release-sharedconf-npm" from_secret: email_gitea
# semantic_release: true git_login:
# update_readme_toc: true from_secret: user_gitea
# use_local_rc: true git_password:
# git_method: cr from_secret: gitea_token
# git_user_name: update_docker_readme: false
# from_secret: user_gitea
# git_user_email:
# from_secret: email_gitea
# git_login:
# from_secret: user_gitea
# git_password:
# from_secret: gitea_token
# update_docker_readme: false
- name: semver
image: node:current-alpine
commands:
- npm install semver
- semver

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
.git/
### Node ### ### Node ###
# Logs # Logs

View File

@ -1,227 +0,0 @@
# Example markdownlint YAML configuration with all properties set to their default value
# Default state for all rules
default: true
# Path to configuration file to extend
extends: null
# MD001/heading-increment/header-increment - Heading levels should only increment by one level at a time
MD001: false
# MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading
MD002:
# Heading level
level: 1
# MD003/heading-style/header-style - Heading style
MD003:
# Heading style
style: "consistent"
# MD004/ul-style - Unordered list style
MD004:
# List style
style: "consistent"
# MD005/list-indent - Inconsistent indentation for list items at the same level
MD005: true
# MD006/ul-start-left - Consider starting bulleted lists at the beginning of the line
MD006: true
# MD007/ul-indent - Unordered list indentation
MD007:
# Spaces for indent
indent: 2
# Whether to indent the first level of the list
start_indented: false
# MD009/no-trailing-spaces - Trailing spaces
MD009:
# Spaces for line break
br_spaces: 2
# Allow spaces for empty lines in list items
list_item_empty_lines: false
# Include unnecessary breaks
strict: false
# MD010/no-hard-tabs - Hard tabs
MD010:
# Include code blocks
code_blocks: true
# Number of spaces for each hard tab
spaces_per_tab: 1
# MD011/no-reversed-links - Reversed link syntax
MD011: true
# MD012/no-multiple-blanks - Multiple consecutive blank lines
MD012:
# Consecutive blank lines
maximum: 1
# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 900
# Number of characters for headings
heading_line_length: 300
# Number of characters for code blocks
code_block_line_length: 80
# Include code blocks
code_blocks: true
# Include tables
tables: true
# Include headings
headings: true
# Include headings
headers: true
# Strict length checking
strict: false
# Stern length checking
stern: false
# MD014/commands-show-output - Dollar signs used before commands without showing output
MD014: true
# MD018/no-missing-space-atx - No space after hash on atx style heading
MD018: true
# MD019/no-multiple-space-atx - Multiple spaces after hash on atx style heading
MD019: true
# MD020/no-missing-space-closed-atx - No space inside hashes on closed atx style heading
MD020: true
# MD021/no-multiple-space-closed-atx - Multiple spaces inside hashes on closed atx style heading
MD021: true
# MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines
MD022:
# Blank lines above heading
lines_above: 1
# Blank lines below heading
lines_below: 1
# MD023/heading-start-left/header-start-left - Headings must start at the beginning of the line
MD023: true
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: false
# Only check sibling headings
siblings_only: false
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025:
# Heading level
level: 1
# RegExp for matching title in front matter
front_matter_title: "^\\s*title\\s*[:=]"
# MD026/no-trailing-punctuation - Trailing punctuation in heading
MD026:
# Punctuation characters
punctuation: ".,;:!。,;:!"
# MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
MD027: true
# MD028/no-blanks-blockquote - Blank line inside blockquote
MD028: true
# MD029/ol-prefix - Ordered list item prefix
MD029:
# List style
style: "one_or_ordered"
# MD030/list-marker-space - Spaces after list markers
MD030:
# Spaces for single-line unordered list items
ul_single: 1
# Spaces for single-line ordered list items
ol_single: 1
# Spaces for multi-line unordered list items
ul_multi: 1
# Spaces for multi-line ordered list items
ol_multi: 1
# MD031/blanks-around-fences - Fenced code blocks should be surrounded by blank lines
MD031:
# Include list items
list_items: true
# MD032/blanks-around-lists - Lists should be surrounded by blank lines
MD032: true
# MD033/no-inline-html - Inline HTML
MD033:
# Allowed elements
# allowed_elements: ["br", "img"]
# MD034/no-bare-urls - Bare URL used
MD034: true
# MD035/hr-style - Horizontal rule style
MD035:
# Horizontal rule style
style: "consistent"
# MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
MD036:
# Punctuation characters
punctuation: ".,;:!?。,;:!?"
# MD037/no-space-in-emphasis - Spaces inside emphasis markers
MD037: true
# MD038/no-space-in-code - Spaces inside code span elements
MD038: true
# MD039/no-space-in-links - Spaces inside link text
MD039: true
# MD040/fenced-code-language - Fenced code blocks should have a language specified
MD040: true
# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading
MD041:
# # Heading level
# level: 1
# # RegExp for matching title in front matter
# front_matter_title: "^\\s*title\\s*[:=]"
# MD042/no-empty-links - No empty links
MD042: true
# MD043/required-headings/required-headers - Required heading structure
MD043:
# # List of headings
# headings: []
# # List of headings
# headers: []
# MD044/proper-names - Proper names should have the correct capitalization
MD044:
# List of proper names
names: []
# Include code blocks
code_blocks: true
# MD045/no-alt-text - Images should have alternate text (alt text)
MD045: true
# MD046/code-block-style - Code block style
MD046:
# Block style
style: "consistent"
# MD047/single-trailing-newline - Files should end with a single newline character
MD047: true
# MD048/code-fence-style - Code fence style
MD048:
# Code fence style
style: "consistent"

View File

@ -1,24 +0,0 @@
{
"extends": "@saithodev/semantic-release-sharedconf-npm",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{"tarballDir": "release"}
],
[
"@semantic-release/git",
{"assets": ["package.json", "CHANGELOG.md"]}
],
[
"@semantic-release/github",
{"assets": "release/*.tgz"}
]
],
"branches": [
"master"
]
}

View File

@ -1,28 +1,6 @@
## [1.0.3](https://git.sthope.dev/sthope/gitea_templates/compare/v1.0.2...v1.0.3) (2021-09-12)
### Performance Improvements
* testing sv ([2b9b099](https://git.sthope.dev/sthope/gitea_templates/commit/2b9b0992aab0ce6b0d2a0cd7a274a906d9df579c))
* testing sv ([b22c8ae](https://git.sthope.dev/sthope/gitea_templates/commit/b22c8ae06067832c8901583e27a41216b2ebaf79))
## [1.0.2](https://git.sthope.dev/sthope/gitea_templates/compare/v1.0.1...v1.0.2) (2021-09-11)
### Performance Improvements
* testing semantic release ([51ce62a](https://git.sthope.dev/sthope/gitea_templates/commit/51ce62ab1464367aa2e728326c8eed9505423194))
* testing semantic release ([6549aaa](https://git.sthope.dev/sthope/gitea_templates/commit/6549aaa0d202ff24f4e98a2c2ddbee29c17ffa18))
## [1.0.1](https://git.sthope.dev/sthope/gitea_templates/compare/v1.0.0...v1.0.1) (2021-09-11)
### Performance Improvements
* testing semantic release ([dc6ae97](https://git.sthope.dev/sthope/gitea_templates/commit/dc6ae97ca9bea3cf690826161159512c0cec641f))
# 1.0.0 (2021-09-11) # 1.0.0 (2021-09-11)
### Features ### Features
* **translation:** adds russian translation ([#142](https://git.sthope.dev/sthope/gitea_templates/issues/142)) ([1f572e8](https://git.sthope.dev/sthope/gitea_templates/commit/1f572e8aebd0610a1554c84c3db12b7fbfeed0df)) * **translation:** adds russian translation ([#142](https://git.sthope.dev/sthope/gitea_templates/issues/142)) ([1f572e8](https://git.sthope.dev/sthope/gitea_templates/commit/1f572e8aebd0610a1554c84c3db12b7fbfeed0df))

View File

@ -2,7 +2,7 @@
## Our Pledge ## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards ## Our Standards
@ -30,16 +30,17 @@ Project maintainers have the right and responsibility to remove, edit, or reject
## Scope ## Scope
This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement ## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project maintainer using any of the [private contact addresses](https://github.com/dec0dOS/amazing-github-template#support). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at vahid@elsewhen.co. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution ## Attribution
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 1.4, available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html> This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
For answers to common questions about this code of conduct, see <https://www.contributor-covenant.org/faq> [homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/

View File

@ -1,5 +1,4 @@
# Contributing to Project Guidelines # Contributing to Project Guidelines
### No guidelines here :D, hit us with your PR ### No guidelines here :D, hit us with your PR.
**Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
**Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://app.egghead.io/playlists/how-to-contribute-to-an-open-source-project-on-github)

22
LICENSE
View File

@ -1,21 +1,5 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2021 Sthope https://www.sthope.dev Copyright (c) 2021 Sthope https://www.sthope.dev
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:
Permission is hereby granted, free of charge, to any person obtaining a copy The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
of this software and associated documentation files (the "Software"), to deal 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.
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.

View File

@ -1,5 +1,6 @@
[English](./README.md) [English](./README.md)
[<img src="https://git.sthope.dev/sthope/.gitea/raw/branch/master/avatar-sthope.png" align="right" width="13%" height="13%">](https://www.sthope.dev/)
[<img src="https://git.sthope.dev/sthope/.gitea/raw/branch/master/avatar-sthope.png" align="right" width="8%" height="8%">](https://www.sthope.dev/)
# Project_Name &middot; [![Build Status](https://img.shields.io/drone/build/sthope/gitea_templates?server=https%3A%2F%2Fdrone.sthope.dev&style=plastic)](../../..) [![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=plastic&logo=appveyor)](LICENSE) # Project_Name &middot; [![Build Status](https://img.shields.io/drone/build/sthope/gitea_templates?server=https%3A%2F%2Fdrone.sthope.dev&style=plastic)](../../..) [![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=plastic&logo=appveyor)](LICENSE)
@ -48,4 +49,4 @@ Lançado em 2021 :closed_book: License
Made with :heart: by [Sthope](https://www.sthope.dev) Made with :heart: by [Sthope](https://www.sthope.dev)
Para mais informações, consulte a [LICENÇA](LICENSE) file. Para mais informações, consulte a [LICENÇA](LICENSE) file.
<small>Give a ⭐️ if this project helped you!</small> Give a ⭐️ if this project helped you!

View File

@ -1,7 +1,8 @@
[Português](./README-pt-PT.md) [Português](./README-pt-PT.md)
[<img src="https://git.sthope.dev/sthope/.gitea/raw/branch/master/avatar-sthope.png" align="right" width="13%" height="13%">](https://www.sthope.dev/)
# Project_Name &middot; [![Build Status](https://img.shields.io/drone/build/sthope/DockerContainer-RandomPort?server=https%3A%2F%2Fdrone.sthope.dev&style=plastic)](../../..) [![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=plastic&logo=gitea)](LICENSE) [<img src="https://git.sthope.dev/sthope/.gitea/raw/branch/master/avatar-sthope.png" align="right" width="8%" height="8%">](https://www.sthope.dev/)
# Project_Name &middot; [![Build Status](https://img.shields.io/drone/build/sthope/DockerContainer-RandomPort?server=https%3A%2F%2Fdrone.sthope.dev&style=plastic)](../../..) [![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=plastic&logo=appveyor)](LICENSE)
> 🔥[Sthope](https://www.sthope.dev) > 🔥[Sthope](https://www.sthope.dev)
@ -30,6 +31,7 @@ example_how_it_works
Feel free to **file a new issue** with a respective title and description on the the [repository](../../../issues). If you already found a solution to your problem, [**i would love to review your pull request**](../../../pulls)! Feel free to **file a new issue** with a respective title and description on the the [repository](../../../issues). If you already found a solution to your problem, [**i would love to review your pull request**](../../../pulls)!
## :tada: Contributing ## :tada: Contributing
First of all, thank you for being interested in helping out, your time is always appreciated in every way. :100: First of all, thank you for being interested in helping out, your time is always appreciated in every way. :100:
@ -41,13 +43,6 @@ Here's some tips:
Check out the [contributing](./CONTRIBUTING.md) page to see the best places to file issues, start discussions and begin contributing. Check out the [contributing](./CONTRIBUTING.md) page to see the best places to file issues, start discussions and begin contributing.
## Support
Reach out to the maintainer at one of the following places:
* [Discord chat](1256)
* The email which is located [in Github profile](12345)
## :closed_book: License ## :closed_book: License
Released in 2021 :closed_book: License Released in 2021 :closed_book: License
@ -55,4 +50,4 @@ Released in 2021 :closed_book: License
Made with :heart: by [Sthope](https://www.sthope.dev) Made with :heart: by [Sthope](https://www.sthope.dev)
For more information, please refer to the [LICENSE](LICENSE) file. For more information, please refer to the [LICENSE](LICENSE) file.
<small>Give a ⭐️ if this project helped you!</small> Give a ⭐️ if this project helped you!

73
ols
View File

@ -1,73 +0,0 @@
release.config.js
---
branch: master
preset: "angular"
tagFormat: "${version}"
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- "@saithodev/semantic-release-gitea"
- "@saithodev/semantic-release-gitea"
verifyConditions:
- '@saithodev/semantic-release-gitea'
- "@saithodev/semantic-release-gitea"
analyzeCommits:
- path: "@semantic-release/commit-analyzer"
releaseRules:
- type: "feat"
release: "patch"
- type: "hotfix"
release: "patch"
- type: "patch"
release: "patch"
- type: "minor"
release: "minor"
- type: "breaking"
release: "major"
generateNotes:
- path: "@semantic-release/release-notes-generator"
writerOpts:
groupBy: "type"
commitGroupsSort:
- "feat"
- "perf"
- "fix"
commitsSort: "header"
types:
- type: "feat"
- section: "Features"
# Tracked bug fix with a hotfix branch
- type: "hotfix"
- section: "Bug Fixes"
# Uninmportent fix (CI testing, etc)
- type: "fix"
- hidden: true
- type: "chore"
- hidden: true
- type: "docs"
- hidden: true
- type: "doc"
- hidden: true
- type: "style"
- hidden: true
- type: "refactor"
- hidden: true
- type: "perf"
- hidden: true
- type: "test"
- hidden: true
presetConfig: true
prepare:
- path: "@saithodev/semantic-release-gitea"
- path: "@semantic-release/changelog"
changelogFile: "docs/CHANGELOG.md"
publish:
- path: "@saithodev/semantic-release-gitea"
success:
- "@saithodev/semantic-release-gitea"
fail:
- "@saithodev/semantic-release-gitea"

View File

@ -1,34 +0,0 @@
module.exports = {
"branches": [
"master",
{
"name": "alpha",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
},
{
"name": "rc",
"prerelease": true
}
],
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
{
"path": "@semantic-release/git",
"assets": [
"CHANGELOG.md",
process.env.README_LOCATION ? process.env.README_LOCATION : 'README.md' ,
"yarn.lock",
"npm-shrinkwrap.json"
],
"message": "chore(release): <%= nextRelease.version %> - <%= new Date().toISOString().slice(0,10).replace(/-/g,'') %> [skip ci]\n\n<%= nextRelease.notes %>"
}
]
}