mise-projen 0.0.22 → 0.0.23

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
@@ -5371,7 +5371,7 @@ public readonly loginShell: string;
5371
5371
 
5372
5372
  current user's desired login shell, applied with `chsh -s`;
5373
5373
 
5374
- a template that must render to an absolute path
5374
+ an absolute path or a bare shell name resolved after packages are installed; may be a template
5375
5375
 
5376
5376
  ---
5377
5377
 
@@ -10757,11 +10757,24 @@ const settingsPypi: SettingsPypi = { ... }
10757
10757
 
10758
10758
  | **Name** | **Type** | **Description** |
10759
10759
  | --- | --- | --- |
10760
+ | <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
10761
  | <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
10762
  | <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
10763
 
10763
10764
  ---
10764
10765
 
10766
+ ##### `keyringProvider`<sup>Optional</sup> <a name="keyringProvider" id="mise-projen.SettingsPypi.property.keyringProvider"></a>
10767
+
10768
+ ```typescript
10769
+ public readonly keyringProvider: SettingsPypiKeyringProvider;
10770
+ ```
10771
+
10772
+ - *Type:* <a href="#mise-projen.SettingsPypiKeyringProvider">SettingsPypiKeyringProvider</a>
10773
+
10774
+ Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password.
10775
+
10776
+ ---
10777
+
10765
10778
  ##### `registryUrl`<sup>Optional</sup> <a name="registryUrl" id="mise-projen.SettingsPypi.property.registryUrl"></a>
10766
10779
 
10767
10780
  ```typescript
@@ -14746,6 +14759,33 @@ pnpm.
14746
14759
  ---
14747
14760
 
14748
14761
 
14762
+ ### SettingsPypiKeyringProvider <a name="SettingsPypiKeyringProvider" id="mise-projen.SettingsPypiKeyringProvider"></a>
14763
+
14764
+ Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password.
14765
+
14766
+ #### Members <a name="Members" id="Members"></a>
14767
+
14768
+ | **Name** | **Description** |
14769
+ | --- | --- |
14770
+ | <code><a href="#mise-projen.SettingsPypiKeyringProvider.DISABLED">DISABLED</a></code> | disabled. |
14771
+ | <code><a href="#mise-projen.SettingsPypiKeyringProvider.SUBPROCESS">SUBPROCESS</a></code> | subprocess. |
14772
+
14773
+ ---
14774
+
14775
+ ##### `DISABLED` <a name="DISABLED" id="mise-projen.SettingsPypiKeyringProvider.DISABLED"></a>
14776
+
14777
+ disabled.
14778
+
14779
+ ---
14780
+
14781
+
14782
+ ##### `SUBPROCESS` <a name="SUBPROCESS" id="mise-projen.SettingsPypiKeyringProvider.SUBPROCESS"></a>
14783
+
14784
+ subprocess.
14785
+
14786
+ ---
14787
+
14788
+
14749
14789
  ### SettingsStatusMissingTools <a name="SettingsStatusMissingTools" id="mise-projen.SettingsStatusMissingTools"></a>
14750
14790
 
14751
14791
  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.22" };
60
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.23" };
61
61
  fileName;
62
62
  config;
63
63
  autoDiscover;
@@ -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 template that must render to an absolute path
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
  */
@@ -5024,6 +5030,17 @@ export declare enum SettingsNpmPackageManager {
5024
5030
  /** pnpm */
5025
5031
  PNPM = "pnpm"
5026
5032
  }
5033
+ /**
5034
+ * Read a `pypi:` index password from a `keyring` command when the index URL names a user but no password.
5035
+ *
5036
+ * @schema SettingsPypiKeyringProvider
5037
+ */
5038
+ export declare enum SettingsPypiKeyringProvider {
5039
+ /** disabled */
5040
+ DISABLED = "disabled",
5041
+ /** subprocess */
5042
+ SUBPROCESS = "subprocess"
5043
+ }
5027
5044
  /**
5028
5045
  * Activate, and optionally create, the virtualenv of the uv project around the current directory.
5029
5046
  *