Skip to content

Commit f9fbdf5

Browse files
committed
chore: initial commit
0 parents  commit f9fbdf5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+7280
-0
lines changed

.changes/unreleased/.gitkeep

Whitespace-only changes.

.changie.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
changesDir: .changes
2+
unreleasedDir: unreleased
3+
headerPath: ../.chglog/CHANGELOG_HEADER.tpl.md
4+
changelogPath: CHANGELOG.md
5+
versionExt: md
6+
newlines:
7+
afterChangelogHeader: 0
8+
beforeChangelogVersion: 1
9+
endOfVersion: 1
10+
replacements:
11+
- path: "package.json"
12+
find: '"version": ".*"'
13+
replace: '"version": "{{.VersionNoPrefix}}"'

.chglog/CHANGELOG.tpl.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{{ range .Versions -}}
2+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
3+
{{ range .CommitGroups }}
4+
### {{ .Title }}
5+
{{ range .Commits }}
6+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
7+
{{ end -}}
8+
{{ end -}}
9+
10+
{{- if .NoteGroups -}}
11+
{{ range .NoteGroups -}}
12+
### {{ .Title }}
13+
{{ range .Notes }}
14+
{{ .Body }}
15+
{{ end }}
16+
{{ end -}}
17+
{{ end }}
18+
Full Changelog: {{ if .Tag.Previous }}[{{ .Tag.Previous.Name }}...{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/commits/{{ .Tag.Name }}){{ end }}
19+
{{ end -}}

.chglog/CHANGELOG_HEADER.tpl.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

.chglog/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/ansidev/astro-basic-template
6+
options:
7+
commits:
8+
filters:
9+
Type:
10+
- feat
11+
- fix
12+
- perf
13+
- refactor
14+
- docs
15+
commit_groups:
16+
title_maps:
17+
feat: Features
18+
fix: Bug Fixes
19+
perf: Performance Improvements
20+
refactor: Code Refactoring
21+
docs: Documentations
22+
header:
23+
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
24+
pattern_maps:
25+
- Type
26+
- Scope
27+
- Subject
28+
notes:
29+
keywords:
30+
- BREAKING CHANGE

.commitlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"extends": [
3+
"@commitlint/config-conventional"
4+
]
5+
}

.czrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"path": "./node_modules/cz-conventional-changelog"
3+
}

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.eslintrc.cjs

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
const { quotes, semicolon } = require('./eslint.config.cjs')
2+
3+
module.exports = {
4+
plugins: ['simple-import-sort'],
5+
env: {
6+
browser: true,
7+
node: true
8+
},
9+
parserOptions: {
10+
sourceType: 'module',
11+
ecmaVersion: 2020
12+
},
13+
rules: {
14+
'comma-spacing': [
15+
'error',
16+
{
17+
'before': false,
18+
'after': true
19+
}
20+
],
21+
'quotes': ['error', quotes],
22+
'astro/semi': ['error', semicolon ? 'always' : 'never'],
23+
'simple-import-sort/imports': 'error',
24+
'simple-import-sort/exports': 'error',
25+
},
26+
overrides: [
27+
{
28+
files: ['*.astro'],
29+
extends: [
30+
'plugin:@typescript-eslint/eslint-recommended',
31+
'plugin:astro/recommended',
32+
],
33+
parser: 'astro-eslint-parser',
34+
parserOptions: {
35+
parser: '@typescript-eslint/parser',
36+
extraFileExtensions: ['.astro'],
37+
},
38+
},
39+
{
40+
files: ['*.ts'],
41+
extends: [
42+
'eslint:recommended',
43+
'plugin:@typescript-eslint/recommended',
44+
'plugin:@typescript-eslint/eslint-recommended',
45+
],
46+
parser: '@typescript-eslint/parser',
47+
},
48+
{
49+
files: ['*.mjs'],
50+
extends: ['eslint:recommended'],
51+
}
52+
]
53+
}

.github/FUNDING.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# These are supported funding model platforms
2+
3+
github: [ansidev]
4+
patreon: ansidev
5+
# open_collective: # Replace with a single Open Collective username
6+
ko_fi: ansidev
7+
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
# liberapay: # Replace with a single Liberapay username
10+
# issuehunt: # Replace with a single IssueHunt username
11+
# otechie: # Replace with a single Otechie username
12+
# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom:
14+
- "https://www.paypal.me/ansidev"
15+
- "https://www.buymeacoffee.com/ansidev"
16+
- "https://me.momo.vn/ansidev"

0 commit comments

Comments
 (0)