@iobroker/legacy-testing 1.0.8 → 1.0.9
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/README.md +3 -0
- package/package.json +1 -1
- package/setup.js +2 -2
package/README.md
CHANGED
|
@@ -14,6 +14,9 @@ Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-46
|
|
|
14
14
|
|
|
15
15
|
## Changelog
|
|
16
16
|
<!-- ### **WORK IN PROGRESS** -->
|
|
17
|
+
### 1.0.9 (2023-12-19)
|
|
18
|
+
* (foxriver76) create folder on initialization
|
|
19
|
+
|
|
17
20
|
### 1.0.8 (2023-12-19)
|
|
18
21
|
* (foxriver76) use hardcoded appName instead of inference with a heuristic approach
|
|
19
22
|
|
package/package.json
CHANGED
package/setup.js
CHANGED
|
@@ -35,6 +35,8 @@ initialize();
|
|
|
35
35
|
function initialize() {
|
|
36
36
|
pkg = require(`${rootDir}package.json`);
|
|
37
37
|
pkg.main = pkg.main || 'main.js';
|
|
38
|
+
|
|
39
|
+
!fs.existsSync(`${rootDir}tmp`) && fs.mkdirSync(`${rootDir}tmp`);
|
|
38
40
|
}
|
|
39
41
|
|
|
40
42
|
/** Lowercase application name */
|
|
@@ -106,8 +108,6 @@ function copyFolderRecursiveSync(source, target, ignore) {
|
|
|
106
108
|
}
|
|
107
109
|
}
|
|
108
110
|
|
|
109
|
-
!fs.existsSync(`${rootDir}tmp`) && fs.mkdirSync(`${rootDir}tmp`);
|
|
110
|
-
|
|
111
111
|
async function storeOriginalFiles() {
|
|
112
112
|
console.log('Store original files...');
|
|
113
113
|
const dataDir = `${rootDir}tmp/${appName}-data/`;
|