mise-projen 0.0.35 → 0.0.37

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
@@ -11983,7 +11983,10 @@ const settingsTask: SettingsTask = { ... }
11983
11983
  | <code><a href="#mise-projen.SettingsTask.property.cacheRemoteUrl">cacheRemoteUrl</a></code> | <code>string</code> | Deprecated alias for `task.cache.remote_url`. |
11984
11984
  | <code><a href="#mise-projen.SettingsTask.property.disablePaths">disablePaths</a></code> | <code>string[]</code> | Paths that mise does not look for tasks in. |
11985
11985
  | <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. |
11986
+ | <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`. |
11987
+ | <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. |
11986
11988
  | <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. |
11989
+ | <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`. |
11987
11990
  | <code><a href="#mise-projen.SettingsTask.property.monorepoDepth">monorepoDepth</a></code> | <code>number</code> | Maximum directory depth for automatic monorepo discovery, which is deprecated. |
11988
11991
  | <code><a href="#mise-projen.SettingsTask.property.monorepoExcludeDirs">monorepoExcludeDirs</a></code> | <code>string[]</code> | Directory names that automatic monorepo discovery skips. |
11989
11992
  | <code><a href="#mise-projen.SettingsTask.property.monorepoRespectGitignore">monorepoRespectGitignore</a></code> | <code>boolean</code> | Skip directories that `.gitignore` files ignore during automatic monorepo discovery. |
@@ -12155,6 +12158,30 @@ Build task usage specs only from the `usage` field, ignoring deprecated `arg()`,
12155
12158
 
12156
12159
  ---
12157
12160
 
12161
+ ##### `history`<sup>Optional</sup> <a name="history" id="mise-projen.SettingsTask.property.history"></a>
12162
+
12163
+ ```typescript
12164
+ public readonly history: boolean;
12165
+ ```
12166
+
12167
+ - *Type:* boolean
12168
+
12169
+ Record each task run's duration and result for `mise tasks history`.
12170
+
12171
+ ---
12172
+
12173
+ ##### `historyLimit`<sup>Optional</sup> <a name="historyLimit" id="mise-projen.SettingsTask.property.historyLimit"></a>
12174
+
12175
+ ```typescript
12176
+ public readonly historyLimit: number;
12177
+ ```
12178
+
12179
+ - *Type:* number
12180
+
12181
+ How many recent runs of each task `mise tasks history` keeps.
12182
+
12183
+ ---
12184
+
12158
12185
  ##### `lockTimeout`<sup>Optional</sup> <a name="lockTimeout" id="mise-projen.SettingsTask.property.lockTimeout"></a>
12159
12186
 
12160
12187
  ```typescript
@@ -12167,6 +12194,18 @@ How long a task waits for a lock another run holds before it fails.
12167
12194
 
12168
12195
  ---
12169
12196
 
12197
+ ##### `logs`<sup>Optional</sup> <a name="logs" id="mise-projen.SettingsTask.property.logs"></a>
12198
+
12199
+ ```typescript
12200
+ public readonly logs: boolean;
12201
+ ```
12202
+
12203
+ - *Type:* boolean
12204
+
12205
+ Keep the output of each task's last run, for `mise tasks log`.
12206
+
12207
+ ---
12208
+
12170
12209
  ##### `monorepoDepth`<sup>Optional</sup> <a name="monorepoDepth" id="mise-projen.SettingsTask.property.monorepoDepth"></a>
12171
12210
 
12172
12211
  ```typescript
@@ -15096,6 +15135,7 @@ Default output style for `mise run`.
15096
15135
  | <code><a href="#mise-projen.SettingsTaskOutput.INTERLEAVE">INTERLEAVE</a></code> | interleave. |
15097
15136
  | <code><a href="#mise-projen.SettingsTaskOutput.KEEP_HYPHEN_ORDER">KEEP_HYPHEN_ORDER</a></code> | keep-order. |
15098
15137
  | <code><a href="#mise-projen.SettingsTaskOutput.REPLACING">REPLACING</a></code> | replacing. |
15138
+ | <code><a href="#mise-projen.SettingsTaskOutput.SUMMARY">SUMMARY</a></code> | summary. |
15099
15139
  | <code><a href="#mise-projen.SettingsTaskOutput.TIMED">TIMED</a></code> | timed. |
15100
15140
  | <code><a href="#mise-projen.SettingsTaskOutput.QUIET">QUIET</a></code> | quiet. |
15101
15141
  | <code><a href="#mise-projen.SettingsTaskOutput.SILENT">SILENT</a></code> | silent. |
@@ -15130,6 +15170,13 @@ replacing.
15130
15170
  ---
15131
15171
 
15132
15172
 
15173
+ ##### `SUMMARY` <a name="SUMMARY" id="mise-projen.SettingsTaskOutput.SUMMARY"></a>
15174
+
15175
+ summary.
15176
+
15177
+ ---
15178
+
15179
+
15133
15180
  ##### `TIMED` <a name="TIMED" id="mise-projen.SettingsTaskOutput.TIMED"></a>
15134
15181
 
15135
15182
  timed.
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.35" };
60
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.37" };
61
61
  fileName;
62
62
  config;
63
63
  autoDiscover;
@@ -3747,12 +3747,30 @@ export interface SettingsTask {
3747
3747
  * @schema SettingsTask#disable_spec_from_run_scripts
3748
3748
  */
3749
3749
  readonly disableSpecFromRunScripts?: boolean;
3750
+ /**
3751
+ * Record each task run's duration and result for `mise tasks history`.
3752
+ *
3753
+ * @schema SettingsTask#history
3754
+ */
3755
+ readonly history?: boolean;
3756
+ /**
3757
+ * How many recent runs of each task `mise tasks history` keeps.
3758
+ *
3759
+ * @schema SettingsTask#history_limit
3760
+ */
3761
+ readonly historyLimit?: number;
3750
3762
  /**
3751
3763
  * How long a task waits for a lock another run holds before it fails.
3752
3764
  *
3753
3765
  * @schema SettingsTask#lock_timeout
3754
3766
  */
3755
3767
  readonly lockTimeout?: string;
3768
+ /**
3769
+ * Keep the output of each task's last run, for `mise tasks log`.
3770
+ *
3771
+ * @schema SettingsTask#logs
3772
+ */
3773
+ readonly logs?: boolean;
3756
3774
  /**
3757
3775
  * Maximum directory depth for automatic monorepo discovery, which is deprecated.
3758
3776
  *
@@ -5240,6 +5258,8 @@ export declare enum SettingsTaskOutput {
5240
5258
  KEEP_HYPHEN_ORDER = "keep-order",
5241
5259
  /** replacing */
5242
5260
  REPLACING = "replacing",
5261
+ /** summary */
5262
+ SUMMARY = "summary",
5243
5263
  /** timed */
5244
5264
  TIMED = "timed",
5245
5265
  /** quiet */