generated from custom-cards/boilerplate-card
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #920 from tomvanswam/dev
dependency and ci update
- Loading branch information
Showing
7 changed files
with
1,286 additions
and
101 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
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,78 @@ | ||
--- | ||
- name: "breaking-change" | ||
color: ee0701 | ||
description: "A breaking change for existing users." | ||
- name: "bugfix" | ||
color: ee0701 | ||
description: "Inconsistencies or issues which will cause a problem for users or implementors." | ||
- name: "documentation" | ||
color: 0052cc | ||
description: "Solely about the documentation of the project." | ||
- name: "enhancement" | ||
color: 1d76db | ||
description: "Enhancement of the code, not introducing new features." | ||
- name: "refactor" | ||
color: 1d76db | ||
description: "Improvement of existing code, not introducing new features." | ||
- name: "performance" | ||
color: 1d76db | ||
description: "Improving performance, not introducing new features." | ||
- name: "new-feature" | ||
color: 0e8a16 | ||
description: "New features or options." | ||
- name: "maintenance" | ||
color: 2af79e | ||
description: "Generic maintenance tasks." | ||
- name: "ci" | ||
color: 1d76db | ||
description: "Work that improves the continue integration." | ||
- name: "dependencies" | ||
color: 1d76db | ||
description: "Upgrade or downgrade of project dependencies." | ||
|
||
- name: "in-progress" | ||
color: fbca04 | ||
description: "Issue is currently being resolved by a developer." | ||
- name: "stale" | ||
color: fef2c0 | ||
description: "There has not been activity on this issue or PR for quite some time." | ||
- name: "no-stale" | ||
color: fef2c0 | ||
description: "This issue or PR is exempted from the stable bot." | ||
|
||
- name: "security" | ||
color: ee0701 | ||
description: "Marks a security issue that needs to be resolved asap." | ||
- name: "incomplete" | ||
color: fef2c0 | ||
description: "Marks a PR or issue that is missing information." | ||
- name: "invalid" | ||
color: fef2c0 | ||
description: "Marks a PR or issue that is missing information." | ||
|
||
- name: "beginner-friendly" | ||
color: 0e8a16 | ||
description: "Good first issue for people wanting to contribute to the project." | ||
- name: "help-wanted" | ||
color: 0e8a16 | ||
description: "We need some extra helping hands or expertise in order to resolve this." | ||
|
||
- name: "priority-critical" | ||
color: ee0701 | ||
description: "This should be dealt with ASAP. Not fixing this issue would be a serious error." | ||
- name: "priority-high" | ||
color: b60205 | ||
description: "After critical issues are fixed, these should be dealt with before any further issues." | ||
- name: "priority-medium" | ||
color: 0e8a16 | ||
description: "This issue may be useful, and needs some attention." | ||
- name: "priority-low" | ||
color: e4ea8a | ||
description: "Nice addition, maybe... someday..." | ||
|
||
- name: "major" | ||
color: b60205 | ||
description: "This PR causes a major version bump in the version number." | ||
- name: "minor" | ||
color: 0e8a16 | ||
description: "This PR causes a minor version bump in the version number." |
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,102 @@ | ||
--- | ||
name-template: "v$RESOLVED_VERSION" | ||
tag-template: "v$RESOLVED_VERSION" | ||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
sort-direction: ascending | ||
|
||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
# branches to consider in the event; optional, defaults to all | ||
branches: | ||
- master | ||
# pull_request event is required only for autolabeler | ||
pull_request: | ||
# Only following types are handled by the action, but one can default to all as well | ||
types: [opened, reopened, synchronize] | ||
# pull_request_target event is required for autolabeler to support PRs from forks | ||
# pull_request_target: | ||
# types: [opened, reopened, synchronize] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update_release_draft: | ||
permissions: | ||
# write permission is required to create a github release | ||
contents: write | ||
# write permission is required for autolabeler | ||
# otherwise, read permission is required at least | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
# (Optional) GitHub Enterprise requires GHE_HOST variable set | ||
#- name: Set GHE_HOST | ||
# run: | | ||
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV | ||
|
||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v6 | ||
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml | ||
# with: | ||
# config-name: my-config.yml | ||
# disable-autolabeler: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
categories: | ||
- title: "🚨 Breaking changes" | ||
labels: | ||
- "breaking-change" | ||
- title: "✨ New features" | ||
labels: | ||
- "new-feature" | ||
- title: "🐛 Bug fixes" | ||
labels: | ||
- "bugfix" | ||
- title: "🚀 Enhancements" | ||
labels: | ||
- "enhancement" | ||
- "refactor" | ||
- "performance" | ||
- title: "🧰 Maintenance" | ||
labels: | ||
- "maintenance" | ||
- "ci" | ||
- title: "📚 Documentation" | ||
labels: | ||
- "documentation" | ||
- title: "⬆️ Dependency updates" | ||
labels: | ||
- "dependencies" | ||
|
||
exclude-labels: | ||
- 'skip-changelog' | ||
|
||
version-resolver: | ||
major: | ||
labels: | ||
- "major" | ||
- "breaking-change" | ||
minor: | ||
labels: | ||
- "minor" | ||
- "new-feature" | ||
patch: | ||
labels: | ||
- "bugfix" | ||
- "chore" | ||
- "ci" | ||
- "dependencies" | ||
- "documentation" | ||
- "enhancement" | ||
- "performance" | ||
- "refactor" | ||
default: patch | ||
|
||
template: | | ||
## What’s Changed | ||
$CHANGES |
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 |
---|---|---|
@@ -1,39 +1,42 @@ | ||
import tsParser from "@typescript-eslint/parser"; | ||
import path from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import js from "@eslint/js"; | ||
import { FlatCompat } from "@eslint/eslintrc"; | ||
import tsParser from '@typescript-eslint/parser'; | ||
import path from 'node:path'; | ||
import { fileURLToPath } from 'node:url'; | ||
import js from '@eslint/js'; | ||
import { FlatCompat } from '@eslint/eslintrc'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}); | ||
|
||
export default [{ | ||
ignores: ["dist/*.js", "node_modules/*"], | ||
}, ...compat.extends( | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
"plugin:prettier/recommended", | ||
), { | ||
export default [ | ||
{ | ||
ignores: ['dist/*.js', 'node_modules/*'], | ||
}, | ||
...compat.extends('plugin:@typescript-eslint/recommended', 'prettier', 'plugin:prettier/recommended'), | ||
{ | ||
languageOptions: { | ||
parser: tsParser, | ||
ecmaVersion: 2018, | ||
sourceType: "module", | ||
parser: tsParser, | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
|
||
parserOptions: { | ||
experimentalDecorators: true, | ||
}, | ||
parserOptions: { | ||
experimentalDecorators: true, | ||
}, | ||
}, | ||
|
||
rules: { | ||
"@typescript-eslint/camelcase": 0, | ||
'@typescript-eslint/camelcase': 0, | ||
|
||
"no-console": ["error", { | ||
allow: ["warn"], | ||
}], | ||
'no-console': [ | ||
'error', | ||
{ | ||
allow: ['warn'], | ||
}, | ||
], | ||
}, | ||
}]; | ||
}, | ||
]; |
Oops, something went wrong.