mise-projen 0.0.0 → 0.0.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.
package/API.md CHANGED
@@ -4607,6 +4607,7 @@ const miseTomlSchemaHistory: MiseTomlSchemaHistory = { ... }
4607
4607
  | --- | --- | --- |
4608
4608
  | <code><a href="#mise-projen.MiseTomlSchemaHistory.property.encryption">encryption</a></code> | <code><a href="#mise-projen.MiseTomlSchemaHistoryEncryption">MiseTomlSchemaHistoryEncryption</a></code> | *No description.* |
4609
4609
  | <code><a href="#mise-projen.MiseTomlSchemaHistory.property.exclude">exclude</a></code> | <code>string[]</code> | globs never captured by dotfiles history; |
4610
+ | <code><a href="#mise-projen.MiseTomlSchemaHistory.property.gitEmail">gitEmail</a></code> | <code>string</code> | email used for history commit authors and committers; |
4610
4611
  | <code><a href="#mise-projen.MiseTomlSchemaHistory.property.origin">origin</a></code> | <code><a href="#mise-projen.MiseTomlSchemaHistoryOrigin">MiseTomlSchemaHistoryOrigin</a></code> | the setup repository this machine publishes to and fetches from; |
4611
4612
  | <code><a href="#mise-projen.MiseTomlSchemaHistory.property.reload">reload</a></code> | <code>{[ key: string ]: string}</code> | commands run once after a rollback or undo writes a path matching the glob (trusted global or system config only). |
4612
4613
 
@@ -4636,6 +4637,20 @@ a `!glob` entry re-includes a path an earlier glob excluded
4636
4637
 
4637
4638
  ---
4638
4639
 
4640
+ ##### `gitEmail`<sup>Optional</sup> <a name="gitEmail" id="mise-projen.MiseTomlSchemaHistory.property.gitEmail"></a>
4641
+
4642
+ ```typescript
4643
+ public readonly gitEmail: string;
4644
+ ```
4645
+
4646
+ - *Type:* string
4647
+
4648
+ email used for history commit authors and committers;
4649
+
4650
+ {hostname} expands to this machine's hostname
4651
+
4652
+ ---
4653
+
4639
4654
  ##### `origin`<sup>Optional</sup> <a name="origin" id="mise-projen.MiseTomlSchemaHistory.property.origin"></a>
4640
4655
 
4641
4656
  ```typescript
@@ -5253,6 +5268,7 @@ const settings: Settings = { ... }
5253
5268
  | <code><a href="#mise-projen.Settings.property.noEnv">noEnv</a></code> | <code>boolean</code> | Do not load environment variables from config files. |
5254
5269
  | <code><a href="#mise-projen.Settings.property.noHooks">noHooks</a></code> | <code>boolean</code> | Do not execute hooks from config files. |
5255
5270
  | <code><a href="#mise-projen.Settings.property.notFoundAutoInstall">notFoundAutoInstall</a></code> | <code>boolean</code> | Set to false to disable the "command not found" handler to autoinstall missing tool versions. |
5271
+ | <code><a href="#mise-projen.Settings.property.notFoundAutoInstallRegistry">notFoundAutoInstallRegistry</a></code> | <code>boolean</code> | Automatically install an unconfigured tool when its registry bin matches a missing command. |
5256
5272
  | <code><a href="#mise-projen.Settings.property.notFoundSystemFallback">notFoundSystemFallback</a></code> | <code>boolean</code> | Set to false to stop shims from falling back to a same-named binary found elsewhere on PATH. |
5257
5273
  | <code><a href="#mise-projen.Settings.property.npm">npm</a></code> | <code><a href="#mise-projen.SettingsNpm">SettingsNpm</a></code> | *No description.* |
5258
5274
  | <code><a href="#mise-projen.Settings.property.oci">oci</a></code> | <code><a href="#mise-projen.SettingsOci">SettingsOci</a></code> | *No description.* |
@@ -6442,6 +6458,18 @@ Set to false to disable the "command not found" handler to autoinstall missing t
6442
6458
 
6443
6459
  ---
6444
6460
 
6461
+ ##### `notFoundAutoInstallRegistry`<sup>Optional</sup> <a name="notFoundAutoInstallRegistry" id="mise-projen.Settings.property.notFoundAutoInstallRegistry"></a>
6462
+
6463
+ ```typescript
6464
+ public readonly notFoundAutoInstallRegistry: boolean;
6465
+ ```
6466
+
6467
+ - *Type:* boolean
6468
+
6469
+ Automatically install an unconfigured tool when its registry bin matches a missing command.
6470
+
6471
+ ---
6472
+
6445
6473
  ##### `notFoundSystemFallback`<sup>Optional</sup> <a name="notFoundSystemFallback" id="mise-projen.Settings.property.notFoundSystemFallback"></a>
6446
6474
 
6447
6475
  ```typescript
