Skip to content

Commit

Permalink
fixes for propagating new types to adapter devs (#560)
Browse files Browse the repository at this point in the history
* test types import

* update pack lock

* rm node 14 tests

* address review
  • Loading branch information
foxriver76 committed Jul 19, 2023
1 parent bba4104 commit 18c8a41
Show file tree
Hide file tree
Showing 6 changed files with 837 additions and 983 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
1 change: 1 addition & 0 deletions build/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ExitCodes } from "./exitCodes";
import "@iobroker/types";
export { commonTools } from "./controllerTools";
export * from "./utils";
/**
Expand Down
2 changes: 1 addition & 1 deletion build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exports.EXIT_CODES = exports.getAbsoluteInstanceDataDir = exports.getAbsoluteDef
const path = require("path");
const controllerTools_1 = require("./controllerTools");
const utils = require("./utils");
/* eslint-disable @typescript-eslint/no-var-requires */
require("@iobroker/types");
// Export utility methods to be used in adapters
var controllerTools_2 = require("./controllerTools");
Object.defineProperty(exports, "commonTools", { enumerable: true, get: function () { return controllerTools_2.commonTools; } });
Expand Down
Loading

0 comments on commit 18c8a41

Please sign in to comment.