-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(plugin): upgrade template to version v2.7.4 [bot]
- Loading branch information
0 parents
commit 7cb2e72
Showing
63 changed files
with
2,741 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
## Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
_commit: v2.7.4 | ||
_src_path: gh:kc-workspace/asdf-plugin-template.git | ||
addon_yaml: | ||
archive: true | ||
checksum: true | ||
download: true | ||
fetch: true | ||
git: false | ||
github: true | ||
gpg: false | ||
help: true | ||
install: true | ||
package: false | ||
python: false | ||
system: true | ||
tags: true | ||
version: false | ||
app_desc: Bun is a fast JavaScript runtime/package manager/bundler | ||
app_name: bun | ||
app_repo: https://github.com/oven-sh/bun | ||
app_type: standalone | ||
app_website: https://bun.sh/ | ||
archive_conf_path: bun-{os}-{arch} | ||
archive_conf_strip: 0 | ||
archive_enabled: true | ||
archive_regex: (\\.zip)$ | ||
checksum_conf_algorithm: 256 | ||
checksum_enabled: true | ||
checksum_url: https://github.com/oven-sh/bun/releases/download/bun-v{version}/SHASUMS256.txt | ||
custom_bin_paths: bin | ||
custom_non_stable_version: (-src|-dev|-latest|-stm|[-\.]rc|-alpha|-beta|[-\.]pre|-next|snapshot|master) | ||
custom_require_commands: '' | ||
download_url: https://github.com/oven-sh/bun/releases/download/bun-v{version}/bun-{os}-{arch}.zip | ||
gpg_enabled: false | ||
install_map_enabled: true | ||
install_map_method: move | ||
install_map_yaml: | ||
bun: bin/bun | ||
package_enabled: false | ||
plugin_author: Kamontat Chantrachirathumrong | ||
plugin_name: asdf-bun | ||
plugin_org: kc-workspace | ||
plugin_repo: https://github.com/kc-workspace/asdf-bun.git | ||
source_enabled: false | ||
sys_arch_enabled: true | ||
sys_arch_yaml: | ||
aarch64*: aarch64 | ||
arm64*: aarch64 | ||
armv5*: aarch64 | ||
armv6*: aarch64 | ||
armv7*: aarch64 | ||
i386: x64 | ||
i686: x64 | ||
powerpc64le: x64 | ||
ppc64le: x64 | ||
x86: x64 | ||
x86_64: x64 | ||
sys_ext_enabled: false | ||
sys_os_enabled: false | ||
test_cmd_args: --version | ||
version_file_enabled: false | ||
version_prefix: bun-v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
tab_width = 2 | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
# dependabot for GitHub Actions for this repository | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
title = "gitleaks config" | ||
|
||
[extend] | ||
# useDefault will extend the base configuration with the default gitleaks config: | ||
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml | ||
useDefault = true | ||
|
||
[allowlist] | ||
description = "global allow lists" | ||
paths = [ | ||
'''gitleaks.toml''', | ||
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket|vsidx|v2|suo|wsuo|.dll|pdb|exe)$''', | ||
'''(go.mod|go.sum)$''', | ||
'''gradle.lockfile''', | ||
'''node_modules''', | ||
'''package-lock.json''', | ||
'''pnpm-lock.yaml''', | ||
'''Database.refactorlog''', | ||
'''vendor''', | ||
'''.copier-answers.yml''', | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
########################### | ||
########################### | ||
## Markdown Linter rules ## | ||
########################### | ||
########################### | ||
|
||
# Linter rules doc: | ||
# - https://github.com/DavidAnson/markdownlint | ||
# Linter template: | ||
# - https://github.com/super-linter/super-linter/blob/main/TEMPLATES/.markdown-lint.yml | ||
# | ||
# Note: | ||
# To comment out a single error: | ||
# <!-- markdownlint-disable --> | ||
# any violations you want | ||
# <!-- markdownlint-restore --> | ||
# | ||
|
||
############### | ||
# Rules by id # | ||
############### | ||
MD004: false # Unordered list style | ||
MD007: | ||
indent: 2 # Unordered list indentation | ||
MD013: | ||
line_length: 400 # Line length 80 is far to short | ||
MD024: | ||
siblings_only: true # Only check sibling headings | ||
MD026: | ||
punctuation: ".,;:!。,;:" # List of not allowed | ||
MD029: false # Ordered list item prefix | ||
MD033: false # Allow inline HTML | ||
MD036: false # Emphasis used instead of a heading | ||
|
||
################# | ||
# Rules by tags # | ||
################# | ||
blank_lines: false # Error on blank lines |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
bun | ||
asdf | ||
tmpl | ||
tmpdir | ||
tmpfile | ||
tmppath | ||
indir | ||
infile | ||
inpath | ||
outdir | ||
outfile | ||
outpath | ||
aarch | ||
armv | ||
checksum | ||
shasum | ||
sha1sum | ||
sha224sum | ||
sha256sum | ||
sha384sum | ||
sha512sum | ||
strftime | ||
kamontat | ||
chantrachirathumrong | ||
kc | ||
kcws | ||
mergify | ||
envops | ||
venv | ||
keyid | ||
kwargs | ||
cmd | ||
cmds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell#example-cspelljson-file | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | ||
"version": "0.2", | ||
"language": "en", | ||
"allowCompoundWords": true, | ||
"ignorePaths": [ | ||
// Ignore cspell config | ||
"**/.cspell.json", | ||
// Ignore vscode config | ||
"**/.vscode", | ||
// Ignore auto-generate scripts | ||
"**/scripts" | ||
], | ||
"dictionaries": [ | ||
"softwareTerms", | ||
"bash", | ||
"filetypes", | ||
"defaultDict", | ||
"customDict" | ||
], | ||
"dictionaryDefinitions": [ | ||
{ "name": "defaultDict", "path": "./cspell-default.dict.txt" }, | ||
{ "name": "customDict", "path": "./cspell-custom.dict.txt" } | ||
], | ||
"useGitignore": true, | ||
"gitignoreRoot": "../.." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://github.com/googleapis/release-please/raw/main/schemas/config.json", | ||
"changelog-type": "github", | ||
"changelog-sections": [ | ||
{ "type": "feat", "section": "Features", "hidden": false }, | ||
{ "type": "perf", "section": "Improvements", "hidden": false }, | ||
{ "type": "fix", "section": "Bugfixes", "hidden": false }, | ||
{ "type": "docs", "section": "Documentation", "hidden": false }, | ||
{ "type": "revert", "section": "Reverts", "hidden": false }, | ||
{ "type": "chore", "section": "Miscellaneous", "hidden": false }, | ||
{ "type": "refactor", "section": "Code Refactoring", "hidden": true }, | ||
{ "type": "test", "section": "Tests", "hidden": true }, | ||
{ "type": "build", "section": "Build System", "hidden": true }, | ||
{ "type": "ci", "section": "Continuous Integration", "hidden": true } | ||
], | ||
"packages": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: Main | ||
|
||
on: | ||
push: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
DEFAULT_BRANCH: main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
spellcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v4 | ||
- name: Running cspell | ||
uses: streetsidesoftware/cspell-action@v6 | ||
with: | ||
config: ".github/linters/cspell.json" | ||
# Log progress and other information during the action execution. | ||
verbose: true | ||
# Determines if the action should be failed | ||
# if any spelling issues are found. | ||
strict: true | ||
# Limit the files checked to the ones in the pull request or push. | ||
# We will enabled this only if this job tooks more than 3 minutes | ||
incremental_files_only: false | ||
# Notification level to use with inline reporting of spelling errors. | ||
# Allowed values are: warning, error, none | ||
inline: warning | ||
linting: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: read | ||
statuses: write | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Linting | ||
uses: super-linter/super-linter/slim@v6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DEFAULT_BRANCH: ${{ env.DEFAULT_BRANCH }} | ||
VALIDATE_ALL_CODEBASE: false | ||
IGNORE_GITIGNORED_FILES: true | ||
|
||
testing: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- macos-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: asdf_plugin_test | ||
uses: asdf-vm/actions/plugin-test@v3 | ||
with: | ||
command: bun --version | ||
env: | ||
DEBUG: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: googleapis/release-please-action@v4 | ||
with: | ||
release-type: simple | ||
config-file: .github/release-please/config.json |
Oops, something went wrong.