@@ -9636,6 +9664,7 @@ const settingsSelfUpdate: SettingsSelfUpdate = { ... }
9636
9664
  | **Name** | **Type** | **Description** |
9637
9665
  | --- | --- | --- |
9638
9666
  | <code><a href="#mise-projen.SettingsSelfUpdate.property.apiUrl">apiUrl</a></code> | <code>string</code> | GitHub API base URL used by `mise self-update`. |
9667
+ | <code><a href="#mise-projen.SettingsSelfUpdate.property.minimumReleaseAge">minimumReleaseAge</a></code> | <code>string</code> | Minimum release age for mise itself; |
9639
9668
  | <code><a href="#mise-projen.SettingsSelfUpdate.property.repository">repository</a></code> | <code>string</code> | GitHub repository used by `mise self-update`. |
9640
9669
 
9641
9670
  ---
@@ -9652,6 +9681,20 @@ GitHub API base URL used by `mise self-update`.
9652
9681
 
9653
9682
  ---
9654
9683
 
9684
+ ##### `minimumReleaseAge`<sup>Optional</sup> <a name="minimumReleaseAge" id="mise-projen.SettingsSelfUpdate.property.minimumReleaseAge"></a>
9685
+
9686
+ ```typescript
9687
+ public readonly minimumReleaseAge: string;
9688
+ ```
9689
+
9690
+ - *Type:* string
9691
+
9692
+ Minimum release age for mise itself;
9693
+
9694
+ inherits minimum_release_age (24h by default).
9695
+
9696
+ ---
9697
+
9655
9698
  ##### `repository`<sup>Optional</sup> <a name="repository" id="mise-projen.SettingsSelfUpdate.property.repository"></a>
9656
9699
 
9657
9700
  ```typescript
package/lib/index.js CHANGED
@@ -33,7 +33,7 @@ __exportStar(require("./types"), exports);
33
33
  * project.with(new Mise({ config: { tools: { node: ['24'] } } }));
34
34
  */
35
35
  class Mise {
36
- static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.0" };
36
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.2" };
37
37
  fileName;
38
38
  config;
39
39
  constructor(options = {}) {
@@ -989,6 +989,12 @@ export interface Settings {
989
989
  * @schema settings#not_found_auto_install
990
990
  */
991
991
  readonly notFoundAutoInstall?: boolean;
992
+ /**
993
+ * Automatically install an unconfigured tool when its registry bin matches a missing command.
994
+ *
995
+ * @schema settings#not_found_auto_install_registry
996
+ */
997
+ readonly notFoundAutoInstallRegistry?: boolean;
992
998
  /**
993
999
  * Set to false to stop shims from falling back to a same-named binary found elsewhere on PATH.
994
1000
  *
@@ -1525,6 +1531,12 @@ export interface MiseTomlSchemaHistory {
1525
1531
  * @schema MiseTomlSchemaHistory#exclude
1526
1532
  */
1527
1533
  readonly exclude?: string[];
1534
+ /**
1535
+ * email used for history commit authors and committers; {hostname} expands to this machine's hostname
1536
+ *
1537
+ * @schema MiseTomlSchemaHistory#git_email
1538
+ */
1539
+ readonly gitEmail?: string;
1528
1540
  /**
1529
1541
  * commands run once after a rollback or undo writes a path matching the glob (trusted global or system config only)
1530
1542
  *
@@ -3058,6 +3070,12 @@ export interface SettingsSelfUpdate {
3058
3070
  * @schema SettingsSelfUpdate#api_url
3059
3071
  */
3060
3072
  readonly apiUrl?: string;
3073
+ /**
3074
+ * Minimum release age for mise itself; inherits minimum_release_age (24h by default).
3075
+ *
3076
+ * @schema SettingsSelfUpdate#minimum_release_age
3077
+ */
3078
+ readonly minimumReleaseAge?: string;
3061
3079
  /**
3062
3080
  * GitHub repository used by `mise self-update`.
3063
3081
  *