fleetfizz 0.3.0 → 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.
package/dist/fleetfizz.mjs
CHANGED
|
@@ -31719,7 +31719,7 @@ const runWith = (command, config) => {
|
|
|
31719
31719
|
};
|
|
31720
31720
|
//#endregion
|
|
31721
31721
|
//#region package.json
|
|
31722
|
-
var version = "0.
|
|
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 = "
|
|
34627
|
-
const SCHEMA_FILE = "
|
|
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/
|
|
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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fleetfizz",
|
|
3
|
-
"version": "0.
|
|
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": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"dist",
|
|
16
|
-
"
|
|
16
|
+
"schema.json"
|
|
17
17
|
],
|
|
18
18
|
"type": "module",
|
|
19
19
|
"publishConfig": {
|
|
File without changes
|