generated from rweich/streamdeck-ts-template
-
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.
- Loading branch information
0 parents
commit b27c587
Showing
36 changed files
with
9,566 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,9 @@ | ||
{ | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/preset-typescript" | ||
], | ||
"plugins": [ | ||
"@babel/plugin-proposal-class-properties" | ||
] | ||
} |
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,11 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
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,25 @@ | ||
name: Build/Test | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [ 14.x, 16.x, 17.x ] | ||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: yarn install | ||
- run: yarn type-check | ||
- run: yarn lint | ||
- run: yarn build-prod | ||
- run: yarn set-plugin-version 0.0.0 |
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,68 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
# Dependabot triggered push events have read-only access, but uploading code scanning requires write access. | ||
branches-ignore: [dependabot/**] | ||
pull_request: | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'javascript' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] | ||
# Learn more: | ||
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
# queries: ./path/to/local/query, your-org/your-repo/queries@main | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v1 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
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,20 @@ | ||
name: Release | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
release: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- run: yarn install | ||
- run: yarn build-prod | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: yarn semantic-release --branches main |
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,23 @@ | ||
name: Test-Release | ||
|
||
on: [ push ] | ||
|
||
jobs: | ||
release: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Get branch name | ||
id: branch-name | ||
uses: tj-actions/branch-names@v5 | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
- run: yarn install | ||
- name: Release Test | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | ||
run: yarn semantic-release --dry-run --branches ${{ steps.branch-name.outputs.current_branch }} |
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,4 @@ | ||
/.idea | ||
/node_modules/ | ||
|
||
/dist |
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 @@ | ||
_ |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
# dont run on CI | ||
[ -n "$CI" ] && exit 0 | ||
|
||
yarn commitlint --edit $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,7 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
# dont run on CI | ||
[ -n "$CI" ] && exit 0 | ||
|
||
yarn lint-staged |
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,14 @@ | ||
{ | ||
"files": [ | ||
".github/**/*", | ||
".husky/**/*", | ||
"build/**/*", | ||
".babelrc", | ||
".editorconfig", | ||
".gitignore", | ||
".templaterc.json", | ||
"release.config.js", | ||
"tsconfig.json", | ||
"webpack.config.ts" | ||
] | ||
} |
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,161 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. See | ||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
### [3.0.5](https://github.com/rweich/streamdeck-ts-template/compare/v3.0.4...v3.0.5) (2022-12-03) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* error in watch-mode ([10c3a2f](https://github.com/rweich/streamdeck-ts-template/commit/10c3a2f44834b2701a6ac07467a42e06709e3f75)) | ||
* make githooks executable ([12e5e83](https://github.com/rweich/streamdeck-ts-template/commit/12e5e835711155825e0e55db7753556ff42041ab)) | ||
|
||
|
||
### Documentation | ||
|
||
* add a note about eslint/prettier ([6306a69](https://github.com/rweich/streamdeck-ts-template/commit/6306a6903a12b3d721fffd03b76077ff7c427600)) | ||
* change links ([d875bfc](https://github.com/rweich/streamdeck-ts-template/commit/d875bfce731927a37133885055c3f4266fd76ace)) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* **deps:** bump loader-utils from 1.4.0 to 1.4.2 ([d61a9fe](https://github.com/rweich/streamdeck-ts-template/commit/d61a9fe95dd0432d073eefe6bef9ae4d2d96f65c)) | ||
* remove ts-type-guards package ([e0a22e1](https://github.com/rweich/streamdeck-ts-template/commit/e0a22e1adb8fd9eb44110d8526f39a6de69a13f2)) | ||
* update dependencies ([7228f01](https://github.com/rweich/streamdeck-ts-template/commit/7228f0174339aed129c9ee211c62fa195d40cb06)) | ||
|
||
### [3.0.4](https://github.com/rweich/streamdeck-ts-template/compare/v3.0.3...v3.0.4) (2022-07-21) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* **deps:** bump terser from 5.10.0 to 5.14.2 ([aade7a2](https://github.com/rweich/streamdeck-ts-template/commit/aade7a286559b8f56de8c20de29d4e8210562c6f)) | ||
|
||
### [3.0.3](https://github.com/rweich/streamdeck-ts-template/compare/v3.0.2...v3.0.3) (2022-06-10) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* **deps-dev:** bump semantic-release from 19.0.2 to 19.0.3 ([9a298d3](https://github.com/rweich/streamdeck-ts-template/commit/9a298d3e373f37694c861355ccad6d2a05edcd21)) | ||
|
||
### [3.0.2](https://github.com/rweich/streamdeck-ts-template/compare/v3.0.1...v3.0.2) (2022-06-04) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* **deps:** bump npm from 8.4.1 to 8.12.0 ([9dd2da3](https://github.com/rweich/streamdeck-ts-template/commit/9dd2da3386022afa2cd472c6aa1a88f480de92f9)) | ||
* **deps:** bump semver-regex from 3.1.3 to 3.1.4 ([70f06a3](https://github.com/rweich/streamdeck-ts-template/commit/70f06a355cee8e9116875814285ae49c1af0db50)) | ||
|
||
### [3.0.1](https://github.com/rweich/streamdeck-ts-template/compare/v3.0.0...v3.0.1) (2022-03-29) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* **deps:** bump minimist from 1.2.5 to 1.2.6 ([8f9ea08](https://github.com/rweich/streamdeck-ts-template/commit/8f9ea0851e333fae01410e39a8c58c18ef193030)) | ||
|
||
## [3.0.0](https://github.com/rweich/streamdeck-ts-template/compare/v2.2.1...v3.0.0) (2022-02-04) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* the minimum required version of node is now v14.17 | ||
|
||
### Miscellaneous Chores | ||
|
||
* drop support for node v12 and v15 ([b7ebe03](https://github.com/rweich/streamdeck-ts-template/commit/b7ebe0397561dd60a76bbff794fc5f079aead891)) | ||
* update dependencies ([4a1965a](https://github.com/rweich/streamdeck-ts-template/commit/4a1965a21e857ea0efd4a82203e553a501a9b2a9)) | ||
* upgrade dependencies (major) ([b798a24](https://github.com/rweich/streamdeck-ts-template/commit/b798a24f77f0be83214753215a1b43370adf3808)) | ||
|
||
### [2.2.1](https://github.com/rweich/streamdeck-ts-template/compare/v2.2.0...v2.2.1) (2021-09-15) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* update dependencies ([7b884fb](https://github.com/rweich/streamdeck-ts-template/commit/7b884fbeb4a0618e318e8e99010b3e2328740cb4)) | ||
|
||
## [2.2.0](https://github.com/rweich/streamdeck-ts-template/compare/v2.1.0...v2.2.0) (2021-09-08) | ||
|
||
|
||
### Features | ||
|
||
* add ts checker webpack plugin ([05822b3](https://github.com/rweich/streamdeck-ts-template/commit/05822b359894e030e03593557373111aaac7ca38)) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* remove sourcemaps on build ([05336bd](https://github.com/rweich/streamdeck-ts-template/commit/05336bdf1fa885fe4eda00ba5cabeb6082d59362)) | ||
* set noemit for typescript ([d63f69f](https://github.com/rweich/streamdeck-ts-template/commit/d63f69f0dd7ba7052ab4c76ad2203a1dc01be089)) | ||
|
||
## [2.1.0](https://github.com/rweich/streamdeck-ts-template/compare/v2.0.3...v2.1.0) (2021-09-04) | ||
|
||
|
||
### Features | ||
|
||
* add 'dev' to the plugin/action names ([e8e0dc2](https://github.com/rweich/streamdeck-ts-template/commit/e8e0dc2a7751c71fbf202522e1008f6fb70b538d)) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* update dependencies ([e2fe0dd](https://github.com/rweich/streamdeck-ts-template/commit/e2fe0ddd4c389f2e699a7d4efb1b5e2902930efd)) | ||
|
||
### [2.0.3](https://github.com/rweich/streamdeck-ts-template/compare/v2.0.2...v2.0.3) (2021-08-05) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* **deps:** bump tar from 6.1.0 to 6.1.5 ([5205f87](https://github.com/rweich/streamdeck-ts-template/commit/5205f87f0bd78c8d1dd278aae4eb6564c5562364)) | ||
|
||
### [2.0.2](https://github.com/rweich/streamdeck-ts-template/compare/v2.0.1...v2.0.2) (2021-06-12) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* update dependencies ([#4](https://github.com/rweich/streamdeck-ts-template/issues/4)) ([ea2f2f3](https://github.com/rweich/streamdeck-ts-template/commit/ea2f2f348ee266576eab52a43f4fc3b5a0838985)) | ||
|
||
### [2.0.1](https://github.com/rweich/streamdeck-ts-template/compare/v2.0.0...v2.0.1) (2021-05-24) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* linting errors ([6736a0e](https://github.com/rweich/streamdeck-ts-template/commit/6736a0ebf4448834d6aca80b0191b329bbbc5586)) | ||
|
||
## [2.0.0](https://github.com/rweich/streamdeck-ts-template/compare/v1.1.0...v2.0.0) (2021-05-24) | ||
|
||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* see the streamdeck-ts readme for upgrade details | ||
|
||
### Features | ||
|
||
* update streamdeck-ts to 2.x ([7654f67](https://github.com/rweich/streamdeck-ts-template/commit/7654f67a4a674a1a2cf9137dd6a8a925a971c551)) | ||
|
||
|
||
### Miscellaneous Chores | ||
|
||
* add license scan report and status ([#3](https://github.com/rweich/streamdeck-ts-template/issues/3)) ([d6877c8](https://github.com/rweich/streamdeck-ts-template/commit/d6877c834da1d52212df0567eb2a6ba3d5571d23)) | ||
* update to new streamdeck-ts version ([5243a66](https://github.com/rweich/streamdeck-ts-template/commit/5243a66dd111bdc016fcf166cd60f23af9f81269)) | ||
|
||
# [1.1.0](https://github.com/rweich/streamdeck-ts-template/compare/v1.0.0...v1.1.0) (2021-02-21) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* build errors ([22b569c](https://github.com/rweich/streamdeck-ts-template/commit/22b569ceca1c71592f92f5d80785441e77b17cf4)) | ||
|
||
|
||
### Features | ||
|
||
* added update-template package ([2afbdcd](https://github.com/rweich/streamdeck-ts-template/commit/2afbdcd27dd055e2e40c84ba8056b3dc2727e800)) | ||
|
||
# 1.0.0 (2021-02-21) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* error in the pluginversion script ([4d4ff1f](https://github.com/rweich/streamdeck-ts-template/commit/4d4ff1fb6ce21fdf09c247f68dea24c6f64b03b7)) | ||
|
||
|
||
### Features | ||
|
||
* create streamdeck plugin template ([26f5821](https://github.com/rweich/streamdeck-ts-template/commit/26f5821629a3c5b16b556b9915772ea707524e68)) |
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 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Roman Weich | ||
|
||
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. |
Oops, something went wrong.