-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
51 changed files
with
6,635 additions
and
130 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,11 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = tab | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
indent_style = space |
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,144 @@ | ||
{ | ||
"env": { | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:jsdoc/recommended-typescript", | ||
"prettier" | ||
], | ||
"ignorePatterns": [ | ||
".github/", | ||
"bin/", | ||
"dist/", | ||
"node_modules/", | ||
"template/" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"jsdoc", | ||
"prettier", | ||
"@typescript-eslint" | ||
], | ||
"root": true, | ||
"rules": { | ||
"indent": [ | ||
"warn", | ||
"tab", | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"jsdoc/require-jsdoc": [ | ||
"warn", | ||
{ | ||
"contexts": [ | ||
"ClassDeclaration", | ||
"PropertyDefinition", | ||
"MethodDefinition", | ||
"TSEnumDeclaration", | ||
"TSEnumMember", | ||
"TSPropertySignature", | ||
"TSTypeAliasDeclaration" | ||
] | ||
} | ||
], | ||
"@typescript-eslint/explicit-member-accessibility": [ | ||
"error", | ||
{ | ||
"accessibility": "explicit", | ||
"overrides": { | ||
"constructors": "no-public" | ||
} | ||
} | ||
], | ||
"@typescript-eslint/explicit-function-return-type": "warn", | ||
"@typescript-eslint/member-ordering": [ | ||
"warn", | ||
{ | ||
"default": { | ||
"memberTypes": [ | ||
// Fields. | ||
"public-static-field", | ||
"public-abstract-field", | ||
"public-field", | ||
"protected-static-field", | ||
"protected-abstract-field", | ||
"protected-field", | ||
"private-static-field", | ||
"private-field", | ||
// Constructors | ||
"public-constructor", | ||
"protected-constructor", | ||
"private-constructor", | ||
// Signature | ||
"signature", | ||
"call-signature", | ||
// Properties | ||
"public-static-get", | ||
"public-static-set", | ||
"public-abstract-get", | ||
"public-abstract-set", | ||
"public-get", | ||
"public-set", | ||
"protected-static-get", | ||
"protected-static-set", | ||
"protected-abstract-get", | ||
"protected-abstract-set", | ||
"protected-get", | ||
"protected-set", | ||
"private-static-get", | ||
"private-static-set", | ||
"private-get", | ||
"private-set", | ||
// Methods | ||
"public-static-method", | ||
"public-abstract-method", | ||
"public-method", | ||
"protected-static-method", | ||
"protected-abstract-method", | ||
"protected-method", | ||
"private-static-method", | ||
"private-method" | ||
], | ||
"order": "alphabetically" | ||
} | ||
} | ||
], | ||
"@typescript-eslint/sort-type-constituents": "warn" | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": "*.mjs", | ||
"rules": { | ||
"jsdoc/check-tag-names": [ | ||
"warn", | ||
{ | ||
"typed": false | ||
} | ||
], | ||
"jsdoc/no-types": "off", | ||
"@typescript-eslint/explicit-function-return-type": "off" | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"{src,tests}/**/__mocks__/*.ts", | ||
"{src,tests}/**/__tests__/*test.ts" | ||
], | ||
"rules": { | ||
"jsdoc/require-jsdoc": [ | ||
"warn", | ||
{ | ||
"contexts": [ | ||
"MethodDefinition" | ||
] | ||
} | ||
], | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/no-explicit-any": "off" | ||
} | ||
} | ||
] | ||
} |
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,130 +1,5 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.pnpm-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
# Node.js | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Snowpack dependency directory (https://snowpack.dev/) | ||
web_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional stylelint cache | ||
.stylelintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variable files | ||
.env | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.env.local | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
.parcel-cache | ||
|
||
# Next.js build output | ||
.next | ||
out | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and not Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# vuepress v2.x temp and cache directory | ||
.temp | ||
.cache | ||
|
||
# Docusaurus cache and generated files | ||
.docusaurus | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
# Stores VSCode versions used for testing VSCode extensions | ||
.vscode-test | ||
|
||
# yarn v2 | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
# Build output | ||
bin/ |
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 @@ | ||
sign-git-tag=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,17 @@ | ||
{ | ||
"printWidth": 200, | ||
"semi": true, | ||
"trailingComma": "none", | ||
"useTabs": true, | ||
"importOrder": [ | ||
"<THIRD_PARTY_MODULES>", | ||
"^[./]" | ||
], | ||
"importOrderParserPlugins": [ | ||
"typescript", | ||
"[\"decorators\", { \"decoratorsBeforeExport\": true }]" | ||
], | ||
"importOrderSeparation": true, | ||
"importOrderSortSpecifiers": true, | ||
"importOrderCaseInsensitive": 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 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"args": [ | ||
"link" | ||
], | ||
"cwd": "${workspaceFolder}\\template", | ||
"program": "${workspaceFolder}\\bin\\index.mjs", | ||
"preLaunchTask": "npm: build", | ||
"outFiles": [ | ||
"${workspaceFolder}/dist/**/*.js" | ||
] | ||
} | ||
] | ||
} |
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 @@ | ||
{ | ||
/** Prefer tabs over spaces for accessibility */ | ||
"editor.insertSpaces": false, | ||
"editor.detectIndentation": false, | ||
/* Explorer */ | ||
"explorer.fileNesting.enabled": true, | ||
"explorer.fileNesting.patterns": { | ||
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts", | ||
"*.ts": "${capture}.test.ts", | ||
".editorconfig": ".eslintrc, .prettierrc", | ||
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml, .npmrc", | ||
"README.md": "LICENSE" | ||
} | ||
} |
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,13 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "build", | ||
"group": "build", | ||
"problemMatcher": [], | ||
"label": "npm: build", | ||
"detail": "tsc" | ||
} | ||
] | ||
} |
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 @@ | ||
<!-- | ||
## {version} | ||
🚨 Breaking | ||
✨ New | ||
🐞 Fix | ||
♻️ Refactor / Enhance / Update | ||
--> | ||
|
||
# Change Log | ||
|
||
## 0.1.0-beta.0 | ||
|
||
### New | ||
|
||
- ✨ Add `create` wizard for quickly scaffolding Stream Deck plugins. | ||
- ✨ Add `link` command for linking plugins in-development to Stream Deck. | ||
- ✨ Add `restart` plugin; unloads the plugins and re-starts the plugin within Stream Deck. | ||
- ✨ Add `stop` plugin; unloads the plugin from Stream Deck. | ||
- ✨ Add `dev` mode toggle for managing developer mode. | ||
- ✨ Add `config` for managing local configuration. |
Oops, something went wrong.