Skip to content

Commit

Permalink
rename to linus-strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lebe1ge committed Nov 8, 2024
1 parent e8c28f3 commit 44cbd89
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 27 deletions.
20 changes: 10 additions & 10 deletions custom_components/linus_dashboard/js/linus-strategy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion custom_components/linus_dashboard/js/linus-strategy.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
strategy:
type: custom:mushroom-strategy
type: custom:linus-strategy
views: []
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "mushroom-strategy",
"name": "linus-dashboard",
"version": "2.1.1",
"description": "Automatically create a dashboard using Mushroom cards",
"keywords": [
"strategy",
"mushroom"
],
"homepage": "https://github.com/AalianKhan/mushroom-strategy",
"bugs": "https://github.com/AalianKhan/mushroom-strategy/issues",
"homepage": "https://github.com/Thank-you-Linus/Linus-Dashboard",
"bugs": "https://github.com/Thank-you-Linus/Linus-Dashboard/issues",
"license": "MIT",
"author": {
"name": "Aalian Khan"
Expand All @@ -19,7 +19,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/AalianKhan/mushroom-strategy"
"url": "https://github.com/Thank-you-Linus/Linus-Dashboard"
},
"dependencies": {
"@types/swiper": "^6.0.0",
Expand All @@ -39,6 +39,6 @@
"scripts": {
"build-dev": "webpack --config webpack.dev.config.ts --watch",
"build": "webpack",
"bump": "bump --preid alpha package.json package-lock.json README.md ./src/mushroom-strategy.ts"
"bump": "bump --preid alpha package.json package-lock.json README.md ./src/linus-strategy.ts"
}
}
}
6 changes: 3 additions & 3 deletions src/mushroom-strategy.ts → src/linus-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { MAGIC_AREAS_DOMAINS } from "./variables";
* 😍 Built-in Views for several standard domains.<br>
* 🎨 Many options to customize to your needs.<br>
* <br>
* Check the [Repository]{@link https://github.com/AalianKhan/mushroom-strategy} for more information.
* Check the [Repository]{@link https://github.com/AalianKhan/linus-strategy} for more information.
*/
class MushroomStrategy extends HTMLTemplateElement {
/**
Expand Down Expand Up @@ -68,7 +68,7 @@ class MushroomStrategy extends HTMLTemplateElement {
path: area.area_id ?? area.name,
subview: true,
strategy: {
type: "custom:mushroom-strategy",
type: "custom:linus-strategy",
options: {
area,
},
Expand Down Expand Up @@ -296,7 +296,7 @@ class MushroomStrategy extends HTMLTemplateElement {
}
}

customElements.define("ll-strategy-mushroom-strategy", MushroomStrategy);
customElements.define("ll-strategy-linus-strategy", MushroomStrategy);

export const version = "v4.0.1";
console.info(
Expand Down
2 changes: 1 addition & 1 deletion src/popups/LinusSettingsPopup.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Helper } from "../Helper";
import { version } from "../mushroom-strategy";
import { version } from "../linus-strategy";
import { PopupActionConfig } from "../types/homeassistant/data/lovelace";
import { AbstractPopup } from "./AbstractPopup";

Expand Down
2 changes: 1 addition & 1 deletion webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path from 'path';
import webpack from 'webpack';

const config: webpack.Configuration = {
entry: "./src/mushroom-strategy.ts",
entry: "./src/linus-strategy.ts",
mode: "production",
output: {
filename: "linus-strategy.js",
Expand Down
2 changes: 1 addition & 1 deletion webpack.dev.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import path from 'path';
import webpack from 'webpack';

const config: webpack.Configuration = {
entry: "./src/mushroom-strategy.ts",
entry: "./src/linus-strategy.ts",
mode: "development",
devtool: "source-map",
output: {
Expand Down

0 comments on commit 44cbd89

Please sign in to comment.