Skip to content

Commit

Permalink
Remove src/manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hellhake committed May 29, 2021
1 parent f017166 commit f0daf09
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ npm ci
npm run build
npm prune --production

shasum --algorithm 256 manifest.json package.json lib/*.js lib/driver/*.js lib/zigbee2mqtt/*.js lib/*.json LICENSE README.md > SHA256SUMS
shasum --algorithm 256 manifest.json package.json lib/*.js lib/driver/*.js lib/zigbee2mqtt/*.js LICENSE README.md > SHA256SUMS

find node_modules \( -type f -o -type l \) -exec shasum --algorithm 256 {} \; >> SHA256SUMS

Expand Down
1 change: 0 additions & 1 deletion src/manifest.json

This file was deleted.

4 changes: 1 addition & 3 deletions src/zigbee2mqtt/zigbee2mqtt-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ function debug(): boolean {
return DEBUG_FLAG.DEBUG_zigbee2mqtt;
}

import manifest from '../manifest.json';

interface Response {
data?: {
id?: string;
Expand Down Expand Up @@ -59,7 +57,7 @@ export class Zigbee2MqttAdapter extends Adapter {
super(
addonManager,
`zb-zigbee2mqtt-${adapterConfig.host}:${adapterConfig.port ?? DEFAULT_PORT}`,
manifest.id
'zigbee-adapter'
);
this.prefix = adapterConfig.topicPrefix ?? 'zigbee2mqtt';
this.connect();
Expand Down

0 comments on commit f0daf09

Please sign in to comment.