mise-projen 0.0.41 → 0.0.42

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
@@ -11741,6 +11741,7 @@ const settingsShims: SettingsShims = { ... }
11741
11741
  | **Name** | **Type** | **Description** |
11742
11742
  | --- | --- | --- |
11743
11743
  | <code><a href="#mise-projen.SettingsShims.property.exclude">exclude</a></code> | <code>string[]</code> | Command names that mise never creates shims for, so they resolve to whatever else is on `PATH`. |
11744
+ | <code><a href="#mise-projen.SettingsShims.property.fallbackToInstalled">fallbackToInstalled</a></code> | <code>boolean</code> | Let a shim run the latest installed version of a tool that no config file selects. |
11744
11745
 
11745
11746
  ---
11746
11747
 
@@ -11756,6 +11757,18 @@ Command names that mise never creates shims for, so they resolve to whatever els
11756
11757
 
11757
11758
  ---
11758
11759
 
11760
+ ##### `fallbackToInstalled`<sup>Optional</sup> <a name="fallbackToInstalled" id="mise-projen.SettingsShims.property.fallbackToInstalled"></a>
11761
+
11762
+ ```typescript
11763
+ public readonly fallbackToInstalled: boolean;
11764
+ ```
11765
+
11766
+ - *Type:* boolean
11767
+
11768
+ Let a shim run the latest installed version of a tool that no config file selects.
11769
+
11770
+ ---
11771
+
11759
11772
  ### SettingsSkills <a name="SettingsSkills" id="mise-projen.SettingsSkills"></a>
11760
11773
 
11761
11774
  #### Initializer <a name="Initializer" id="mise-projen.SettingsSkills.Initializer"></a>
package/lib/index.js CHANGED
@@ -57,7 +57,7 @@ __exportStar(require("./types"), exports);
57
57
  * project.with(new Mise({ config: { tools: { node: ['24'] } } }));
58
58
  */
59
59
  class Mise {
60
- static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.41" };
60
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.42" };
61
61
  fileName;
62
62
  config;
63
63
  autoDiscover;
@@ -3466,6 +3466,12 @@ export interface SettingsShims {
3466
3466
  * @schema SettingsShims#exclude
3467
3467
  */
3468
3468
  readonly exclude?: string[];
3469
+ /**
3470
+ * Let a shim run the latest installed version of a tool that no config file selects.
3471
+ *
3472
+ * @schema SettingsShims#fallback_to_installed
3473
+ */
3474
+ readonly fallbackToInstalled?: boolean;
3469
3475
  }
3470
3476
  /**
3471
3477
  * Converts an object of type 'SettingsShims' to JSON representation.