fleetfizz 0.2.3 → 0.4.0

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.
@@ -31719,7 +31719,7 @@ const runWith = (command, config) => {
31719
31719
  };
31720
31720
  //#endregion
31721
31721
  //#region package.json
31722
- var version = "0.2.3";
31722
+ var version = "0.4.0";
31723
31723
  //#endregion
31724
31724
  //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Ref.js
31725
31725
  /**
@@ -34623,8 +34623,8 @@ const fleetConfigJsonSchema = () => {
34623
34623
  };
34624
34624
  //#endregion
34625
34625
  //#region ../../packages/config/src/load.ts
34626
- const CONFIG_FILE = "fleet.config.jsonc";
34627
- const SCHEMA_FILE = "fleet.schema.json";
34626
+ const CONFIG_FILE = "config.jsonc";
34627
+ const SCHEMA_FILE = "schema.json";
34628
34628
  const configDir = (env) => `${env.XDG_CONFIG_HOME || `${env.HOME ?? "~"}/.config`}/fleetfizz`;
34629
34629
  const configPath = (env) => `${configDir(env)}/${CONFIG_FILE}`;
34630
34630
  var ConfigError = class extends TaggedError()("ConfigError", {
@@ -35915,7 +35915,7 @@ const shipCommand = make$1("ship", {
35915
35915
  bump: Boolean$1("bump").pipe(withDefault(false), withDescription$1("Answer every above-range question by bumping the config.")),
35916
35916
  enforce: Boolean$1("enforce").pipe(withDefault(false), withDescription$1("Answer every above-range question by downgrading into the range.")),
35917
35917
  overwriteConfig: Boolean$1("overwrite-config").pipe(withDefault(false), withDescription$1("Ship even when another Machine holds a newer config, overwriting it with this one.")),
35918
- config: String$1("config").pipe(optional, withDescription$1("Config file. Default: $XDG_CONFIG_HOME/fleetfizz/fleet.config.jsonc."))
35918
+ config: String$1("config").pipe(optional, withDescription$1("Config file. Default: $XDG_CONFIG_HOME/fleetfizz/config.jsonc."))
35919
35919
  }).pipe(withDescription("Ship the config to every reachable Machine."), withHandler((flags) => ship({
35920
35920
  dryRun: flags.dryRun,
35921
35921
  only: flags.only,
@@ -35929,6 +35929,6 @@ const shipCommand = make$1("ship", {
35929
35929
  yield* error(e.message);
35930
35930
  process.exitCode = 1;
35931
35931
  })))));
35932
- run(make$1("fleetfizz").pipe(withDescription("Keep every Machine on your tailnet in line with one config."), withSubcommands([shipCommand])), { version }).pipe(provide(layer), runMain);
35932
+ run(make$1("fizz").pipe(withDescription("Keep every Machine on your tailnet in line with one config."), withSubcommands([shipCommand])), { version }).pipe(provide(layer), runMain);
35933
35933
  //#endregion
35934
35934
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetfizz",
3
- "version": "0.2.3",
3
+ "version": "0.4.0",
4
4
  "description": "Keep every Machine on your tailnet in line with one config.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -9,11 +9,11 @@
9
9
  "directory": "apps/cli"
10
10
  },
11
11
  "bin": {
12
- "fleetfizz": "./dist/fleetfizz.mjs"
12
+ "fizz": "./dist/fleetfizz.mjs"
13
13
  },
14
14
  "files": [
15
15
  "dist",
16
- "fleet.schema.json"
16
+ "schema.json"
17
17
  ],
18
18
  "type": "module",
19
19
  "publishConfig": {
File without changes