ramm 0.0.45 → 0.0.46

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/dist/ramm.js CHANGED
@@ -123,7 +123,7 @@ var execCommandOverSsh = async (command, context) => {
123
123
  return await execCommand(`ssh${sshKeyPart} ${context.getAddress()} '${command}'`);
124
124
  };
125
125
  // src/init.ts
126
- var installBun = async (context) => {
126
+ var installBunOverSsh = async (context) => {
127
127
  const bunPath = new URL(import.meta.resolve("./bun.sh")).pathname;
128
128
  await copyFilesBySsh(bunPath, "./bun.sh", context);
129
129
  await execCommandOverSsh("./bun.sh", context);
@@ -506,7 +506,7 @@ export {
506
506
  loginPodman,
507
507
  installSystemPackage,
508
508
  installPodman,
509
- installBun,
509
+ installBunOverSsh,
510
510
  getSystemdPathToUnit as getSystemdPathToService,
511
511
  getServerFingerprint,
512
512
  execCommandRaw,
@@ -1,2 +1,2 @@
1
1
  import type { Context } from "./context.ts";
2
- export declare const installBun: (context: Context) => Promise<void>;
2
+ export declare const installBunOverSsh: (context: Context) => Promise<void>;
@@ -1,6 +1,6 @@
1
1
  export { execCommandOverSsh, execCommand, execCommandMayError, copyFilesBySsh, execCommandRaw, } from "./base/base.ts";
2
2
  export { Context } from "./context.ts";
3
- export { installBun } from "./init.ts";
3
+ export { installBunOverSsh } from "./init.ts";
4
4
  export { installPodman, runPodmanContainer, loginPodman } from "./podman.ts";
5
5
  export { runPodmanContainerService, addNftPodmanRule } from "./podman.ts";
6
6
  export { startSystemdUnit, enabledSystemdUnit, restartSystemdUnit, createSystemdService, getSystemdPathToUnit as getSystemdPathToService, createSystemdUnit, reloadSystemd, } from "./systemd.ts";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ramm",
3
3
  "type": "module",
4
- "version": "0.0.45",
4
+ "version": "0.0.46",
5
5
  "scripts": {
6
6
  "build": "bun build ./src/ramm.ts --target bun --outdir ./dist && cp ./src/bun.sh ./dist/bun.sh",
7
7
  "types": "tsc --project tsconfig.types.json"