-
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 b9d7b6d
Showing
260 changed files
with
410,814 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,70 @@ | ||
module.exports = { | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/strict-type-checked", // Enable type checking, max strictness | ||
"plugin:prettier/recommended" // prettier rules | ||
], | ||
|
||
parser: "@typescript-eslint/parser", | ||
|
||
parserOptions: { | ||
project: true, | ||
tsconfigRootDir: __dirname | ||
}, | ||
|
||
plugins: ["@typescript-eslint"], | ||
|
||
root: true, | ||
|
||
ignorePatterns: [ | ||
".eslintrc.js", | ||
"*.spec.ts", | ||
"*.test.ts", | ||
"dist/", | ||
"coverage/", | ||
"lib/", | ||
"pnpm-lock.yaml", | ||
".pnpm-store/" | ||
], // ESLINT IGNORE | ||
|
||
env: { | ||
// ESLINT ENV | ||
node: true, | ||
jest: true | ||
}, | ||
|
||
rules: { | ||
"no-else-return": ["error", { allowElseIf: false }], | ||
"consistent-return": "error", | ||
"no-console": "warn", | ||
"@typescript-eslint/typedef": [ | ||
"error", | ||
{ | ||
variableDeclaration: true, | ||
memberVariableDeclaration: true | ||
} | ||
], | ||
"@typescript-eslint/explicit-module-boundary-types": "error", | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
selector: "class", | ||
format: ["PascalCase"] | ||
} | ||
], | ||
"@typescript-eslint/prefer-readonly": "error", | ||
"@typescript-eslint/explicit-member-accessibility": [ | ||
"error", | ||
{ | ||
accessibility: "explicit", | ||
overrides: { | ||
accessors: "explicit", | ||
constructors: "no-public", | ||
methods: "explicit", | ||
properties: "explicit", | ||
parameterProperties: "explicit" | ||
} | ||
} | ||
] | ||
} | ||
}; |
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 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
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,53 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test-typescript: | ||
name: TypeScript Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
id: setup-pnpm | ||
uses: pnpm/action-setup@v3 | ||
|
||
- name: Set node version | ||
id: setup-node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .node-version | ||
cache: "pnpm" | ||
|
||
- name: Install Dependencies | ||
id: install | ||
run: pnpm install | ||
|
||
- name: Check Format | ||
id: pnpm-format-check | ||
run: pnpm run format:check | ||
|
||
- name: Lint | ||
id: pnpm-lint | ||
run: pnpm run lint | ||
|
||
- name: Load Exiftool | ||
id: exiftool | ||
uses: ./ | ||
|
||
- name: Run Exiftool | ||
run: exiftool -ver |
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,48 @@ | ||
name: CodeQL | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
# schedule: | ||
# - cron: "31 7 * * 3" | ||
|
||
permissions: | ||
actions: read | ||
checks: write | ||
contents: read | ||
security-events: write | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: | ||
- TypeScript | ||
|
||
steps: | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Initialize CodeQL | ||
id: initialize | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: ${{ matrix.language }} | ||
source-root: src | ||
|
||
- name: Autobuild | ||
id: autobuild | ||
uses: github/codeql-action/autobuild@v3 | ||
|
||
- name: Perform CodeQL Analysis | ||
id: analyze | ||
uses: github/codeql-action/analyze@v3 |
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,3 @@ | ||
# Dependency directory | ||
node_modules | ||
exiftool_git |
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.6.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,3 @@ | ||
package-manager-strict=false | ||
save=true | ||
save-exact=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,13 @@ | ||
.pnpm-store/ | ||
dist/ | ||
node_modules/ | ||
coverage/ | ||
__tests__/ | ||
.devcontainer/ | ||
.github/ | ||
badges/ | ||
script/ | ||
pnpm-lock.yaml | ||
.eslintrc.js | ||
*.md | ||
exiftool |
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,16 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": true, | ||
"singleQuote": false, | ||
"quoteProps": "as-needed", | ||
"jsxSingleQuote": false, | ||
"trailingComma": "none", | ||
"bracketSpacing": true, | ||
"bracketSameLine": true, | ||
"arrowParens": "avoid", | ||
"proseWrap": "always", | ||
"htmlWhitespaceSensitivity": "css", | ||
"endOfLine": "lf" | ||
} |
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,3 @@ | ||
{ | ||
"recommendations": ["cschleiden.vscode-github-actions", "redhat.vscode-yaml"] | ||
} |
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,29 @@ | ||
{ | ||
"workbench.sideBar.location": "right", | ||
"files.associations": { | ||
"*.json": "jsonc", | ||
"package.json": "json", | ||
".sql": "sql", | ||
".devops/ci/*.gitlab-ci.yml": "yaml", | ||
".tmux.conf.local": "properties" | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
}, | ||
"editor.formatOnSave": true, | ||
"eslint.enable": true, | ||
"eslint.format.enable": true, | ||
"eslint.useESLintClass": true, | ||
"zenMode.fullScreen": false, | ||
"git.autofetch": true, | ||
"scm.defaultViewMode": "tree", | ||
"terminal.integrated.defaultProfile.linux": "zsh", | ||
"tailwindCSS.experimental.classRegex": ["[cC]lass=['\"](.*)['|\"]"], | ||
"html.customData": ["./ui/app/node_modules/vidstack/vscode.html-data.json"], | ||
// Controls the rendering size of tabs in characters. Accepted values: "auto", 2, 4, 6, etc. If set to "auto", the value will be guessed when a file is opened. | ||
"editor.tabSize": 2, | ||
// Controls after how many characters the editor will wrap to the next line. Setting this to 0 turns on viewport width wrapping | ||
// When enabled, will trim trailing whitespace when you save a file. | ||
"files.trimTrailingWhitespace": true, | ||
"workbench.colorTheme": "Monokai" | ||
} |
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 @@ | ||
# Exiftool Github action | ||
|
||
|
||
When you need to get the exiftool in your actions but you don't want to do manual job. | ||
|
||
The versioning of this action and the repo, follow the exiftool versioning, which currently is not a semver. | ||
|
||
## Usage | ||
Simply include it like this before your tests and the code that needs `exiftool`. | ||
|
||
```yaml | ||
- name: Use Exiftool | ||
uses: woss/exiftool-action@v12.87 | ||
``` | ||
This repo is updated whenever Mr. Phil Harvey updates the [exiftool](https://exiftool.org) | ||
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,6 @@ | ||
name: "exiftool-action" | ||
description: | ||
"Exiftool github action. Adds exiftool to the PATH environment variable." | ||
runs: | ||
using: "node20" | ||
main: "dist/index.js" |
Oops, something went wrong.