mise-projen 0.0.22 → 0.0.24
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 +577 -497
- package/API.md +58 -3
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +25 -2
- package/lib/miseConfig.js +22 -8
- package/lib/miseFile.js +1 -1
- package/package.json +3 -3
- package/schemas/mise.json +554 -9
package/API.md
CHANGED
|
@@ -1356,6 +1356,7 @@ const doctorChecks: DoctorChecks = { ... }
|
|
|
1356
1356
|
| **Name** | **Type** | **Description** |
|
|
1357
1357
|
| --- | --- | --- |
|
|
1358
1358
|
| <code><a href="#mise-projen.DoctorChecks.property.run">run</a></code> | <code>string</code> | Diagnostic command. |
|
|
1359
|
+
| <code><a href="#mise-projen.DoctorChecks.property.depends">depends</a></code> | <code>string[]</code> | Names of checks that must pass first. |
|
|
1359
1360
|
| <code><a href="#mise-projen.DoctorChecks.property.description">description</a></code> | <code>string</code> | Human-readable requirement checked by the command. |
|
|
1360
1361
|
| <code><a href="#mise-projen.DoctorChecks.property.dir">dir</a></code> | <code>string</code> | Working directory. |
|
|
1361
1362
|
| <code><a href="#mise-projen.DoctorChecks.property.hint">hint</a></code> | <code>string</code> | Remediation guidance displayed on failure; |
|
|
@@ -1379,6 +1380,20 @@ Exit zero to pass; other exit codes fail.
|
|
|
1379
1380
|
|
|
1380
1381
|
---
|
|
1381
1382
|
|
|
1383
|
+
##### `depends`<sup>Optional</sup> <a name="depends" id="mise-projen.DoctorChecks.property.depends"></a>
|
|
1384
|
+
|
|
1385
|
+
```typescript
|
|
1386
|
+
public readonly depends: string[];
|
|
1387
|
+
```
|
|
1388
|
+
|
|
1389
|
+
- *Type:* string[]
|
|
1390
|
+
|
|
1391
|
+
Names of checks that must pass first.
|
|
1392
|
+
|
|
1393
|
+
If one does not pass, this check is reported as blocked and its command does not run.
|
|
1394
|
+
|
|
1395
|
+
---
|
|
1396
|
+
|
|
1382
1397
|
##### `description`<sup>Optional</sup> <a name="description" id="mise-projen.DoctorChecks.property.description"></a>
|
|
1383
1398
|
|
|
1384
1399
|
```typescript
|
|
@@ -5371,7 +5386,7 @@ public readonly loginShell: string;
|
|
|
5371
5386
|
|
|
5372
5387
|
current user's desired login shell, applied with `chsh -s`;
|
|
5373
5388
|
|
|
5374
|
-
a
|
|
5389
|
+
an absolute path or a bare shell name resolved after packages are installed; may be a template
|
|
5375
5390
|
|
|
5376
5391
|
---
|
|
5377
5392
|
|
|
@@ -6819,7 +6834,7 @@ const settings: Settings = { ... }
|
|
|
6819
6834
|
| <code><a href="#mise-projen.Settings.property.overrideToolVersionsFilenames">overrideToolVersionsFilenames</a></code> | <code>string[]</code> | Filenames that mise reads as `.tool-versions` files instead of `.tool-versions`. |
|
|
6820
6835
|
| <code><a href="#mise-projen.Settings.property.packslip">packslip</a></code> | <code><a href="#mise-projen.SettingsPackslip">SettingsPackslip</a></code> | *No description.* |
|
|
6821
6836
|
| <code><a href="#mise-projen.Settings.property.paranoid">paranoid</a></code> | <code>any</code> | Turn on paranoid mode: `true` for every protection, or a list of categories (`config`, `env_files`, `plugins`, `provenance`) for only those. |
|
|
6822
|
-
| <code><a href="#mise-projen.Settings.property.pin">pin</a></code> | <code>boolean</code> | Make `mise use` write the resolved version, such as `24.14.0` for `node@24`, instead of the requested one. |
|
|
6837
|
+
| <code><a href="#mise-projen.Settings.property.pin">pin</a></code> | <code>boolean</code> | Make `mise use` and `mise upgrade --bump` write the resolved version, such as `24.14.0` for `node@24`, instead of the requested one. |
|
|
6823
6838
|
| <code><a href="#mise-projen.Settings.property.pipx">pipx</a></code> | <code><a href="#mise-projen.SettingsPipx">SettingsPipx</a></code> | *No description.* |
|
|
6824
6839
|
| <code><a href="#mise-projen.Settings.property.pluginAutoupdateLastCheckDuration">pluginAutoupdateLastCheckDuration</a></code> | <code>string</code> | [deprecated] Has no effect; |
|
|
6825
6840
|
| <code><a href="#mise-projen.Settings.property.preferOffline">preferOffline</a></code> | <code>boolean</code> | Use cached version lists instead of fetching new ones, and go to the network only when nothing is cached. |
|
|
@@ -8185,7 +8200,7 @@ public readonly pin: boolean;
|
|
|
8185
8200
|
|
|
8186
8201
|
- *Type:* boolean
|
|
8187
8202
|
|
|
8188
|
-
Make `mise use` write the resolved version, such as `24.14.0` for `node@24`, instead of the requested one.
|
|
8203
|
+
Make `mise use` and `mise upgrade --bump` write the resolved version, such as `24.14.0` for `node@24`, instead of the requested one.
|
|
8189
8204
|
|
|
8190
8205
|
---
|
|
8191
8206
|
|
|
@@ -10757,11 +10772,24 @@ const settingsPypi: SettingsPypi = { ... }
|
|
|
10757
10772
|
|
|
10758
10773
|
| **Name** | **Type** | **Description** |
|
|
10759
10774
|
| --- | --- | --- |
|
|
10775
|
+
| <code><a href="#mise-projen.SettingsPypi.property.keyringProvider">keyringProvider</a></code> | <code><a href="#mise-projen.SettingsPypiKeyringProvider">SettingsPypiKeyringProvider</a></code> | Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password. |
|
|
10760
10776
|
| <code><a href="#mise-projen.SettingsPypi.property.registryUrl">registryUrl</a></code> | <code>string</code> | Package index URL that `pypi:` tools list versions from, with `{}` in place of the package name. |
|
|
10761
10777
|
| <code><a href="#mise-projen.SettingsPypi.property.uvx">uvx</a></code> | <code>boolean</code> | Install `pypi:` tools with uv when uv is available, and with pipx otherwise. |
|
|
10762
10778
|
|
|
10763
10779
|
---
|
|
10764
10780
|
|
|
10781
|
+
##### `keyringProvider`<sup>Optional</sup> <a name="keyringProvider" id="mise-projen.SettingsPypi.property.keyringProvider"></a>
|
|
10782
|
+
|
|
10783
|
+
```typescript
|
|
10784
|
+
public readonly keyringProvider: SettingsPypiKeyringProvider;
|
|
10785
|
+
```
|
|
10786
|
+
|
|
10787
|
+
- *Type:* <a href="#mise-projen.SettingsPypiKeyringProvider">SettingsPypiKeyringProvider</a>
|
|
10788
|
+
|
|
10789
|
+
Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password.
|
|
10790
|
+
|
|
10791
|
+
---
|
|
10792
|
+
|
|
10765
10793
|
##### `registryUrl`<sup>Optional</sup> <a name="registryUrl" id="mise-projen.SettingsPypi.property.registryUrl"></a>
|
|
10766
10794
|
|
|
10767
10795
|
```typescript
|
|
@@ -14746,6 +14774,33 @@ pnpm.
|
|
|
14746
14774
|
---
|
|
14747
14775
|
|
|
14748
14776
|
|
|
14777
|
+
### SettingsPypiKeyringProvider <a name="SettingsPypiKeyringProvider" id="mise-projen.SettingsPypiKeyringProvider"></a>
|
|
14778
|
+
|
|
14779
|
+
Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password.
|
|
14780
|
+
|
|
14781
|
+
#### Members <a name="Members" id="Members"></a>
|
|
14782
|
+
|
|
14783
|
+
| **Name** | **Description** |
|
|
14784
|
+
| --- | --- |
|
|
14785
|
+
| <code><a href="#mise-projen.SettingsPypiKeyringProvider.DISABLED">DISABLED</a></code> | disabled. |
|
|
14786
|
+
| <code><a href="#mise-projen.SettingsPypiKeyringProvider.SUBPROCESS">SUBPROCESS</a></code> | subprocess. |
|
|
14787
|
+
|
|
14788
|
+
---
|
|
14789
|
+
|
|
14790
|
+
##### `DISABLED` <a name="DISABLED" id="mise-projen.SettingsPypiKeyringProvider.DISABLED"></a>
|
|
14791
|
+
|
|
14792
|
+
disabled.
|
|
14793
|
+
|
|
14794
|
+
---
|
|
14795
|
+
|
|
14796
|
+
|
|
14797
|
+
##### `SUBPROCESS` <a name="SUBPROCESS" id="mise-projen.SettingsPypiKeyringProvider.SUBPROCESS"></a>
|
|
14798
|
+
|
|
14799
|
+
subprocess.
|
|
14800
|
+
|
|
14801
|
+
---
|
|
14802
|
+
|
|
14803
|
+
|
|
14749
14804
|
### SettingsStatusMissingTools <a name="SettingsStatusMissingTools" id="mise-projen.SettingsStatusMissingTools"></a>
|
|
14750
14805
|
|
|
14751
14806
|
When to warn that tools requested by config are not installed.
|
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.24" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -1114,7 +1114,7 @@ export interface Settings {
|
|
|
1114
1114
|
*/
|
|
1115
1115
|
readonly paranoid?: any;
|
|
1116
1116
|
/**
|
|
1117
|
-
* Make `mise use` write the resolved version, such as `24.14.0` for `node@24`, instead of the requested one.
|
|
1117
|
+
* Make `mise use` and `mise upgrade --bump` write the resolved version, such as `24.14.0` for `node@24`, instead of the requested one.
|
|
1118
1118
|
*
|
|
1119
1119
|
* @schema settings#pin
|
|
1120
1120
|
*/
|
|
@@ -3086,6 +3086,12 @@ export declare function toJson_SettingsPrune(obj: SettingsPrune | undefined): Re
|
|
|
3086
3086
|
* @schema SettingsPypi
|
|
3087
3087
|
*/
|
|
3088
3088
|
export interface SettingsPypi {
|
|
3089
|
+
/**
|
|
3090
|
+
* Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password.
|
|
3091
|
+
*
|
|
3092
|
+
* @schema SettingsPypi#keyring_provider
|
|
3093
|
+
*/
|
|
3094
|
+
readonly keyringProvider?: SettingsPypiKeyringProvider;
|
|
3089
3095
|
/**
|
|
3090
3096
|
* Package index URL that `pypi:` tools list versions from, with `{}` in place of the package name.
|
|
3091
3097
|
*
|
|
@@ -4466,7 +4472,7 @@ export declare function toJson_MiseTomlSchemaBootstrapLinux(obj: MiseTomlSchemaB
|
|
|
4466
4472
|
*/
|
|
4467
4473
|
export interface MiseTomlSchemaBootstrapUser {
|
|
4468
4474
|
/**
|
|
4469
|
-
* current user's desired login shell, applied with `chsh -s`; a
|
|
4475
|
+
* current user's desired login shell, applied with `chsh -s`; an absolute path or a bare shell name resolved after packages are installed; may be a template
|
|
4470
4476
|
*
|
|
4471
4477
|
* @schema MiseTomlSchemaBootstrapUser#login_shell
|
|
4472
4478
|
*/
|
|
@@ -4904,6 +4910,12 @@ export interface DoctorChecks {
|
|
|
4904
4910
|
* @schema DoctorChecks#os
|
|
4905
4911
|
*/
|
|
4906
4912
|
readonly os?: string[];
|
|
4913
|
+
/**
|
|
4914
|
+
* Names of checks that must pass first. If one does not pass, this check is reported as blocked and its command does not run.
|
|
4915
|
+
*
|
|
4916
|
+
* @schema DoctorChecks#depends
|
|
4917
|
+
*/
|
|
4918
|
+
readonly depends?: string[];
|
|
4907
4919
|
}
|
|
4908
4920
|
/**
|
|
4909
4921
|
* Converts an object of type 'DoctorChecks' to JSON representation.
|
|
@@ -5024,6 +5036,17 @@ export declare enum SettingsNpmPackageManager {
|
|
|
5024
5036
|
/** pnpm */
|
|
5025
5037
|
PNPM = "pnpm"
|
|
5026
5038
|
}
|
|
5039
|
+
/**
|
|
5040
|
+
* Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password.
|
|
5041
|
+
*
|
|
5042
|
+
* @schema SettingsPypiKeyringProvider
|
|
5043
|
+
*/
|
|
5044
|
+
export declare enum SettingsPypiKeyringProvider {
|
|
5045
|
+
/** disabled */
|
|
5046
|
+
DISABLED = "disabled",
|
|
5047
|
+
/** subprocess */
|
|
5048
|
+
SUBPROCESS = "subprocess"
|
|
5049
|
+
}
|
|
5027
5050
|
/**
|
|
5028
5051
|
* Activate, and optionally create, the virtualenv of the uv project around the current directory.
|
|
5029
5052
|
*
|