mise-projen 0.0.24 → 0.0.26
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/.jsii +905 -860
- package/API.md +29 -3
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +14 -2
- package/lib/miseConfig.js +9 -7
- package/lib/miseFile.js +1 -1
- package/package.json +1 -1
- package/schemas/mise.json +15 -1
package/API.md
CHANGED
|
@@ -6769,6 +6769,7 @@ const settings: Settings = { ... }
|
|
|
6769
6769
|
| <code><a href="#mise-projen.Settings.property.erlang">erlang</a></code> | <code><a href="#mise-projen.SettingsErlang">SettingsErlang</a></code> | *No description.* |
|
|
6770
6770
|
| <code><a href="#mise-projen.Settings.property.execAutoInstall">execAutoInstall</a></code> | <code>boolean</code> | Install missing tools automatically when you run `mise exec`. |
|
|
6771
6771
|
| <code><a href="#mise-projen.Settings.property.experimental">experimental</a></code> | <code>boolean</code> | Enable experimental features, which may change or be removed in any release. |
|
|
6772
|
+
| <code><a href="#mise-projen.Settings.property.extractMaxRatio">extractMaxRatio</a></code> | <code>number</code> | How many times its own size a downloaded archive or compressed file may unpack to. |
|
|
6772
6773
|
| <code><a href="#mise-projen.Settings.property.fetchRemoteVersionsCache">fetchRemoteVersionsCache</a></code> | <code>string</code> | How long a tool's cached list of available versions stays fresh. |
|
|
6773
6774
|
| <code><a href="#mise-projen.Settings.property.fetchRemoteVersionsTimeout">fetchRemoteVersionsTimeout</a></code> | <code>string</code> | Timeout for looking up a tool's available versions. |
|
|
6774
6775
|
| <code><a href="#mise-projen.Settings.property.forgejo">forgejo</a></code> | <code><a href="#mise-projen.SettingsForgejo">SettingsForgejo</a></code> | *No description.* |
|
|
@@ -6812,7 +6813,7 @@ const settings: Settings = { ... }
|
|
|
6812
6813
|
| <code><a href="#mise-projen.Settings.property.lockedVerifyProvenance">lockedVerifyProvenance</a></code> | <code>boolean</code> | Re-verify provenance at install time even when the lockfile already records it. |
|
|
6813
6814
|
| <code><a href="#mise-projen.Settings.property.lockfile">lockfile</a></code> | <code>boolean</code> | Create, read and update `mise.lock` lockfiles for tool versions. |
|
|
6814
6815
|
| <code><a href="#mise-projen.Settings.property.lockfileAutoPrune">lockfileAutoPrune</a></code> | <code>boolean</code> | Remove lockfile tools that are absent from the active configuration. |
|
|
6815
|
-
| <code><a href="#mise-projen.Settings.property.lockfileMode">lockfileMode</a></code> | <code><a href="#mise-projen.SettingsLockfileMode">SettingsLockfileMode</a></code> | How lockfiles are written:
|
|
6816
|
+
| <code><a href="#mise-projen.Settings.property.lockfileMode">lockfileMode</a></code> | <code><a href="#mise-projen.SettingsLockfileMode">SettingsLockfileMode</a></code> | How lockfiles are written: rebuilt from the current requests, or entry by entry. |
|
|
6816
6817
|
| <code><a href="#mise-projen.Settings.property.lockfilePlatforms">lockfilePlatforms</a></code> | <code>string[]</code> | Platforms to resolve lockfile URLs and checksums for. |
|
|
6817
6818
|
| <code><a href="#mise-projen.Settings.property.logLevel">logLevel</a></code> | <code><a href="#mise-projen.SettingsLogLevel">SettingsLogLevel</a></code> | Log level for mise's own output. |
|
|
6818
6819
|
| <code><a href="#mise-projen.Settings.property.minimumReleaseAge">minimumReleaseAge</a></code> | <code>string</code> | Skip versions published more recently than this duration or date. |
|
|
@@ -7424,6 +7425,18 @@ Enable experimental features, which may change or be removed in any release.
|
|
|
7424
7425
|
|
|
7425
7426
|
---
|
|
7426
7427
|
|
|
7428
|
+
##### `extractMaxRatio`<sup>Optional</sup> <a name="extractMaxRatio" id="mise-projen.Settings.property.extractMaxRatio"></a>
|
|
7429
|
+
|
|
7430
|
+
```typescript
|
|
7431
|
+
public readonly extractMaxRatio: number;
|
|
7432
|
+
```
|
|
7433
|
+
|
|
7434
|
+
- *Type:* number
|
|
7435
|
+
|
|
7436
|
+
How many times its own size a downloaded archive or compressed file may unpack to.
|
|
7437
|
+
|
|
7438
|
+
---
|
|
7439
|
+
|
|
7427
7440
|
##### `fetchRemoteVersionsCache`<sup>Optional</sup> <a name="fetchRemoteVersionsCache" id="mise-projen.Settings.property.fetchRemoteVersionsCache"></a>
|
|
7428
7441
|
|
|
7429
7442
|
```typescript
|
|
@@ -7946,7 +7959,7 @@ public readonly lockfileMode: SettingsLockfileMode;
|
|
|
7946
7959
|
|
|
7947
7960
|
- *Type:* <a href="#mise-projen.SettingsLockfileMode">SettingsLockfileMode</a>
|
|
7948
7961
|
|
|
7949
|
-
How lockfiles are written:
|
|
7962
|
+
How lockfiles are written: rebuilt from the current requests, or entry by entry.
|
|
7950
7963
|
|
|
7951
7964
|
---
|
|
7952
7965
|
|
|
@@ -9537,6 +9550,7 @@ const settingsGithub: SettingsGithub = { ... }
|
|
|
9537
9550
|
| **Name** | **Type** | **Description** |
|
|
9538
9551
|
| --- | --- | --- |
|
|
9539
9552
|
| <code><a href="#mise-projen.SettingsGithub.property.credentialCommand">credentialCommand</a></code> | <code>string</code> | Command that prints a GitHub token on stdout. |
|
|
9553
|
+
| <code><a href="#mise-projen.SettingsGithub.property.enterpriseHosts">enterpriseHosts</a></code> | <code>string[]</code> | Extra GitHub Enterprise hosts that receive your GitHub token on their `/api/v3` URLs. |
|
|
9540
9554
|
| <code><a href="#mise-projen.SettingsGithub.property.ghCliTokens">ghCliTokens</a></code> | <code>boolean</code> | Read GitHub tokens that the gh CLI stores in its `hosts.yml` file. |
|
|
9541
9555
|
| <code><a href="#mise-projen.SettingsGithub.property.githubAttestations">githubAttestations</a></code> | <code>boolean</code> | Verify GitHub artifact attestations for github backend tools. |
|
|
9542
9556
|
| <code><a href="#mise-projen.SettingsGithub.property.oauthApiUrl">oauthApiUrl</a></code> | <code>string</code> | GitHub API base URL mise uses to validate native OAuth tokens. |
|
|
@@ -9566,6 +9580,18 @@ Command that prints a GitHub token on stdout.
|
|
|
9566
9580
|
|
|
9567
9581
|
---
|
|
9568
9582
|
|
|
9583
|
+
##### `enterpriseHosts`<sup>Optional</sup> <a name="enterpriseHosts" id="mise-projen.SettingsGithub.property.enterpriseHosts"></a>
|
|
9584
|
+
|
|
9585
|
+
```typescript
|
|
9586
|
+
public readonly enterpriseHosts: string[];
|
|
9587
|
+
```
|
|
9588
|
+
|
|
9589
|
+
- *Type:* string[]
|
|
9590
|
+
|
|
9591
|
+
Extra GitHub Enterprise hosts that receive your GitHub token on their `/api/v3` URLs.
|
|
9592
|
+
|
|
9593
|
+
---
|
|
9594
|
+
|
|
9569
9595
|
##### `ghCliTokens`<sup>Optional</sup> <a name="ghCliTokens" id="mise-projen.SettingsGithub.property.ghCliTokens"></a>
|
|
9570
9596
|
|
|
9571
9597
|
```typescript
|
|
@@ -14639,7 +14665,7 @@ system.
|
|
|
14639
14665
|
|
|
14640
14666
|
### SettingsLockfileMode <a name="SettingsLockfileMode" id="mise-projen.SettingsLockfileMode"></a>
|
|
14641
14667
|
|
|
14642
|
-
How lockfiles are written:
|
|
14668
|
+
How lockfiles are written: rebuilt from the current requests, or entry by entry.
|
|
14643
14669
|
|
|
14644
14670
|
#### Members <a name="Members" id="Members"></a>
|
|
14645
14671
|
|
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.
|
|
60
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.26" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -749,6 +749,12 @@ export interface Settings {
|
|
|
749
749
|
* @schema settings#experimental
|
|
750
750
|
*/
|
|
751
751
|
readonly experimental?: boolean;
|
|
752
|
+
/**
|
|
753
|
+
* How many times its own size a downloaded archive or compressed file may unpack to.
|
|
754
|
+
*
|
|
755
|
+
* @schema settings#extract_max_ratio
|
|
756
|
+
*/
|
|
757
|
+
readonly extractMaxRatio?: number;
|
|
752
758
|
/**
|
|
753
759
|
* How long a tool's cached list of available versions stays fresh.
|
|
754
760
|
*
|
|
@@ -992,7 +998,7 @@ export interface Settings {
|
|
|
992
998
|
*/
|
|
993
999
|
readonly lockfileAutoPrune?: boolean;
|
|
994
1000
|
/**
|
|
995
|
-
* How lockfiles are written:
|
|
1001
|
+
* How lockfiles are written: rebuilt from the current requests, or entry by entry.
|
|
996
1002
|
*
|
|
997
1003
|
* @schema settings#lockfile_mode
|
|
998
1004
|
*/
|
|
@@ -2459,6 +2465,12 @@ export interface SettingsGithub {
|
|
|
2459
2465
|
* @schema SettingsGithub#credential_command
|
|
2460
2466
|
*/
|
|
2461
2467
|
readonly credentialCommand?: string;
|
|
2468
|
+
/**
|
|
2469
|
+
* Extra GitHub Enterprise hosts that receive your GitHub token on their `/api/v3` URLs.
|
|
2470
|
+
*
|
|
2471
|
+
* @schema SettingsGithub#enterprise_hosts
|
|
2472
|
+
*/
|
|
2473
|
+
readonly enterpriseHosts?: string[];
|
|
2462
2474
|
/**
|
|
2463
2475
|
* Read GitHub tokens that the gh CLI stores in its `hosts.yml` file.
|
|
2464
2476
|
*
|
|
@@ -2799,7 +2811,7 @@ export declare enum SettingsLockedScopes {
|
|
|
2799
2811
|
SYSTEM = "system"
|
|
2800
2812
|
}
|
|
2801
2813
|
/**
|
|
2802
|
-
* How lockfiles are written:
|
|
2814
|
+
* How lockfiles are written: rebuilt from the current requests, or entry by entry.
|
|
2803
2815
|
*
|
|
2804
2816
|
* @schema SettingsLockfileMode
|
|
2805
2817
|
*/
|