@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.
@@ -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.4",
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.6.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
+ }
@@ -74,7 +74,7 @@ dotpi_module_uninstall=()
74
74
 
75
75
  # system default
76
76
  dotpi_module_install_default=(
77
- # '@dotpi/module' is already installed to bootstrap
77
+ # '@dotpi/module-module' is already installed to bootstrap
78
78
  '@dotpi/avahi-monitor-module'
79
79
  )
80
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotpi/tools",
3
- "version": "2.5.3",
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": "b70e8203e04971837fe44e8b43b64b92cb9ecc61"
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
-