Skip to content

Commit

Permalink
* prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Mar 24, 2023
1 parent 34c5b5d commit 79a5341
Show file tree
Hide file tree
Showing 6 changed files with 292 additions and 640 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+-**"
pull_request: {}

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
# Runs unit tests on all supported node versions and OSes
unit-tests:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ And the following **modules** are exposed:
- `commonTools.letsEncrypt` - Previously exposed as `lib/letsencrypt.js` in JS-Controller. Note that `letsEncrypt` has a capital `E`!
- `commonTools.session` - Previously exposed as `lib/session.js` in JS-Controller.
- `commonTools.zipFiles` - Previously exposed as `lib/zipFiles.js` in JS-Controller.
- `commonTools.isDocker` - Checks if we are running inside a docker container

## Automatic backup of data files

Expand Down
2 changes: 1 addition & 1 deletion build/exitCodes.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export declare type ExitCodes = Readonly<{
export type ExitCodes = Readonly<{
NO_ERROR: number;
JS_CONTROLLER_STOPPED: number;
INVALID_ADAPTER_CONFIG: number;
Expand Down
2 changes: 1 addition & 1 deletion build/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface AdapterInstance<HasObjectsCache extends boolean | undefined = u
oStates: HasStatesCache extends true ? Exclude<ioBroker.Adapter["oStates"], undefined> : undefined;
}
/** This type augments the ioBroker Adapter options to accept two generics for the objects and states cache */
export declare type AdapterOptions<HasObjectsCache extends boolean | undefined = undefined, HasStatesCache extends boolean | undefined = undefined> = Omit<ioBroker.AdapterOptions, "objects" | "states"> & (true extends HasObjectsCache ? {
export type AdapterOptions<HasObjectsCache extends boolean | undefined = undefined, HasStatesCache extends boolean | undefined = undefined> = Omit<ioBroker.AdapterOptions, "objects" | "states"> & (true extends HasObjectsCache ? {
objects: true;
} : {
objects?: HasObjectsCache;
Expand Down
Loading

0 comments on commit 79a5341

Please sign in to comment.