@dotpi/tools 2.5.3 → 2.6.1
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/dotpi_root/bin/dotpi_prepare_system +1 -1
- package/dotpi_root/dist/@dotpi/{avahi-monitor → avahi-monitor-module}/package.json +2 -3
- package/dotpi_root/dist/@dotpi/module/package.json +1 -7
- package/dotpi_root/dist/@dotpi/module-module/bin/dotpi_module +14 -0
- package/dotpi_root/dist/@dotpi/module-module/package.json +18 -0
- package/dotpi_root/etc/dotpi_environment_default.bash +1 -1
- package/package.json +2 -2
- package/dotpi_root/dist/@dotpi/module/bin/dotpi_module +0 -13
- /package/dotpi_root/dist/@dotpi/{avahi-monitor → avahi-monitor-module}/dotpi-avahi-monitor-command +0 -0
- /package/dotpi_root/dist/@dotpi/{avahi-monitor → avahi-monitor-module}/dotpi-avahi-monitor.service +0 -0
- /package/dotpi_root/dist/@dotpi/{avahi-monitor → avahi-monitor-module}/dotpi_install +0 -0
- /package/dotpi_root/dist/@dotpi/{avahi-monitor → avahi-monitor-module}/dotpi_uninstall +0 -0
- /package/dotpi_root/dist/@dotpi/{avahi-monitor → module-module}/LICENSE +0 -0
- /package/dotpi_root/dist/@dotpi/{module → module-module}/dotpi_install +0 -0
- /package/dotpi_root/dist/@dotpi/{module → module-module}/dotpi_uninstall +0 -0
|
@@ -165,7 +165,7 @@ sudo loginctl enable-linger "$FIRSTUSER" || {
|
|
|
165
165
|
############# dotpi module manager
|
|
166
166
|
|
|
167
167
|
# bootstrap-install
|
|
168
|
-
module_name="@dotpi/module"
|
|
168
|
+
module_name="@dotpi/module-module"
|
|
169
169
|
source_path="${DOTPI_ROOT}/dist/${module_name}"
|
|
170
170
|
destination_prefix="${DOTPI_ROOT}/lib"
|
|
171
171
|
destination_path="${destination_prefix}/node_modules/${module_name}"
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotpi/avahi-monitor-module",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "A tool to monitor and restart Avahi service",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "./dotpi_install",
|
|
7
7
|
"preuninstall": "./dotpi_uninstall"
|
|
8
8
|
},
|
|
9
|
-
"license": "BSD-3-clause"
|
|
10
|
-
"gitHead": "b70e8203e04971837fe44e8b43b64b92cb9ecc61"
|
|
9
|
+
"license": "BSD-3-clause"
|
|
11
10
|
}
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotpi/module",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "dotpi module management",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin": "./bin/dotpi_module",
|
|
7
6
|
"exports": {
|
|
8
7
|
"./*.js": "./src/*.js"
|
|
9
8
|
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"postinstall": "./dotpi_install",
|
|
12
|
-
"preuninstall": "./dotpi_uninstall"
|
|
13
|
-
},
|
|
14
9
|
"license": "BSD-3-clause",
|
|
15
10
|
"dependencies": {
|
|
16
11
|
"@dotpi/javascript": "^1.5.0",
|
|
17
|
-
"commander": "^12.1.0",
|
|
18
12
|
"execa": "^9.5.2",
|
|
19
13
|
"globby": "^14.0.2"
|
|
20
14
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { program } from 'commander';
|
|
4
|
+
|
|
5
|
+
import { installCommandDefine } from '@dotpi/module/install.js';
|
|
6
|
+
import { uninstallCommandDefine } from '@dotpi/module/uninstall.js';
|
|
7
|
+
import { createConfigCommandDefine } from '@dotpi/module/createConfig.js';
|
|
8
|
+
|
|
9
|
+
installCommandDefine({ program });
|
|
10
|
+
uninstallCommandDefine({ program });
|
|
11
|
+
createConfigCommandDefine({ program });
|
|
12
|
+
|
|
13
|
+
program.parse();
|
|
14
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dotpi/module-module",
|
|
3
|
+
"version": "1.7.1",
|
|
4
|
+
"description": "dotpi module management",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": "./bin/dotpi_module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"postinstall": "./dotpi_install",
|
|
9
|
+
"preuninstall": "./dotpi_uninstall"
|
|
10
|
+
},
|
|
11
|
+
"license": "BSD-3-clause",
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@dotpi/javascript": "^1.5.0",
|
|
14
|
+
"@dotpi/module": "^1.6.1",
|
|
15
|
+
"commander": "^12.1.0"
|
|
16
|
+
},
|
|
17
|
+
"gitHead": "e3aac26518ffac91ee009e965adac7985fc1fe56"
|
|
18
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotpi/tools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "Set of scripts for managing dotpi fleets of Raspberry Pi",
|
|
5
5
|
"author": "Jean-Philippe Lambert",
|
|
6
6
|
"contributors": [
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"lerna": "^8.1.9"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "e3aac26518ffac91ee009e965adac7985fc1fe56"
|
|
45
45
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { program } from 'commander';
|
|
3
|
-
|
|
4
|
-
import { installCommandDefine } from '../src/install.js';
|
|
5
|
-
import { uninstallCommandDefine } from '../src/uninstall.js';
|
|
6
|
-
import { createConfigCommandDefine } from '../src/createConfig.js';
|
|
7
|
-
|
|
8
|
-
installCommandDefine({ program });
|
|
9
|
-
uninstallCommandDefine({ program });
|
|
10
|
-
createConfigCommandDefine({ program });
|
|
11
|
-
|
|
12
|
-
program.parse();
|
|
13
|
-
|
/package/dotpi_root/dist/@dotpi/{avahi-monitor → avahi-monitor-module}/dotpi-avahi-monitor-command
RENAMED
|
File without changes
|
/package/dotpi_root/dist/@dotpi/{avahi-monitor → avahi-monitor-module}/dotpi-avahi-monitor.service
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|