fleetfizz 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/fleetfizz.mjs +12 -5
  2. package/package.json +1 -1
@@ -31719,7 +31719,7 @@ const runWith = (command, config) => {
31719
31719
  };
31720
31720
  //#endregion
31721
31721
  //#region package.json
31722
- var version = "0.2.1";
31722
+ var version = "0.2.2";
31723
31723
  //#endregion
31724
31724
  //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Ref.js
31725
31725
  /**
@@ -35130,7 +35130,16 @@ const quotePath = (path) => {
35130
35130
  if (path.startsWith("~/")) return `"$HOME"${quote(path.slice(1))}`;
35131
35131
  return quote(path);
35132
35132
  };
35133
- const prelude = [`ff_json() { printf '%s' "$1" | sed -e 's/\\\\/\\\\\\\\/g' -e 's/"/\\\\"/g' | tr -d '\\n'; }`, `ff_state() { printf 'ff-state %s\\n' "$1"; }`].join("\n");
35133
+ const vpEnv = [
35134
+ `ff_env="\${XDG_CONFIG_HOME:-$HOME/.config}/vite-plus/env"`,
35135
+ `{ [ ! -f "$ff_env" ] || . "$ff_env"; }`,
35136
+ `export PATH="\${VP_HOME:-$HOME/.vite-plus}/bin:\${XDG_DATA_HOME:-$HOME/.local/share}/vite-plus/bin:$PATH"`
35137
+ ].join("\n");
35138
+ const prelude = [
35139
+ vpEnv,
35140
+ `ff_json() { printf '%s' "$1" | sed -e 's/\\\\/\\\\\\\\/g' -e 's/"/\\\\"/g' | tr -d '\\n'; }`,
35141
+ `ff_state() { printf 'ff-state %s\\n' "$1"; }`
35142
+ ].join("\n");
35134
35143
  const fingerprintFn = [
35135
35144
  "ff_fp() {",
35136
35145
  " if [ -L \"$1\" ]; then printf 'link:%s' \"$(readlink \"$1\")\";",
@@ -35223,9 +35232,7 @@ const vpStepId = (step) => step.kind === "reinstall" ? `vp:reinstall:${step.name
35223
35232
  const CONFIG_STEP = "config";
35224
35233
  const VP_INSTALL = [
35225
35234
  "curl -fsSL https://vite.plus | bash",
35226
- `ff_env="\${XDG_CONFIG_HOME:-$HOME/.config}/vite-plus/env"`,
35227
- `{ [ ! -f "$ff_env" ] || . "$ff_env"; }`,
35228
- `export PATH="\${VP_HOME:-$HOME/.vite-plus}/bin:\${XDG_DATA_HOME:-$HOME/.local/share}/vite-plus/bin:$PATH"`,
35235
+ ...vpEnv.split("\n"),
35229
35236
  "{ hash -r 2>/dev/null || true; }"
35230
35237
  ].join(" && ");
35231
35238
  const vpStep = (step) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetfizz",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Keep every Machine on your tailnet in line with one config.",
5
5
  "license": "MIT",
6
6
  "repository": {