@3-/srv-linux 0.1.14 → 0.1.16

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @3-/srv-linux
2
2
 
3
+ ## 0.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - auto update
8
+
9
+ ## 0.1.15
10
+
11
+ ### Patch Changes
12
+
13
+ - auto update
14
+
3
15
  ## 0.1.14
4
16
 
5
17
  ### Patch Changes
package/install.js CHANGED
@@ -1,15 +1,14 @@
1
1
  import { homedir } from "os";
2
2
  import { join } from "path";
3
3
  import { $ } from "./init.js";
4
- import gen from "@3-/srv-obj-replace/gen.js";
4
+ import gen from "@3-/obj_replace/gen.js";
5
5
 
6
- export default async ({ name, scriptPath: script_path }) => {
7
- const { execPath: exec_path } = process,
8
- systemd_dir = join(homedir(), ".config", "systemd", "user"),
6
+ export default async (name, exec_path, args) => {
7
+ const systemd_dir = join(homedir(), ".config", "systemd", "user"),
9
8
  service_path = join(systemd_dir, `${name}.service`);
10
9
 
11
10
  gen(
12
- { name, execPath: exec_path, scriptPath: script_path },
11
+ { name, execPath: exec_path, scriptPath: args },
13
12
  join(import.meta.dirname, "systemd.service"),
14
13
  service_path
15
14
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3-/srv-linux",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -10,7 +10,7 @@
10
10
  "./uninstall.js": "./uninstall.js"
11
11
  },
12
12
  "dependencies": {
13
- "@3-/srv-obj-replace": "^0.1.11",
13
+ "@3-/obj_replace": "^0.1.0",
14
14
  "zx": "^8.8.5"
15
15
  },
16
16
  "repository": "https://github.com/i18n-site/lib/tree/dev",
package/uninstall.js CHANGED
@@ -3,7 +3,7 @@ import { homedir } from "os";
3
3
  import { join } from "path";
4
4
  import { $ } from "./init.js";
5
5
 
6
- export default async ({ name }) => {
6
+ export default async (name) => {
7
7
  const systemd_dir = join(homedir(), ".config", "systemd", "user"),
8
8
  service_path = join(systemd_dir, `${name}.service`);
9
9