mise-projen 0.0.16 → 0.0.18
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 +818 -692
- package/API.md +90 -2
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +49 -1
- package/lib/miseConfig.js +41 -7
- package/lib/miseFile.js +1 -1
- package/package.json +2 -2
- package/schemas/mise.json +48 -3
package/API.md
CHANGED
|
@@ -1409,6 +1409,7 @@ const miseTomlSchemaBootstrap: MiseTomlSchemaBootstrap = { ... }
|
|
|
1409
1409
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.compose">compose</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapCompose">MiseTomlSchemaBootstrapCompose</a>}</code> | Docker Compose projects managed with `mise bootstrap compose`, keyed by project name. |
|
|
1410
1410
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.configRoots">configRoots</a></code> | <code>string[]</code> | deprecated and will be removed in mise 2027.3.3; move each selected root into a conf.d folder instead (https://mise.jdx.dev/configuration.html#conf-d-folders). |
|
|
1411
1411
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.directories">directories</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapDirectories">MiseTomlSchemaBootstrapDirectories</a>}</code> | Managed system directories keyed by absolute target path. |
|
|
1412
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.dnf">dnf</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapDnf">MiseTomlSchemaBootstrapDnf</a></code> | dnf-specific bootstrap package config. |
|
|
1412
1413
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.dotfileGroups">dotfileGroups</a></code> | <code>string[]</code> | the dotfile groups this machine applies; |
|
|
1413
1414
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.files">files</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapFiles">MiseTomlSchemaBootstrapFiles</a>}</code> | Managed system files keyed by absolute target path. |
|
|
1414
1415
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.groups">groups</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapGroups">MiseTomlSchemaBootstrapGroups</a>}</code> | [experimental] Linux groups that bootstrap creates or removes, keyed by group name. |
|
|
@@ -1489,6 +1490,18 @@ Managed system directories keyed by absolute target path.
|
|
|
1489
1490
|
|
|
1490
1491
|
---
|
|
1491
1492
|
|
|
1493
|
+
##### `dnf`<sup>Optional</sup> <a name="dnf" id="mise-projen.MiseTomlSchemaBootstrap.property.dnf"></a>
|
|
1494
|
+
|
|
1495
|
+
```typescript
|
|
1496
|
+
public readonly dnf: MiseTomlSchemaBootstrapDnf;
|
|
1497
|
+
```
|
|
1498
|
+
|
|
1499
|
+
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapDnf">MiseTomlSchemaBootstrapDnf</a>
|
|
1500
|
+
|
|
1501
|
+
dnf-specific bootstrap package config.
|
|
1502
|
+
|
|
1503
|
+
---
|
|
1504
|
+
|
|
1492
1505
|
##### `dotfileGroups`<sup>Optional</sup> <a name="dotfileGroups" id="mise-projen.MiseTomlSchemaBootstrap.property.dotfileGroups"></a>
|
|
1493
1506
|
|
|
1494
1507
|
```typescript
|
|
@@ -2261,6 +2274,68 @@ public readonly state: MiseTomlSchemaBootstrapDirectoriesState;
|
|
|
2261
2274
|
|
|
2262
2275
|
---
|
|
2263
2276
|
|
|
2277
|
+
### MiseTomlSchemaBootstrapDnf <a name="MiseTomlSchemaBootstrapDnf" id="mise-projen.MiseTomlSchemaBootstrapDnf"></a>
|
|
2278
|
+
|
|
2279
|
+
dnf-specific bootstrap package config.
|
|
2280
|
+
|
|
2281
|
+
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapDnf.Initializer"></a>
|
|
2282
|
+
|
|
2283
|
+
```typescript
|
|
2284
|
+
import { MiseTomlSchemaBootstrapDnf } from 'mise-projen'
|
|
2285
|
+
|
|
2286
|
+
const miseTomlSchemaBootstrapDnf: MiseTomlSchemaBootstrapDnf = { ... }
|
|
2287
|
+
```
|
|
2288
|
+
|
|
2289
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
2290
|
+
|
|
2291
|
+
| **Name** | **Type** | **Description** |
|
|
2292
|
+
| --- | --- | --- |
|
|
2293
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapDnf.property.repos">repos</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapDnfRepos">MiseTomlSchemaBootstrapDnfRepos</a>}</code> | dnf repositories enabled before dnf packages are installed, keyed by a name for the entry. |
|
|
2294
|
+
|
|
2295
|
+
---
|
|
2296
|
+
|
|
2297
|
+
##### `repos`<sup>Optional</sup> <a name="repos" id="mise-projen.MiseTomlSchemaBootstrapDnf.property.repos"></a>
|
|
2298
|
+
|
|
2299
|
+
```typescript
|
|
2300
|
+
public readonly repos: {[ key: string ]: MiseTomlSchemaBootstrapDnfRepos};
|
|
2301
|
+
```
|
|
2302
|
+
|
|
2303
|
+
- *Type:* {[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapDnfRepos">MiseTomlSchemaBootstrapDnfRepos</a>}
|
|
2304
|
+
|
|
2305
|
+
dnf repositories enabled before dnf packages are installed, keyed by a name for the entry.
|
|
2306
|
+
|
|
2307
|
+
---
|
|
2308
|
+
|
|
2309
|
+
### MiseTomlSchemaBootstrapDnfRepos <a name="MiseTomlSchemaBootstrapDnfRepos" id="mise-projen.MiseTomlSchemaBootstrapDnfRepos"></a>
|
|
2310
|
+
|
|
2311
|
+
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapDnfRepos.Initializer"></a>
|
|
2312
|
+
|
|
2313
|
+
```typescript
|
|
2314
|
+
import { MiseTomlSchemaBootstrapDnfRepos } from 'mise-projen'
|
|
2315
|
+
|
|
2316
|
+
const miseTomlSchemaBootstrapDnfRepos: MiseTomlSchemaBootstrapDnfRepos = { ... }
|
|
2317
|
+
```
|
|
2318
|
+
|
|
2319
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
2320
|
+
|
|
2321
|
+
| **Name** | **Type** | **Description** |
|
|
2322
|
+
| --- | --- | --- |
|
|
2323
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapDnfRepos.property.copr">copr</a></code> | <code>string</code> | COPR project as owner/project or. |
|
|
2324
|
+
|
|
2325
|
+
---
|
|
2326
|
+
|
|
2327
|
+
##### `copr`<sup>Required</sup> <a name="copr" id="mise-projen.MiseTomlSchemaBootstrapDnfRepos.property.copr"></a>
|
|
2328
|
+
|
|
2329
|
+
```typescript
|
|
2330
|
+
public readonly copr: string;
|
|
2331
|
+
```
|
|
2332
|
+
|
|
2333
|
+
- *Type:* string
|
|
2334
|
+
|
|
2335
|
+
COPR project as owner/project or.
|
|
2336
|
+
|
|
2337
|
+
---
|
|
2338
|
+
|
|
2264
2339
|
### MiseTomlSchemaBootstrapFiles <a name="MiseTomlSchemaBootstrapFiles" id="mise-projen.MiseTomlSchemaBootstrapFiles"></a>
|
|
2265
2340
|
|
|
2266
2341
|
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapFiles.Initializer"></a>
|
|
@@ -6509,7 +6584,7 @@ const settings: Settings = { ... }
|
|
|
6509
6584
|
| <code><a href="#mise-projen.Settings.property.urlReplacements">urlReplacements</a></code> | <code>{[ key: string ]: string}</code> | URL patterns and replacements that mise's HTTP client applies before sending a request, for mirrors and proxies. |
|
|
6510
6585
|
| <code><a href="#mise-projen.Settings.property.useFileShellForExecutableTasks">useFileShellForExecutableTasks</a></code> | <code>boolean</code> | Run executable file tasks through a shell instead of executing them directly. |
|
|
6511
6586
|
| <code><a href="#mise-projen.Settings.property.useVersionsHost">useVersionsHost</a></code> | <code>boolean</code> | Get version lists, public GitHub release metadata and attestations from mise-versions instead of upstream APIs. |
|
|
6512
|
-
| <code><a href="#mise-projen.Settings.property.useVersionsHostTrack">useVersionsHostTrack</a></code> | <code>boolean</code> | Send
|
|
6587
|
+
| <code><a href="#mise-projen.Settings.property.useVersionsHostTrack">useVersionsHostTrack</a></code> | <code>boolean</code> | Send download statistics to mise-versions after installing a tool. |
|
|
6513
6588
|
| <code><a href="#mise-projen.Settings.property.verbose">verbose</a></code> | <code>boolean</code> | Show extra output, such as installation logs, and set the log level to debug; |
|
|
6514
6589
|
| <code><a href="#mise-projen.Settings.property.windowsDefaultFileShellArgs">windowsDefaultFileShellArgs</a></code> | <code>string</code> | Shell that runs a file task on Windows when the task sets no `shell` and the file has no shebang or known extension. |
|
|
6515
6590
|
| <code><a href="#mise-projen.Settings.property.windowsDefaultInlineShellArgs">windowsDefaultInlineShellArgs</a></code> | <code>string</code> | Shell and arguments that run inline scripts on Windows, such as a task's `run`, hooks and `postinstall`. |
|
|
@@ -8476,7 +8551,7 @@ public readonly useVersionsHostTrack: boolean;
|
|
|
8476
8551
|
|
|
8477
8552
|
- *Type:* boolean
|
|
8478
8553
|
|
|
8479
|
-
Send
|
|
8554
|
+
Send download statistics to mise-versions after installing a tool.
|
|
8480
8555
|
|
|
8481
8556
|
---
|
|
8482
8557
|
|
|
@@ -9147,6 +9222,7 @@ const settingsGithub: SettingsGithub = { ... }
|
|
|
9147
9222
|
| <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. |
|
|
9148
9223
|
| <code><a href="#mise-projen.SettingsGithub.property.oauthAuthUrl">oauthAuthUrl</a></code> | <code>string</code> | GitHub OAuth endpoint base URL for the native device flow. |
|
|
9149
9224
|
| <code><a href="#mise-projen.SettingsGithub.property.oauthCacheGet">oauthCacheGet</a></code> | <code>string</code> | Command that prints the native GitHub OAuth refresh tokens stored by github.oauth_cache_set. |
|
|
9225
|
+
| <code><a href="#mise-projen.SettingsGithub.property.oauthCacheSecureEnclave">oauthCacheSecureEnclave</a></code> | <code>boolean</code> | Keep the native GitHub OAuth refresh token behind Touch ID in the macOS Secure Enclave. |
|
|
9150
9226
|
| <code><a href="#mise-projen.SettingsGithub.property.oauthCacheSet">oauthCacheSet</a></code> | <code>string</code> | Command that stores the native GitHub OAuth refresh tokens, read from its stdin. |
|
|
9151
9227
|
| <code><a href="#mise-projen.SettingsGithub.property.oauthClientId">oauthClientId</a></code> | <code>string</code> | GitHub App client ID that turns on native OAuth device-flow tokens. |
|
|
9152
9228
|
| <code><a href="#mise-projen.SettingsGithub.property.oauthCopyCode">oauthCopyCode</a></code> | <code>boolean</code> | Copy the one-time device code to the clipboard during the native GitHub OAuth device flow. |
|
|
@@ -9230,6 +9306,18 @@ Command that prints the native GitHub OAuth refresh tokens stored by github.oaut
|
|
|
9230
9306
|
|
|
9231
9307
|
---
|
|
9232
9308
|
|
|
9309
|
+
##### `oauthCacheSecureEnclave`<sup>Optional</sup> <a name="oauthCacheSecureEnclave" id="mise-projen.SettingsGithub.property.oauthCacheSecureEnclave"></a>
|
|
9310
|
+
|
|
9311
|
+
```typescript
|
|
9312
|
+
public readonly oauthCacheSecureEnclave: boolean;
|
|
9313
|
+
```
|
|
9314
|
+
|
|
9315
|
+
- *Type:* boolean
|
|
9316
|
+
|
|
9317
|
+
Keep the native GitHub OAuth refresh token behind Touch ID in the macOS Secure Enclave.
|
|
9318
|
+
|
|
9319
|
+
---
|
|
9320
|
+
|
|
9233
9321
|
##### `oauthCacheSet`<sup>Optional</sup> <a name="oauthCacheSet" id="mise-projen.SettingsGithub.property.oauthCacheSet"></a>
|
|
9234
9322
|
|
|
9235
9323
|
```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.
|
|
60
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.Mise", version: "0.0.18" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -1422,7 +1422,7 @@ export interface Settings {
|
|
|
1422
1422
|
*/
|
|
1423
1423
|
readonly useVersionsHost?: boolean;
|
|
1424
1424
|
/**
|
|
1425
|
-
* Send
|
|
1425
|
+
* Send download statistics to mise-versions after installing a tool.
|
|
1426
1426
|
*
|
|
1427
1427
|
* @schema settings#use_versions_host_track
|
|
1428
1428
|
*/
|
|
@@ -1647,6 +1647,12 @@ export interface MiseTomlSchemaBootstrap {
|
|
|
1647
1647
|
* @schema MiseTomlSchemaBootstrap#apt
|
|
1648
1648
|
*/
|
|
1649
1649
|
readonly apt?: MiseTomlSchemaBootstrapApt;
|
|
1650
|
+
/**
|
|
1651
|
+
* dnf-specific bootstrap package config
|
|
1652
|
+
*
|
|
1653
|
+
* @schema MiseTomlSchemaBootstrap#dnf
|
|
1654
|
+
*/
|
|
1655
|
+
readonly dnf?: MiseTomlSchemaBootstrapDnf;
|
|
1650
1656
|
/**
|
|
1651
1657
|
* Homebrew-specific bootstrap package config
|
|
1652
1658
|
*
|
|
@@ -2448,6 +2454,12 @@ export interface SettingsGithub {
|
|
|
2448
2454
|
* @schema SettingsGithub#oauth_cache_get
|
|
2449
2455
|
*/
|
|
2450
2456
|
readonly oauthCacheGet?: string;
|
|
2457
|
+
/**
|
|
2458
|
+
* Keep the native GitHub OAuth refresh token behind Touch ID in the macOS Secure Enclave.
|
|
2459
|
+
*
|
|
2460
|
+
* @schema SettingsGithub#oauth_cache_secure_enclave
|
|
2461
|
+
*/
|
|
2462
|
+
readonly oauthCacheSecureEnclave?: boolean;
|
|
2451
2463
|
/**
|
|
2452
2464
|
* Command that stores the native GitHub OAuth refresh tokens, read from its stdin.
|
|
2453
2465
|
*
|
|
@@ -4360,6 +4372,26 @@ export interface MiseTomlSchemaBootstrapApt {
|
|
|
4360
4372
|
* @internal
|
|
4361
4373
|
*/
|
|
4362
4374
|
export declare function toJson_MiseTomlSchemaBootstrapApt(obj: MiseTomlSchemaBootstrapApt | undefined): Record<string, any> | undefined;
|
|
4375
|
+
/**
|
|
4376
|
+
* dnf-specific bootstrap package config
|
|
4377
|
+
*
|
|
4378
|
+
* @schema MiseTomlSchemaBootstrapDnf
|
|
4379
|
+
*/
|
|
4380
|
+
export interface MiseTomlSchemaBootstrapDnf {
|
|
4381
|
+
/**
|
|
4382
|
+
* dnf repositories enabled before dnf packages are installed, keyed by a name for the entry
|
|
4383
|
+
*
|
|
4384
|
+
* @schema MiseTomlSchemaBootstrapDnf#repos
|
|
4385
|
+
*/
|
|
4386
|
+
readonly repos?: {
|
|
4387
|
+
[key: string]: MiseTomlSchemaBootstrapDnfRepos;
|
|
4388
|
+
};
|
|
4389
|
+
}
|
|
4390
|
+
/**
|
|
4391
|
+
* Converts an object of type 'MiseTomlSchemaBootstrapDnf' to JSON representation.
|
|
4392
|
+
* @internal
|
|
4393
|
+
*/
|
|
4394
|
+
export declare function toJson_MiseTomlSchemaBootstrapDnf(obj: MiseTomlSchemaBootstrapDnf | undefined): Record<string, any> | undefined;
|
|
4363
4395
|
/**
|
|
4364
4396
|
* Homebrew-specific bootstrap package config
|
|
4365
4397
|
*
|
|
@@ -5657,6 +5689,22 @@ export interface MiseTomlSchemaBootstrapAptSources {
|
|
|
5657
5689
|
* @internal
|
|
5658
5690
|
*/
|
|
5659
5691
|
export declare function toJson_MiseTomlSchemaBootstrapAptSources(obj: MiseTomlSchemaBootstrapAptSources | undefined): Record<string, any> | undefined;
|
|
5692
|
+
/**
|
|
5693
|
+
* @schema MiseTomlSchemaBootstrapDnfRepos
|
|
5694
|
+
*/
|
|
5695
|
+
export interface MiseTomlSchemaBootstrapDnfRepos {
|
|
5696
|
+
/**
|
|
5697
|
+
* COPR project as owner/project or @group/project, such as scottames/ghostty; enabled as dnf copr enable would
|
|
5698
|
+
*
|
|
5699
|
+
* @schema MiseTomlSchemaBootstrapDnfRepos#copr
|
|
5700
|
+
*/
|
|
5701
|
+
readonly copr: string;
|
|
5702
|
+
}
|
|
5703
|
+
/**
|
|
5704
|
+
* Converts an object of type 'MiseTomlSchemaBootstrapDnfRepos' to JSON representation.
|
|
5705
|
+
* @internal
|
|
5706
|
+
*/
|
|
5707
|
+
export declare function toJson_MiseTomlSchemaBootstrapDnfRepos(obj: MiseTomlSchemaBootstrapDnfRepos | undefined): Record<string, any> | undefined;
|
|
5660
5708
|
/**
|
|
5661
5709
|
* whether the group should exist
|
|
5662
5710
|
*
|