generated from custom-cards/boilerplate-card
-
-
Notifications
You must be signed in to change notification settings - Fork 64
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 #1524 from dermotduffy/dev
Merge `dev` back to `main` in advance of release
- Loading branch information
Showing
562 changed files
with
68,342 additions
and
21,879 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
Submodule frigate-hass-integration
updated
56 files
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,14 +1,15 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", // Specifies the ESLint parser | ||
parserOptions: { | ||
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features | ||
sourceType: "module" // Allows for the use of imports | ||
}, | ||
extends: [ | ||
"plugin:@typescript-eslint/recommended" // Uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
], | ||
rules: { | ||
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs | ||
// e.g. "@typescript-eslint/explicit-function-return-type": "off", | ||
} | ||
}; | ||
parser: '@typescript-eslint/parser', // Specifies the ESLint parser | ||
parserOptions: { | ||
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features | ||
sourceType: 'module', // Allows for the use of imports | ||
}, | ||
extends: [ | ||
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier | ||
], | ||
rules: { | ||
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs | ||
// e.g. "@typescript-eslint/explicit-function-return-type": "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,8 +1,8 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
target-branch: "dev" | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
target-branch: 'dev' |
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
- dev | ||
pull_request: | ||
schedule: | ||
- cron: "17 6 * * *" | ||
- cron: '17 6 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
@@ -17,31 +17,48 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node and Yarn | ||
uses: volta-cli/action@v4 | ||
|
||
- name: Install dependencies | ||
run: yarn install --immutable | ||
|
||
- name: Lint | ||
run: yarn run lint | ||
|
||
- name: Check formatting | ||
run: yarn run format-check | ||
|
||
- name: Test & Coverage | ||
run: yarn run coverage | ||
|
||
- name: Build | ||
run: yarn run build | ||
|
||
- name: Test | ||
run: yarn run test | ||
|
||
- name: HACS build validation | ||
uses: "hacs/[email protected]" | ||
uses: 'hacs/[email protected]' | ||
with: | ||
category: "plugin" | ||
category: 'plugin' | ||
|
||
# Don't attempt to load into HACS (as it loads the release, not the | ||
# build). | ||
ignore: "hacs" | ||
ignore: 'hacs' | ||
|
||
- name: Verify docs links | ||
run: yarn run docs-check-links | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v3 | ||
- name: Upload javascript | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: frigate-hass-card | ||
path: dist/*.js | ||
|
||
# When this issue is fixed, it would be useful to upload visualizations: | ||
# https://github.com/actions/upload-artifact/issues/14 | ||
# - name: Upload visualizations | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: frigate-hass-card | ||
# path: visualizations/*.html |
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node and Yarn | ||
uses: volta-cli/action@v4 | ||
|
@@ -24,14 +24,14 @@ jobs: | |
run: yarn run build | ||
|
||
- name: Zip the files | ||
uses: thedoctor0/[email protected].1 | ||
uses: thedoctor0/[email protected].6 | ||
with: | ||
type: zip | ||
path: dist | ||
filename: frigate-hass-card.zip | ||
|
||
- name: Upload JS files to release | ||
uses: svenstaro/upload-release-action@2.6.1 | ||
uses: svenstaro/upload-release-action@2.9.0 | ||
|
||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -41,7 +41,7 @@ jobs: | |
overwrite: true | ||
|
||
- name: Upload Zip file to release | ||
uses: svenstaro/upload-release-action@2.6.1 | ||
uses: svenstaro/upload-release-action@2.9.0 | ||
|
||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
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,2 @@ | ||
docs/js/ | ||
.devcontainer/ |
This file was deleted.
Oops, something went wrong.
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
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
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 @@ | ||
# Patches | ||
|
||
## `sass` | ||
|
||
`sass` is patched to avoid printing out a noisy deprecation notice on every | ||
build. `sass` is imported by `rollup-plugin-styler`, in a way that triggers this | ||
message. The patch simply prevents this console spam. |
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 @@ | ||
diff --git a/sass.node.mjs b/sass.node.mjs | ||
index f59a3d8987162a3cbc9787c34f67186fb0f09186..b154f46118ccc03989b9a1c11309954c85515539 100644 | ||
--- a/sass.node.mjs | ||
+++ b/sass.node.mjs | ||
@@ -40,7 +40,7 @@ export const NodePackageImporter = cjs.NodePackageImporter; | ||
export const deprecations = cjs.deprecations; | ||
export const Version = cjs.Version; | ||
|
||
-let printedDefaultExportDeprecation = false; | ||
+let printedDefaultExportDeprecation = true; | ||
function defaultExportDeprecation() { | ||
if (printedDefaultExportDeprecation) return; | ||
printedDefaultExportDeprecation = true; |
Oops, something went wrong.