Skip to content

Commit 1576e86

Browse files
committed
Maintenance release 0.0.3
1 parent 7e00735 commit 1576e86

7 files changed

Lines changed: 8 additions & 49 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
/.rpt2_cache/
33
package-lock.json
44
/dist
5-
src/version-const.ts

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git-tag-version=false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If a card inside the stack has the `--keep-background` CSS style defined, it wil
2929

3030
### Simple Example
3131

32-
![example](./docs/Example.png)
32+
![example](docs/Example.png)
3333

3434
```yaml
3535
- type: custom:stack-in-card

hooks/bump-version.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
{
22
"name": "stack-in-card",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Stack in Card for Home Assistant's Lovelace UI",
55
"main": "dist/stack-in-card.js",
66
"pre-commit": [
77
"pre-commit"
88
],
99
"scripts": {
10-
"pre-commit": "npm run build",
11-
"build": "npm run update-version && npm run lint && npm run rollup && npm run babel",
10+
"build": "npm run lint && npm run rollup && npm run babel",
1211
"rollup": "rollup -c",
1312
"babel": "babel dist/stack-in-card.js --out-file dist/stack-in-card.js",
1413
"lint": "eslint src/*.ts",
15-
"start": "npm run update-version && rollup -c --watch",
16-
"update-version": "./hooks/bump-version.sh"
14+
"start": "rollup -c --watch"
1715
},
1816
"repository": {
1917
"type": "git",
@@ -49,7 +47,6 @@
4947
"eslint-plugin-import": "^2.20.1",
5048
"eslint-plugin-prettier": "^3.1.2",
5149
"npm": "^6.14.3",
52-
"pre-commit": "^1.2.2",
5350
"prettier": "^1.19.0",
5451
"prettier-eslint": "^9.0.1",
5552
"rollup": "^2.1.0",

src/stack-in-card.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { CARD_VERSION } from './version-const';
21
import { LitElement, customElement, property, TemplateResult, html } from 'lit-element';
32
import { ifDefined } from 'lit-html/directives/if-defined';
43
import { HomeAssistant, LovelaceCardConfig, createThing, LovelaceCard } from 'custom-card-helpers';
54
import { StackInCardConfig } from './types';
5+
import * as pjson from '../package.json';
66

77
console.info(
8-
`%c STACK-IN-CARD \n%c Version ${CARD_VERSION} `,
8+
`%c STACK-IN-CARD \n%c Version ${pjson.version} `,
99
'color: orange; font-weight: bold; background: black',
1010
'color: white; font-weight: bold; background: dimgray',
1111
);

yarn.lock

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,7 +1290,7 @@ concat-map@0.0.1:
12901290
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
12911291
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
12921292

1293-
concat-stream@^1.4.7, concat-stream@^1.5.0:
1293+
concat-stream@^1.5.0:
12941294
version "1.6.2"
12951295
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
12961296
integrity sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==
@@ -4375,11 +4375,6 @@ os-locale@^3.1.0:
43754375
lcid "^2.0.0"
43764376
mem "^4.0.0"
43774377

4378-
os-shim@^0.1.2:
4379-
version "0.1.3"
4380-
resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917"
4381-
integrity sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc=
4382-
43834378
os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.2:
43844379
version "1.0.2"
43854380
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
@@ -4632,15 +4627,6 @@ posix-character-classes@^0.1.0:
46324627
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
46334628
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=
46344629

4635-
pre-commit@^1.2.2:
4636-
version "1.2.2"
4637-
resolved "https://registry.yarnpkg.com/pre-commit/-/pre-commit-1.2.2.tgz#dbcee0ee9de7235e57f79c56d7ce94641a69eec6"
4638-
integrity sha1-287g7p3nI15X95xW186UZBpp7sY=
4639-
dependencies:
4640-
cross-spawn "^5.0.1"
4641-
spawn-sync "^1.0.15"
4642-
which "1.2.x"
4643-
46444630
prelude-ls@~1.1.2:
46454631
version "1.1.2"
46464632
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
@@ -5443,14 +5429,6 @@ sourcemap-codec@^1.4.4:
54435429
resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4"
54445430
integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==
54455431

5446-
spawn-sync@^1.0.15:
5447-
version "1.0.15"
5448-
resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.15.tgz#b00799557eb7fb0c8376c29d44e8a1ea67e57476"
5449-
integrity sha1-sAeZVX63+wyDdsKdROih6mfldHY=
5450-
dependencies:
5451-
concat-stream "^1.4.7"
5452-
os-shim "^0.1.2"
5453-
54545432
spdx-correct@^3.0.0:
54555433
version "3.1.0"
54565434
resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4"
@@ -6185,13 +6163,6 @@ which-module@^2.0.0:
61856163
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
61866164
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
61876165

6188-
which@1.2.x:
6189-
version "1.2.14"
6190-
resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
6191-
integrity sha1-mofEN48D6CfOyvGs31bHNsAcFOU=
6192-
dependencies:
6193-
isexe "^2.0.0"
6194-
61956166
which@^1.2.9, which@^1.3.0, which@^1.3.1:
61966167
version "1.3.1"
61976168
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"

0 commit comments

Comments
 (0)