@iobroker/js-controller-common 4.0.9 → 4.0.10-alpha.0-20220215-d0ea36a4
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/lib/common/tools.js +2 -1
- package/package.json +2 -2
package/lib/common/tools.js
CHANGED
|
@@ -1569,6 +1569,7 @@ async function uninstallNodeModule(packageName, options = {}) {
|
|
|
1569
1569
|
* @typedef {object} RebuildNodeModulesOptions
|
|
1570
1570
|
* @property {boolean} [debug] Whether to include `stderr` in the output and increase the loglevel to include more than errors
|
|
1571
1571
|
* @property {string} [cwd] Which directory to work in. If none is given, this defaults to ioBroker's root directory.
|
|
1572
|
+
* @property {string} [module] single module which needs rebuild, can contain version too like module@version
|
|
1572
1573
|
*/
|
|
1573
1574
|
|
|
1574
1575
|
/**
|
|
@@ -1596,7 +1597,7 @@ async function rebuildNodeModules(options = {}) {
|
|
|
1596
1597
|
pipeLinewise(stdout, process.stdout);
|
|
1597
1598
|
}
|
|
1598
1599
|
|
|
1599
|
-
return pak.rebuild();
|
|
1600
|
+
return pak.rebuild(options.module ? [options.module] : undefined);
|
|
1600
1601
|
}
|
|
1601
1602
|
|
|
1602
1603
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iobroker/js-controller-common",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10-alpha.0-20220215-d0ea36a4",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=12.0.0"
|
|
6
6
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"lib/",
|
|
48
48
|
"index.js"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8ee77b56657440ca4bf8396d1abb8b063a48c802"
|
|
51
51
|
}
|