Skip to content

Commit

Permalink
accept baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Jan 5, 2024
1 parent 9c9ff1d commit 9fb7ce4
Show file tree
Hide file tree
Showing 97 changed files with 304 additions and 485 deletions.
45 changes: 0 additions & 45 deletions test/baselines/JS_ES2015/.eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/baselines/JS_LegacyMain/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

/*
* Created with @iobroker/create-adapter v2.4.0
* Created with @iobroker/create-adapter v2.5.0
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/ReleaseScript_JS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ For later updates, the above procedure is not necessary. Just do the following:
## License
MIT License

Copyright (c) 2023 Al Calzone <[email protected]>
Copyright (c) 2024 Al Calzone <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
18 changes: 9 additions & 9 deletions test/baselines/ReleaseScript_JS/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@
"url": "https://github.com/AlCalzone/ioBroker.test-adapter.git"
},
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"dependencies": {
"@iobroker/adapter-core": "^2.6.8"
"@iobroker/adapter-core": "^3.0.4"
},
"devDependencies": {
"@alcalzone/release-script": "^3.5.9",
"@alcalzone/release-script-plugin-iobroker": "^3.5.9",
"@alcalzone/release-script-plugin-license": "^3.5.9",
"@alcalzone/release-script-plugin-manual-review": "^3.5.9",
"@alcalzone/release-script": "^3.7.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.0",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
"@iobroker/adapter-dev": "^1.2.0",
"@iobroker/testing": "^4.1.0",
"chai": "^4.3.7",
"chai": "^5.0.0",
"chai-as-promised": "^7.1.1",
"eslint": "^8.41.0",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"proxyquire": "^2.1.3",
"sinon": "^15.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0"
},
"main": "main.js",
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/ReleaseScript_TS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ For later updates, the above procedure is not necessary. Just do the following:
## License
MIT License

Copyright (c) 2023 Al Calzone <[email protected]>
Copyright (c) 2024 Al Calzone <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
42 changes: 21 additions & 21 deletions test/baselines/ReleaseScript_TS/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,38 @@
"url": "https://github.com/AlCalzone/ioBroker.test-adapter.git"
},
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"dependencies": {
"@iobroker/adapter-core": "^2.6.8"
"@iobroker/adapter-core": "^3.0.4"
},
"devDependencies": {
"@alcalzone/release-script": "^3.5.9",
"@alcalzone/release-script-plugin-iobroker": "^3.5.9",
"@alcalzone/release-script-plugin-license": "^3.5.9",
"@alcalzone/release-script-plugin-manual-review": "^3.5.9",
"@alcalzone/release-script": "^3.7.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.0",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
"@iobroker/adapter-dev": "^1.2.0",
"@iobroker/testing": "^4.1.0",
"@tsconfig/node16": "^1.0.4",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.34",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.15",
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"chai": "^4.3.7",
"@tsconfig/node18": "^18.2.2",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.4",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.2",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"chai": "^5.0.0",
"chai-as-promised": "^7.1.1",
"eslint": "^8.41.0",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"proxyquire": "^2.1.3",
"rimraf": "^5.0.1",
"sinon": "^15.1.0",
"rimraf": "^5.0.5",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"typescript": "~5.0.4"
},
"main": "build/main.js",
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/TS_Prettier/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
root: true, // Don't look outside this project for inherited configs
parser: "@typescript-eslint/parser", // Specifies the ESLint parser
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
ecmaVersion: "latest", // Allows for the parsing of modern ECMAScript features
sourceType: "module", // Allows for the use of imports
project: "./tsconfig.json",
},
Expand Down
40 changes: 20 additions & 20 deletions test/baselines/TS_Prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,37 +19,37 @@
"url": "https://github.com/AlCalzone/ioBroker.test-adapter.git"
},
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"dependencies": {
"@iobroker/adapter-core": "^2.6.8"
"@iobroker/adapter-core": "^3.0.4"
},
"devDependencies": {
"@iobroker/adapter-dev": "^1.2.0",
"@iobroker/testing": "^4.1.0",
"@tsconfig/node16": "^1.0.4",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.34",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.15",
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"chai": "^4.3.7",
"@tsconfig/node18": "^18.2.2",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.4",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.2",
"@types/sinon-chai": "^3.2.12",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"chai": "^5.0.0",
"chai-as-promised": "^7.1.1",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"prettier": "^3.1.1",
"proxyquire": "^2.1.3",
"rimraf": "^5.0.1",
"sinon": "^15.1.0",
"rimraf": "^5.0.5",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"typescript": "~5.0.4"
},
"main": "build/main.js",
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/TS_SingleQuotes/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
root: true, // Don't look outside this project for inherited configs
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
ecmaVersion: 'latest', // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
project: ['./tsconfig.json', './admin/tsconfig.json'],
ecmaFeatures: {
Expand Down
2 changes: 1 addition & 1 deletion test/baselines/TS_SingleQuotes/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Created with @iobroker/create-adapter v2.4.0
* Created with @iobroker/create-adapter v2.5.0
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
"gitCommit": "no",
"defaultBranch": "main",
"license": "Apache License 2.0",
"creatorVersion": "2.4.0"
"creatorVersion": "2.5.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
]
},
"parserOptions": {
"ecmaVersion": 2020
"ecmaVersion": "latest"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Al Calzone
Copyright 2024 Al Calzone

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ For later updates, the above procedure is not necessary. Just do the following:
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Al Calzone
Copyright 2024 Al Calzone

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"extIcon": "https://raw.githubusercontent.com/AlCalzone/ioBroker.test-adapter/main/admin/test-adapter.png",
"readme": "https://github.com/AlCalzone/ioBroker.test-adapter/blob/main/README.md",
"loglevel": "info",
"tier": 3,
"mode": "daemon",
"type": "general",
"compact": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

/*
* Created with @iobroker/create-adapter v2.4.0
* Created with @iobroker/create-adapter v2.5.0
*/

