-
-
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
Showing
25 changed files
with
175 additions
and
5,227 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 |
---|---|---|
@@ -1,30 +1,35 @@ | ||
// See https://aka.ms/vscode-remote/devcontainer.json for format details. | ||
{ | ||
"name": "Platinum Weather Card ES Development", | ||
"image": "ludeeus/container:monster", | ||
"context": "..", | ||
"appPort": ["5123:5000", "9123:8123"], | ||
"postCreateCommand": "npm install", | ||
"runArgs": [ | ||
"-v", | ||
"${env:HOME}${env:USERPROFILE}/.ssh:/tmp/.ssh" // This is added so you can push from inside the container | ||
], | ||
"extensions": [ | ||
"github.vscode-pull-request-github", | ||
"eamodio.gitlens", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode", | ||
"bierner.lit-html", | ||
"runem.lit-plugin", | ||
"davidanson.vscode-markdownlint", | ||
"redhat.vscode-yaml" | ||
], | ||
"settings": { | ||
"files.eol": "\n", | ||
"editor.tabSize": 4, | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnType": true, | ||
"files.trimTrailingWhitespace": true | ||
} | ||
"name": "Platinum Weather Card Development", | ||
"image": "thomasloven/hass-custom-devcontainer", | ||
"postCreateCommand": "sudo -E container run-dev && npm add", | ||
"containerEnv": { | ||
"DEVCONTAINER": "1" | ||
}, | ||
"forwardPorts": [8123], | ||
"mounts": [ | ||
"source=${localWorkspaceFolder},target=/config/www/workspace,type=bind", | ||
"source=${localWorkspaceFolder}/test,target=/config/test,type=bind", | ||
"source=${localWorkspaceFolder}/test/configuration.yaml,target=/config/configuration.yaml,type=bind" | ||
], | ||
"runArgs": ["--env-file", "${localWorkspaceFolder}/test/.env"], | ||
"extensions": [ | ||
"github.vscode-pull-request-github", | ||
"esbenp.prettier-vscode", | ||
"spmeesseman.vscode-taskexplorer" | ||
], | ||
"settings": { | ||
"files.eol": "\n", | ||
"editor.tabSize": 2, | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnType": true, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"files.trimTrailingWhitespace": 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
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 |
---|---|---|
|
@@ -2,9 +2,4 @@ | |
/.rpt2_cache/ | ||
package-lock.json | ||
/dist/*.js | ||
|
||
# Entorno virtual | ||
.venv/ | ||
|
||
# Variables de entorno | ||
.env | ||
.venv/ |
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
"detail": "npm run lint && npm run rollup" | ||
} | ||
] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "Platinum Weather Card ES", | ||
"hacs": "1.1.3", | ||
"name": "Platinum Weather Card", | ||
"hacs": "1.26.0", | ||
"render_readme": true, | ||
"hide_default_branch": 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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "platinum-weather-card-es", | ||
"name": "platinum-weather-card", | ||
"version": "1.1.3", | ||
"description": "platinum-weather-card-es", | ||
"description": "platinum-weather-card", | ||
"keywords": [ | ||
"home-assistant", | ||
"homeassistant", | ||
|
@@ -11,8 +11,8 @@ | |
"custom-cards" | ||
], | ||
"module": "platinum-weather-card.js", | ||
"repository": "[email protected]: /platinum-weather-card-es.git", | ||
"author": "figorr", | ||
"repository": "[email protected]: /platinum-weather-card.git", | ||
"author": "Simon <[email protected]>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@lit-labs/scoped-registry-mixin": "^1.0.1", | ||
|
@@ -50,15 +50,8 @@ | |
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-serve": "^1.1.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"typescript": "^4.8.4", | ||
"tslib": "^2.3.0" | ||
}, | ||
"resolutions": { | ||
"lit": "^2.1.2", | ||
"lit-html": "2.1.2", | ||
"lit-element": "3.1.2", | ||
"@lit/reactive-element": "1.2.1" | ||
"rollup-plugin-typescript2": "^0.34.0", | ||
"typescript": "^4.8.4" | ||
}, | ||
"scripts": { | ||
"start": "rollup -c rollup.config.dev.js --watch", | ||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
HASS_USERNAME=dev | ||
HASS_PASSWORD=dev | ||
LOVELACE_LOCAL_FILES=dist/platinum-weather-card.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,11 @@ | ||
default_config: | ||
|
||
demo: | ||
|
||
lovelace: | ||
mode: storage | ||
dashboards: | ||
lovelace-yaml: | ||
mode: yaml | ||
title: yaml | ||
filename: test/lovelace.yaml |
Oops, something went wrong.