vacuum-card 2.2.7 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +1 -2
- package/.github/workflows/release.yml +21 -9
- package/.github/workflows/validate.yml +32 -0
- package/README.md +25 -0
- package/dist/vacuum-card.js +3 -676
- package/package.json +16 -8
- package/rollup.config.js +19 -1
- package/src/localize.js +37 -34
- package/src/styles.css +274 -0
- package/src/translations/cn.json +67 -0
- package/src/vacuum-card-editor.js +2 -1
- package/src/vacuum-card.js +26 -34
- package/src/vacuum.svg +1 -0
- package/.github/workflows/build.yml +0 -14
- package/src/styles.js +0 -278
- package/src/vacuum.png +0 -0
package/.eslintrc.json
CHANGED
|
@@ -3,19 +3,31 @@ on:
|
|
|
3
3
|
push:
|
|
4
4
|
branches:
|
|
5
5
|
- master
|
|
6
|
+
|
|
6
7
|
jobs:
|
|
7
8
|
release:
|
|
8
|
-
name:
|
|
9
|
+
name: Release
|
|
9
10
|
runs-on: ubuntu-latest
|
|
10
11
|
steps:
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
- name: 🛑 Cancel Previous Runs
|
|
13
|
+
uses: styfle/cancel-workflow-action@0.9.1
|
|
14
|
+
|
|
15
|
+
- name: ⬇️ Checkout Repo
|
|
16
|
+
uses: actions/checkout@v2
|
|
17
|
+
|
|
18
|
+
- name: ⬢ Setup Node.js
|
|
19
|
+
uses: actions/setup-node@v2
|
|
20
|
+
with:
|
|
21
|
+
node-version: '*'
|
|
22
|
+
cache: npm
|
|
23
|
+
|
|
24
|
+
- name: 📦 Install Packages
|
|
25
|
+
run: npm ci
|
|
26
|
+
|
|
27
|
+
- name: 🏗 Build
|
|
28
|
+
run: npm run build
|
|
29
|
+
|
|
30
|
+
- name: 🚀 Release
|
|
19
31
|
run: npx semantic-release
|
|
20
32
|
env:
|
|
21
33
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
name: Validate
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
validate:
|
|
8
|
+
name: Validate
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- name: 🛑 Cancel Previous Runs
|
|
12
|
+
uses: styfle/cancel-workflow-action@0.9.1
|
|
13
|
+
|
|
14
|
+
- name: ⬇️ Checkout Repo
|
|
15
|
+
uses: actions/checkout@v2
|
|
16
|
+
|
|
17
|
+
- name: ⬢ Setup Node.js
|
|
18
|
+
uses: actions/setup-node@v2
|
|
19
|
+
with:
|
|
20
|
+
node-version: '*'
|
|
21
|
+
cache: npm
|
|
22
|
+
|
|
23
|
+
- name: 📦 Install Packages
|
|
24
|
+
run: npm ci
|
|
25
|
+
|
|
26
|
+
- name: 🧪 Test
|
|
27
|
+
run: npm test
|
|
28
|
+
|
|
29
|
+
- name: 👷 HACS validation
|
|
30
|
+
uses: hacs/action@main
|
|
31
|
+
with:
|
|
32
|
+
category: plugin
|
package/README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
> # 🇺🇦 UKRAINE NEEDS YOUR HELP NOW!
|
|
2
|
+
>
|
|
3
|
+
> I'm the creator of this project and I'm Ukrainian.
|
|
4
|
+
>
|
|
5
|
+
> **My country, Ukraine, [is being invaded by the Russian Federation, right now](https://www.bbc.com/news/world-europe-60504334)**. I've fled Kyiv and now I'm safe with my family in the western part of Ukraine. At least for now.
|
|
6
|
+
> Russia is hitting target all over my country by ballistic missiles.
|
|
7
|
+
>
|
|
8
|
+
> **Please, save me and help to save my country!**
|
|
9
|
+
>
|
|
10
|
+
> Ukrainian National Bank opened [an account to Raise Funds for Ukraine’s Armed Forces](https://bank.gov.ua/en/news/all/natsionalniy-bank-vidkriv-spetsrahunok-dlya-zboru-koshtiv-na-potrebi-armiyi):
|
|
11
|
+
>
|
|
12
|
+
> ```
|
|
13
|
+
> SWIFT Code NBU: NBUA UA UX
|
|
14
|
+
> JP MORGAN CHASE BANK, New York
|
|
15
|
+
> SWIFT Code: CHASUS33
|
|
16
|
+
> Account: 400807238
|
|
17
|
+
> 383 Madison Avenue, New York, NY 10179, USA
|
|
18
|
+
> IBAN: UA843000010000000047330992708
|
|
19
|
+
> ```
|
|
20
|
+
>
|
|
21
|
+
> You can also donate to [charity supporting Ukrainian army](https://savelife.in.ua/en/donate/).
|
|
22
|
+
>
|
|
23
|
+
> **THANK YOU!**
|
|
24
|
+
|
|
1
25
|
# Vacuum Card
|
|
2
26
|
|
|
3
27
|
[![npm version][npm-image]][npm-url]
|
|
@@ -188,6 +212,7 @@ This card supports translations. Please, help to add more translations and impro
|
|
|
188
212
|
- Việt Nam (Vietnamese)
|
|
189
213
|
- Lietuvių (Lithuanian)
|
|
190
214
|
- Română (Romanian)
|
|
215
|
+
- 简体中文 (Simplified Chinese)
|
|
191
216
|
- [_Your language?_][add-translation]
|
|
192
217
|
|
|
193
218
|
## Supported models
|