Skip to content

Commit

Permalink
Update to 0.2.1, fixes install
Browse files Browse the repository at this point in the history
  • Loading branch information
alex3305 committed Oct 14, 2024
1 parent e5c3abe commit 3a56c3f
Show file tree
Hide file tree
Showing 7 changed files with 193 additions and 189 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.2.1
- Fix HACS installation
- Move output to root directory

## 0.2.0
- Add disable on edit option

Expand Down
2 changes: 0 additions & 2 deletions dist/global-mod.js

This file was deleted.

2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import pluginJs from "@eslint/js";


export default [
{files: ["**/*.js"], languageOptions: {sourceType: "module"}},
{files: ["src/*.js"], languageOptions: {sourceType: "module"}},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
];
183 changes: 2 additions & 181 deletions global-mod.js

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

2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Global Mod",
"render_readme": true,
"content_in_root": false,
"content_in_root": true,
"filename": "global-mod.js"
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "global-mod",
"version": "0.2.0",
"version": "0.2.1",
"description": "A custom script that can mod everything in Home Assistant",
"main": "global-mod.js",
"main": "src/global-mod.js",
"scripts": {
"lint": "npx eslint global-mod.js",
"dist": "npx esbuild global-mod.js --bundle --minify --outdir=dist"
"lint": "npx eslint src/global-mod.js",
"dist": "npx esbuild src/global-mod.js --bundle --minify --outdir=."
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 3a56c3f

Please sign in to comment.