Skip to content

Commit

Permalink
beta -> latest (#17)
Browse files Browse the repository at this point in the history
## 1.0.0

 Initial release
  • Loading branch information
bwp91 authored Oct 23, 2023
1 parent 6cb3a5f commit 49ff758
Show file tree
Hide file tree
Showing 8 changed files with 138 additions and 117 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@
"off"
]
}
}
}
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ dist
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.pnp.*
.pnp.*
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 1.0.0

Initial release
222 changes: 119 additions & 103 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@homebridge/plugin-ui-utils",
"version": "0.0.19",
"version": "1.0.0",
"description": "A tool to help plugins provide custom ui screens in the Homebridge UI",
"author": "oznu",
"license": "MIT",
Expand All @@ -22,11 +22,11 @@
"test-coverage": "echo \"No test-coverage script specified\" && exit 0"
},
"devDependencies": {
"@types/node": "^20.6.3",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"rimraf": "^5.0.1",
"@types/node": "^20.8.7",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"eslint": "^8.52.0",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
Expand Down
1 change: 1 addition & 0 deletions src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class HomebridgePluginUi extends EventTargetConstructor {
linkElement.setAttribute('href', e.data.href);
linkElement.setAttribute('rel', e.data.rel);
linkElement.onload = resolve;
linkElement.onerror = resolve;
document.head.appendChild(linkElement);
});
this.linkRequests.push(request);
Expand Down
7 changes: 4 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2018", // ~node10
"target": "es2022",
"module": "commonjs",
"lib": [
"es2015",
Expand All @@ -15,12 +15,13 @@
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noImplicitAny": false
"noImplicitAny": false,
"skipLibCheck": true
},
"include": [
"src/"
],
"exclude": [
"src/ui.ts"
]
}
}
6 changes: 3 additions & 3 deletions tsconfig.ui.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"target": "es2018", // ~node10
"module": "None"
"target": "es2022",
"module": "commonjs",
},
"include": [
"src/ui.ts"
],
"exclude": [
"**/*.spec.ts"
]
}
}

0 comments on commit 49ff758

Please sign in to comment.