mise-projen 0.0.44 → 0.0.45

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
@@ -12540,6 +12540,7 @@ const settingsTask: SettingsTask = { ... }
12540
12540
  | <code><a href="#mise-projen.SettingsTask.property.disableSpecFromRunScripts">disableSpecFromRunScripts</a></code> | <code>boolean</code> | Build task usage specs only from the `usage` field, ignoring deprecated `arg()`, `option()` and `flag()` in run scripts. |
12541
12541
  | <code><a href="#mise-projen.SettingsTask.property.history">history</a></code> | <code>boolean</code> | Record each task run's duration and result for `mise tasks history`. |
12542
12542
  | <code><a href="#mise-projen.SettingsTask.property.historyLimit">historyLimit</a></code> | <code>number</code> | How many recent runs of each task `mise tasks history` keeps. |
12543
+ | <code><a href="#mise-projen.SettingsTask.property.lockPools">lockPools</a></code> | <code>{[ key: string ]: string}</code> | How many slots each named task `lock` has, for locks that several runs hold at once. |
12543
12544
  | <code><a href="#mise-projen.SettingsTask.property.lockTimeout">lockTimeout</a></code> | <code>string</code> | How long a task waits for a lock another run holds before it fails. |
12544
12545
  | <code><a href="#mise-projen.SettingsTask.property.logs">logs</a></code> | <code>boolean</code> | Keep the output of each task's last run, for `mise tasks log`. |
12545
12546
  | <code><a href="#mise-projen.SettingsTask.property.monorepoDepth">monorepoDepth</a></code> | <code>number</code> | Maximum directory depth for automatic monorepo discovery, which is deprecated. |
@@ -12737,6 +12738,18 @@ How many recent runs of each task `mise tasks history` keeps.
12737
12738
 
12738
12739
  ---
12739
12740
 
12741
+ ##### `lockPools`<sup>Optional</sup> <a name="lockPools" id="mise-projen.SettingsTask.property.lockPools"></a>
12742
+
12743
+ ```typescript
12744
+ public readonly lockPools: {[ key: string ]: string};
12745
+ ```
12746
+
12747
+ - *Type:* {[ key: string ]: string}
12748
+
12749
+ How many slots each named task `lock` has, for locks that several runs hold at once.
12750
+
12751
+ ---
12752
+
12740
12753
  ##### `lockTimeout`<sup>Optional</sup> <a name="lockTimeout" id="mise-projen.SettingsTask.property.lockTimeout"></a>
12741
12754
 
12742
12755
  ```typescript
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.44" };
60
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.45" };
61
61
  fileName;
62
62
  config;
63
63
  autoDiscover;
@@ -3795,6 +3795,14 @@ export interface SettingsTask {
3795
3795
  * @schema SettingsTask#history_limit
3796
3796
  */
3797
3797
  readonly historyLimit?: number;
3798
+ /**
3799
+ * How many slots each named task `lock` has, for locks that several runs hold at once.
3800
+ *
3801
+ * @schema SettingsTask#lock_pools
3802
+ */
3803
+ readonly lockPools?: {
3804
+ [key: string]: string;
3805
+ };
3798
3806
  /**
3799
3807
  * How long a task waits for a lock another run holds before it fails.
3800
3808
  *