// The adapter-core module gives you access to the core ioBroker functions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@
"url": "https://github.com/AlCalzone/ioBroker.test-adapter.git"
},
"engines": {
"node": ">= 16"
"node": ">= 18"
},
"dependencies": {
"@iobroker/adapter-core": "^2.6.8"
"@iobroker/adapter-core": "^3.0.4"
},
"devDependencies": {
"@iobroker/adapter-dev": "^1.2.0",
"@iobroker/testing": "^4.1.0",
"@tsconfig/node16": "^1.0.4",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.34",
"@types/proxyquire": "^1.3.28",
"@types/sinon": "^10.0.15",
"@types/sinon-chai": "^3.2.9",
"chai": "^4.3.7",
"@tsconfig/node18": "^18.2.2",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^18.19.4",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.2",
"@types/sinon-chai": "^3.2.12",
"chai": "^5.0.0",
"chai-as-promised": "^7.1.1",
"eslint": "^8.41.0",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"proxyquire": "^2.1.3",
"sinon": "^15.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"typescript": "~5.0.4"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Root tsconfig to set the settings and power editor support for all TS files
{
// To update the compilation target, install a different version of @tsconfig/node... and reference it here
// https://github.com/tsconfig/bases#node-16-tsconfigjson
"extends": "@tsconfig/node16/tsconfig.json",
// https://github.com/tsconfig/bases#node-18-tsconfigjson
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
// do not compile anything, this file is just to configure type checking
"noEmit": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
"gitCommit": "no",
"defaultBranch": "main",
"license": "Apache License 2.0",
"creatorVersion": "2.4.0"
"creatorVersion": "2.5.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
]
},
"parserOptions": {
"ecmaVersion": 2020
"ecmaVersion": "latest"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Al Calzone
Copyright 2024 Al Calzone

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 9fb7ce4

Please sign in to comment.