Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Nov 12, 2024
1 parent afae9ee commit 89d1d0d
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 20 deletions.
3 changes: 1 addition & 2 deletions packages/cc/src/index_browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

export * from "./lib/Security2/shared.js";
export * from "./lib/SetValueResult.js";
export * from "./lib/SetValueResult.js";
// eslint-disable-next-line @zwave-js/no-forbidden-imports -- FIXME: This is actually wrong, but I need to get the release done
export { defaultCCValueOptions } from "./lib/Values.js";
export type {
CCValueOptions,
CCValuePredicate,
PartialCCValuePredicate,
} from "./lib/Values.js";
export * from "./lib/_Types.js";
export * from "./lib/_Types.js";
1 change: 1 addition & 0 deletions packages/cc/src/index_safe.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @forbiddenImports external */

export * from "./lib/SetValueResult.js";
// eslint-disable-next-line @zwave-js/no-forbidden-imports -- FIXME: This is actually wrong, but I need to get the release done
export * from "./lib/_Types.js";
5 changes: 5 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
"import": "./build/esm/registries/index.js",
"require": "./build/cjs/registries/index.js"
},
"./traits": {
"@@dev": "./src/traits/index.ts",
"import": "./build/esm/traits/index.js",
"require": "./build/cjs/traits/index.js"
},
"./qr": {
"@@dev": "./src/qr/index.ts",
"browser": "./build/esm/qr/index.browser.js",
Expand Down
7 changes: 1 addition & 6 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ export * from "./security/Manager.js";
export * from "./security/Manager2.js";
export * from "./security/ctr_drbg.wrapper.js";
export * from "./test/assertZWaveError.js";
export * from "./traits/CommandClasses.js";
export * from "./traits/Endpoints.js";
export type * from "./traits/FileSystem.js";
export * from "./traits/Nodes.js";
export * from "./traits/SecurityClasses.js";
export * from "./traits/SecurityManagers.js";
export type * from "./traits/index.js";
export * from "./util/_Types.js";
export * from "./util/compareVersions.js";
export { deflateSync } from "./util/compression.js";
Expand Down
7 changes: 1 addition & 6 deletions packages/core/src/index_browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ export * from "./registries/Meters.js";
export * from "./registries/Notifications.js";
export * from "./registries/Scales.js";
export * from "./registries/Sensors.js";
export type * from "./traits/CommandClasses.js";
export type * from "./traits/Endpoints.js";
export type * from "./traits/FileSystem.js";
export type * from "./traits/Nodes.js";
export type * from "./traits/SecurityClasses.js";
export type * from "./traits/SecurityManagers.js";
export type * from "./traits/index.js";
export type * from "./util/_Types.js";
export { deflateSync } from "./util/compression.js";
export * from "./util/config.js";
Expand Down
7 changes: 1 addition & 6 deletions packages/core/src/index_safe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ export * from "./registries/Meters.js";
export * from "./registries/Notifications.js";
export * from "./registries/Scales.js";
export * from "./registries/Sensors.js";
export * from "./traits/CommandClasses.js";
export * from "./traits/Endpoints.js";
export type * from "./traits/FileSystem.js";
export type * from "./traits/Nodes.js";
export type * from "./traits/SecurityClasses.js";
export type * from "./traits/SecurityManagers.js";
export type * from "./traits/index.js";
export * from "./util/_Types.js";
export { deflateSync } from "./util/compression.js";
export * from "./util/config.js";
Expand Down
6 changes: 6 additions & 0 deletions packages/core/src/traits/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export type * from "./CommandClasses.js";
export type * from "./Endpoints.js";
export type * from "./FileSystem.js";
export type * from "./Nodes.js";
export type * from "./SecurityClasses.js";
export type * from "./SecurityManagers.js";
1 change: 1 addition & 0 deletions packages/zwave-js/src/index_safe.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* @forbiddenImports external */

// eslint-disable-next-line @zwave-js/no-forbidden-imports -- FIXME: This is actually wrong, but I need to get the release done
export * from "./Controller_safe.js";
// export * from "./Driver";
export * from "./Error.js";
Expand Down

0 comments on commit 89d1d0d

Please sign in to comment.