@iobroker/legacy-testing 2.0.0 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022-2024 bluefox <dogafox@gmail.com>
3
+ Copyright (c) 2022-2025 bluefox <dogafox@gmail.com>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -13,11 +13,17 @@ Legacy test modules for ioBroker
13
13
 
14
14
  ## Usage of the specific js-controller version
15
15
 
16
- Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-464b0fd6`
16
+ Set `process.env.JS_CONTROLLER_VERSION` to version e.g. `5.0.5-alpha.0-20230617-464b0fd6`
17
17
 
18
18
  ## Changelog
19
19
 
20
20
  <!-- ### **WORK IN PROGRESS** -->
21
+ ### 2.0.2 (2025-01-21)
22
+ - (@GermanBluefox) Packages were updated
23
+
24
+ ### 2.0.1 (2024-11-07)
25
+ - (bluefox) Added the step to upload of the admin files after installation
26
+
21
27
  ### 2.0.0 (2024-11-05)
22
28
 
23
29
  - (bluefox) Function names for GUI tests were changed: startIoBrokerAdmin => startIoBrokerAdapters, stopIoBrokerAdmin => stopIoBrokerAdapters
@@ -103,7 +109,7 @@ Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-46
103
109
 
104
110
  MIT License
105
111
 
106
- Copyright (c) 2022-2024 bluefox <dogafox@gmail.com>
112
+ Copyright (c) 2022-2025 bluefox <dogafox@gmail.com>
107
113
 
108
114
  Permission is hereby granted, free of charge, to any person obtaining a copy
109
115
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0",
2
+ "version": "2.0.2",
3
3
  "name": "@iobroker/legacy-testing",
4
4
  "main": "setup.js",
5
5
  "files": [
@@ -26,13 +26,13 @@
26
26
  "email": "dogafox@gmail.com"
27
27
  },
28
28
  "dependencies": {
29
- "mocha": "^10.8.2",
29
+ "mocha": "^11.0.1",
30
30
  "chai": "^4.5.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@alcalzone/release-script": "^3.8.0",
34
34
  "@alcalzone/release-script-plugin-license": "^3.7.0",
35
- "@iobroker/eslint-config": "^0.1.6"
35
+ "@iobroker/eslint-config": "^1.0.0"
36
36
  },
37
37
  "scripts": {
38
38
  "release": "release-script",
package/setup.js CHANGED
@@ -516,6 +516,14 @@ function copyAdapterToController() {
516
516
  stdio: [0, 1, 2],
517
517
  });
518
518
  console.log('Adapter copied.');
519
+
520
+ // update admin files
521
+ execSync(`node ${rootDir}tmp/node_modules/${appName}.js-controller/iobroker.js upload ${pkg.name.replace('iobroker.', '')}`, {
522
+ cwd: `${rootDir}tmp`,
523
+ stdio: [0, 1, 2],
524
+ });
525
+
526
+ console.log('Adapter uploaded.');
519
527
  }
520
528
 
521
529
  function installCustomAdapter(adapterName) {