mise-projen 0.0.8 → 0.0.9

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.
@@ -90,6 +90,12 @@ export interface MiseTomlSchema {
90
90
  * @schema MiseTomlSchema#min_version
91
91
  */
92
92
  readonly minVersion?: any;
93
+ /**
94
+ * [experimental] Sources for mise secrets: values resolved only when mise starts a task or `mise x` command that was granted them. Project config only.
95
+ *
96
+ * @schema MiseTomlSchema#secrets
97
+ */
98
+ readonly secrets?: MiseTomlSchemaSecrets;
93
99
  /**
94
100
  * env or vars keys to redact from logs
95
101
  *
@@ -304,6 +310,24 @@ export interface Monorepo {
304
310
  * @internal
305
311
  */
306
312
  export declare function toJson_Monorepo(obj: Monorepo | undefined): Record<string, any> | undefined;
313
+ /**
314
+ * [experimental] Sources for mise secrets: values resolved only when mise starts a task or `mise x` command that was granted them. Project config only.
315
+ *
316
+ * @schema MiseTomlSchemaSecrets
317
+ */
318
+ export interface MiseTomlSchemaSecrets {
319
+ /**
320
+ * Use fnox (fnox.toml discovered from this config's directory). https://mise.jdx.dev/environments/secrets/fnox.html
321
+ *
322
+ * @schema MiseTomlSchemaSecrets#fnox
323
+ */
324
+ readonly fnox?: MiseTomlSchemaSecretsFnox;
325
+ }
326
+ /**
327
+ * Converts an object of type 'MiseTomlSchemaSecrets' to JSON representation.
328
+ * @internal
329
+ */
330
+ export declare function toJson_MiseTomlSchemaSecrets(obj: MiseTomlSchemaSecrets | undefined): Record<string, any> | undefined;
307
331
  /**
308
332
  * configure deps providers
309
333
  *
@@ -544,13 +568,13 @@ export interface Settings {
544
568
  */
545
569
  readonly autoInstallDisableTools?: string[];
546
570
  /**
547
- * Automatically update mise before running eligible commands.
571
+ * [deprecated] Use `self_update.auto` instead.
548
572
  *
549
573
  * @schema settings#auto_update
550
574
  */
551
575
  readonly autoUpdate?: boolean;
552
576
  /**
553
- * How often to check for a new mise release when auto-update is enabled.
577
+ * [deprecated] Use `self_update.check_duration` instead.
554
578
  *
555
579
  * @schema settings#auto_update_check_duration
556
580
  */
@@ -887,6 +911,12 @@ export interface Settings {
887
911
  * @schema settings#install_before
888
912
  */
889
913
  readonly installBefore?: string;
914
+ /**
915
+ * [experimental] Name installations by what they are (`identity`) instead of `installs/<tool>/<version>` (`legacy`).
916
+ *
917
+ * @schema settings#install_layout
918
+ */
919
+ readonly installLayout?: SettingsInstallLayout;
890
920
  /**
891
921
  * @schema settings#java
892
922
  */
@@ -945,6 +975,12 @@ export interface Settings {
945
975
  * @schema settings#lockfile
946
976
  */
947
977
  readonly lockfile?: boolean;
978
+ /**
979
+ * Remove lockfile tools that are absent from the active configuration.
980
+ *
981
+ * @schema settings#lockfile_auto_prune
982
+ */
983
+ readonly lockfileAutoPrune?: boolean;
948
984
  /**
949
985
  * Choose incremental merging or complete lockfile generation.
950
986
  *
@@ -1108,6 +1144,10 @@ export interface Settings {
1108
1144
  * @schema settings#provenance_api_failures_fatal
1109
1145
  */
1110
1146
  readonly provenanceApiFailuresFatal?: boolean;
1147
+ /**
1148
+ * @schema settings#prune
1149
+ */
1150
+ readonly prune?: SettingsPrune;
1111
1151
  /**
1112
1152
  * @schema settings#pypi
1113
1153
  */
@@ -1315,6 +1355,10 @@ export interface Settings {
1315
1355
  * @schema settings#terminal_progress
1316
1356
  */
1317
1357
  readonly terminalProgress?: boolean;
1358
+ /**
1359
+ * @schema settings#tool_update
1360
+ */
1361
+ readonly toolUpdate?: SettingsToolUpdate;
1318
1362
  /**
1319
1363
  * Sets log level to trace
1320
1364
  *
@@ -1411,6 +1455,10 @@ export interface Settings {
1411
1455
  * @schema settings#windows_shim_mode
1412
1456
  */
1413
1457
  readonly windowsShimMode?: string;
1458
+ /**
1459
+ * @schema settings#write_targets
1460
+ */
1461
+ readonly writeTargets?: SettingsWriteTargets;
1414
1462
  /**
1415
1463
  * This will automatically answer yes or no to prompts. This is useful for scripting.
1416
1464
  *
@@ -1923,6 +1971,24 @@ export interface MonorepoProjects {
1923
1971
  * @internal
1924
1972
  */
1925
1973
  export declare function toJson_MonorepoProjects(obj: MonorepoProjects | undefined): Record<string, any> | undefined;
1974
+ /**
1975
+ * Use fnox (fnox.toml discovered from this config's directory). https://mise.jdx.dev/environments/secrets/fnox.html
1976
+ *
1977
+ * @schema MiseTomlSchemaSecretsFnox
1978
+ */
1979
+ export interface MiseTomlSchemaSecretsFnox {
1980
+ /**
1981
+ * fnox profile (fnox -P); defaults to FNOX_PROFILE, then "default"
1982
+ *
1983
+ * @schema MiseTomlSchemaSecretsFnox#profile
1984
+ */
1985
+ readonly profile?: string;
1986
+ }
1987
+ /**
1988
+ * Converts an object of type 'MiseTomlSchemaSecretsFnox' to JSON representation.
1989
+ * @internal
1990
+ */
1991
+ export declare function toJson_MiseTomlSchemaSecretsFnox(obj: MiseTomlSchemaSecretsFnox | undefined): Record<string, any> | undefined;
1926
1992
  /**
1927
1993
  * Prepare provider configuration
1928
1994
  *
@@ -2572,6 +2638,17 @@ export interface SettingsHookEnv {
2572
2638
  * @internal
2573
2639
  */
2574
2640
  export declare function toJson_SettingsHookEnv(obj: SettingsHookEnv | undefined): Record<string, any> | undefined;
2641
+ /**
2642
+ * [experimental] Name installations by what they are (`identity`) instead of `installs/<tool>/<version>` (`legacy`).
2643
+ *
2644
+ * @schema SettingsInstallLayout
2645
+ */
2646
+ export declare enum SettingsInstallLayout {
2647
+ /** legacy */
2648
+ LEGACY = "legacy",
2649
+ /** identity */
2650
+ IDENTITY = "identity"
2651
+ }
2575
2652
  /**
2576
2653
  * @schema SettingsJava
2577
2654
  */
@@ -2880,6 +2957,22 @@ export interface SettingsPipx {
2880
2957
  * @internal
2881
2958
  */
2882
2959
  export declare function toJson_SettingsPipx(obj: SettingsPipx | undefined): Record<string, any> | undefined;
2960
+ /**
2961
+ * @schema SettingsPrune
2962
+ */
2963
+ export interface SettingsPrune {
2964
+ /**
2965
+ * Tools that `mise prune` never removes, such as `node` or `aqua:BurntSushi/ripgrep`.
2966
+ *
2967
+ * @schema SettingsPrune#exclude
2968
+ */
2969
+ readonly exclude?: string[];
2970
+ }
2971
+ /**
2972
+ * Converts an object of type 'SettingsPrune' to JSON representation.
2973
+ * @internal
2974
+ */
2975
+ export declare function toJson_SettingsPrune(obj: SettingsPrune | undefined): Record<string, any> | undefined;
2883
2976
  /**
2884
2977
  * @schema SettingsPypi
2885
2978
  */
@@ -3164,6 +3257,18 @@ export interface SettingsSelfUpdate {
3164
3257
  * @schema SettingsSelfUpdate#api_url
3165
3258
  */
3166
3259
  readonly apiUrl?: string;
3260
+ /**
3261
+ * Automatically update mise before running eligible commands.
3262
+ *
3263
+ * @schema SettingsSelfUpdate#auto
3264
+ */
3265
+ readonly auto?: boolean;
3266
+ /**
3267
+ * How often to check for a new mise release when `self_update.auto` is enabled.
3268
+ *
3269
+ * @schema SettingsSelfUpdate#check_duration
3270
+ */
3271
+ readonly checkDuration?: string;
3167
3272
  /**
3168
3273
  * Minimum release age for mise itself; inherits minimum_release_age (24h by default).
3169
3274
  *
@@ -3557,6 +3662,22 @@ export interface SettingsTask {
3557
3662
  * @internal
3558
3663
  */
3559
3664
  export declare function toJson_SettingsTask(obj: SettingsTask | undefined): Record<string, any> | undefined;
3665
+ /**
3666
+ * @schema SettingsToolUpdate
3667
+ */
3668
+ export interface SettingsToolUpdate {
3669
+ /**
3670
+ * How often to check for updates to a global tool with `auto_update = true`.
3671
+ *
3672
+ * @schema SettingsToolUpdate#check_duration
3673
+ */
3674
+ readonly checkDuration?: string;
3675
+ }
3676
+ /**
3677
+ * Converts an object of type 'SettingsToolUpdate' to JSON representation.
3678
+ * @internal
3679
+ */
3680
+ export declare function toJson_SettingsToolUpdate(obj: SettingsToolUpdate | undefined): Record<string, any> | undefined;
3560
3681
  /**
3561
3682
  * @schema SettingsUpgrade
3562
3683
  */
@@ -3579,6 +3700,34 @@ export interface SettingsUpgrade {
3579
3700
  * @internal
3580
3701
  */
3581
3702
  export declare function toJson_SettingsUpgrade(obj: SettingsUpgrade | undefined): Record<string, any> | undefined;
3703
+ /**
3704
+ * @schema SettingsWriteTargets
3705
+ */
3706
+ export interface SettingsWriteTargets {
3707
+ /**
3708
+ * Global config file to create new [dotfiles] entries in. Existing entries stay in the config file that already declares them.
3709
+ *
3710
+ * @schema SettingsWriteTargets#dotfiles
3711
+ */
3712
+ readonly dotfiles?: string;
3713
+ /**
3714
+ * Global config file to create new [bootstrap.packages] entries in. Existing entries stay in the config file that already declares them.
3715
+ *
3716
+ * @schema SettingsWriteTargets#packages
3717
+ */
3718
+ readonly packages?: string;
3719
+ /**
3720
+ * Global config file to create new [tools] entries in. Existing entries stay in the config file that already declares them.
3721
+ *
3722
+ * @schema SettingsWriteTargets#tools
3723
+ */
3724
+ readonly tools?: string;
3725
+ }
3726
+ /**
3727
+ * Converts an object of type 'SettingsWriteTargets' to JSON representation.
3728
+ * @internal
3729
+ */
3730
+ export declare function toJson_SettingsWriteTargets(obj: SettingsWriteTargets | undefined): Record<string, any> | undefined;
3582
3731
  /**
3583
3732
  * @schema SettingsZig
3584
3733
  */
@@ -4700,7 +4849,9 @@ export declare enum MiseTomlSchemaBootstrapServicesScope {
4700
4849
  */
4701
4850
  export declare enum MiseTomlSchemaBootstrapServicesBuiltin {
4702
4851
  /** history-watch */
4703
- HISTORY_HYPHEN_WATCH = "history-watch"
4852
+ HISTORY_HYPHEN_WATCH = "history-watch",
4853
+ /** tool-update */
4854
+ TOOL_HYPHEN_UPDATE = "tool-update"
4704
4855
  }
4705
4856
  /**
4706
4857
  * @schema MiseTomlSchemaBootstrapServicesRestart