mise-projen 0.0.42 → 0.0.44
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 +1297 -763
- package/API.md +374 -6
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +184 -9
- package/lib/miseConfig.js +104 -12
- package/lib/miseFile.js +1 -1
- package/package.json +2 -2
- package/schemas/mise.json +206 -10
package/API.md
CHANGED
|
@@ -2450,6 +2450,7 @@ const miseTomlSchemaBootstrap: MiseTomlSchemaBootstrap = { ... }
|
|
|
2450
2450
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.repos">repos</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapRepos">MiseTomlSchemaBootstrapRepos</a>}</code> | git repositories to clone or update with `mise bootstrap repos apply`, keyed by target path. |
|
|
2451
2451
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.secrets">secrets</a></code> | <code>{[ key: string ]: any}</code> | sensitive bootstrap inputs read from environment variables, keyed by secret name. |
|
|
2452
2452
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.services">services</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapServices">MiseTomlSchemaBootstrapServices</a>}</code> | System services and portable user services managed by mise bootstrap, keyed by service name. |
|
|
2453
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.settings">settings</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettings">MiseTomlSchemaBootstrapSettings</a></code> | [experimental] settings that bootstrap settings plugins apply, keyed by plugin name; |
|
|
2453
2454
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.user">user</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapUser">MiseTomlSchemaBootstrapUser</a></code> | current-user bootstrap settings. |
|
|
2454
2455
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.users">users</a></code> | <code>{[ key: string ]: <a href="#mise-projen.MiseTomlSchemaBootstrapUsers">MiseTomlSchemaBootstrapUsers</a>}</code> | [experimental] Linux users that bootstrap creates or removes, keyed by user name. |
|
|
2455
2456
|
|
|
@@ -2683,6 +2684,20 @@ System services and portable user services managed by mise bootstrap, keyed by s
|
|
|
2683
2684
|
|
|
2684
2685
|
---
|
|
2685
2686
|
|
|
2687
|
+
##### `settings`<sup>Optional</sup> <a name="settings" id="mise-projen.MiseTomlSchemaBootstrap.property.settings"></a>
|
|
2688
|
+
|
|
2689
|
+
```typescript
|
|
2690
|
+
public readonly settings: MiseTomlSchemaBootstrapSettings;
|
|
2691
|
+
```
|
|
2692
|
+
|
|
2693
|
+
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapSettings">MiseTomlSchemaBootstrapSettings</a>
|
|
2694
|
+
|
|
2695
|
+
[experimental] settings that bootstrap settings plugins apply, keyed by plugin name;
|
|
2696
|
+
|
|
2697
|
+
which keys a plugin accepts is up to the plugin
|
|
2698
|
+
|
|
2699
|
+
---
|
|
2700
|
+
|
|
2686
2701
|
##### `user`<sup>Optional</sup> <a name="user" id="mise-projen.MiseTomlSchemaBootstrap.property.user"></a>
|
|
2687
2702
|
|
|
2688
2703
|
```typescript
|
|
@@ -3294,8 +3309,10 @@ const miseTomlSchemaBootstrapFiles: MiseTomlSchemaBootstrapFiles = { ... }
|
|
|
3294
3309
|
|
|
3295
3310
|
| **Name** | **Type** | **Description** |
|
|
3296
3311
|
| --- | --- | --- |
|
|
3312
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapFiles.property.block">block</a></code> | <code>string</code> | block content kept between marker comments named by id, in a file mise does not own; |
|
|
3297
3313
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapFiles.property.content">content</a></code> | <code>string</code> | inline file content; |
|
|
3298
3314
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapFiles.property.group">group</a></code> | <code>string</code> | group that should own the file; |
|
|
3315
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapFiles.property.id">id</a></code> | <code>string</code> | names the block's marker comments, as in "# >>> mise:<id> >>>"; |
|
|
3299
3316
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapFiles.property.mode">mode</a></code> | <code>string</code> | octal permissions such as "0640"; |
|
|
3300
3317
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapFiles.property.notify">notify</a></code> | <code>string[]</code> | system services declared in [bootstrap.services] to reload or restart when mise changes this file. |
|
|
3301
3318
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapFiles.property.os">os</a></code> | <code>string[]</code> | OS or OS/arch selectors; |
|
|
@@ -3309,6 +3326,20 @@ const miseTomlSchemaBootstrapFiles: MiseTomlSchemaBootstrapFiles = { ... }
|
|
|
3309
3326
|
|
|
3310
3327
|
---
|
|
3311
3328
|
|
|
3329
|
+
##### `block`<sup>Optional</sup> <a name="block" id="mise-projen.MiseTomlSchemaBootstrapFiles.property.block"></a>
|
|
3330
|
+
|
|
3331
|
+
```typescript
|
|
3332
|
+
public readonly block: string;
|
|
3333
|
+
```
|
|
3334
|
+
|
|
3335
|
+
- *Type:* string
|
|
3336
|
+
|
|
3337
|
+
block content kept between marker comments named by id, in a file mise does not own;
|
|
3338
|
+
|
|
3339
|
+
the rest of the file is left alone, a missing file is created with just the block, and the block is appended when its markers are absent. Cannot be combined with source or content, and needs id
|
|
3340
|
+
|
|
3341
|
+
---
|
|
3342
|
+
|
|
3312
3343
|
##### `content`<sup>Optional</sup> <a name="content" id="mise-projen.MiseTomlSchemaBootstrapFiles.property.content"></a>
|
|
3313
3344
|
|
|
3314
3345
|
```typescript
|
|
@@ -3337,6 +3368,20 @@ left as it is when unset
|
|
|
3337
3368
|
|
|
3338
3369
|
---
|
|
3339
3370
|
|
|
3371
|
+
##### `id`<sup>Optional</sup> <a name="id" id="mise-projen.MiseTomlSchemaBootstrapFiles.property.id"></a>
|
|
3372
|
+
|
|
3373
|
+
```typescript
|
|
3374
|
+
public readonly id: string;
|
|
3375
|
+
```
|
|
3376
|
+
|
|
3377
|
+
- *Type:* string
|
|
3378
|
+
|
|
3379
|
+
names the block's marker comments, as in "# >>> mise:<id> >>>";
|
|
3380
|
+
|
|
3381
|
+
required with block
|
|
3382
|
+
|
|
3383
|
+
---
|
|
3384
|
+
|
|
3340
3385
|
##### `mode`<sup>Optional</sup> <a name="mode" id="mise-projen.MiseTomlSchemaBootstrapFiles.property.mode"></a>
|
|
3341
3386
|
|
|
3342
3387
|
```typescript
|
|
@@ -3347,7 +3392,7 @@ public readonly mode: string;
|
|
|
3347
3392
|
|
|
3348
3393
|
octal permissions such as "0640";
|
|
3349
3394
|
|
|
3350
|
-
defaults to "0644" for a file with source or content, otherwise left as it is
|
|
3395
|
+
defaults to "0644" for a file with source or content, or one a block creates, otherwise left as it is
|
|
3351
3396
|
|
|
3352
3397
|
---
|
|
3353
3398
|
|
|
@@ -4409,12 +4454,12 @@ const miseTomlSchemaBootstrapMacos: MiseTomlSchemaBootstrapMacos = { ... }
|
|
|
4409
4454
|
| **Name** | **Type** | **Description** |
|
|
4410
4455
|
| --- | --- | --- |
|
|
4411
4456
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.defaults">defaults</a></code> | <code>{[ key: string ]: {[ key: string ]: any}}</code> | *No description.* |
|
|
4412
|
-
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.defaultsEntries">defaultsEntries</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosDefaultsEntries">MiseTomlSchemaBootstrapMacosDefaultsEntries</a>[]</code> |
|
|
4457
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.defaultsEntries">defaultsEntries</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosDefaultsEntries">MiseTomlSchemaBootstrapMacosDefaultsEntries</a>[]</code> | deprecated: use [[bootstrap.settings.macos.defaults_entries]]. |
|
|
4413
4458
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.dock">dock</a></code> | <code><a href="#mise-projen.BootstrapMacosDock">BootstrapMacosDock</a></code> | *No description.* |
|
|
4414
4459
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.finder">finder</a></code> | <code><a href="#mise-projen.BootstrapMacosFinder">BootstrapMacosFinder</a></code> | *No description.* |
|
|
4415
4460
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.keyboard">keyboard</a></code> | <code><a href="#mise-projen.BootstrapMacosKeyboard">BootstrapMacosKeyboard</a></code> | *No description.* |
|
|
4416
4461
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.launchd">launchd</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchd">MiseTomlSchemaBootstrapMacosLaunchd</a></code> | macOS launchd bootstrap config. |
|
|
4417
|
-
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.loginItems">loginItems</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLoginItems">MiseTomlSchemaBootstrapMacosLoginItems</a></code> |
|
|
4462
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.loginItems">loginItems</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLoginItems">MiseTomlSchemaBootstrapMacosLoginItems</a></code> | deprecated: use [bootstrap.settings.macos.login_items]. |
|
|
4418
4463
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos.property.trackpad">trackpad</a></code> | <code><a href="#mise-projen.BootstrapMacosTrackpad">BootstrapMacosTrackpad</a></code> | *No description.* |
|
|
4419
4464
|
|
|
4420
4465
|
---
|
|
@@ -4437,7 +4482,7 @@ public readonly defaultsEntries: MiseTomlSchemaBootstrapMacosDefaultsEntries[];
|
|
|
4437
4482
|
|
|
4438
4483
|
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapMacosDefaultsEntries">MiseTomlSchemaBootstrapMacosDefaultsEntries</a>[]
|
|
4439
4484
|
|
|
4440
|
-
|
|
4485
|
+
deprecated: use [[bootstrap.settings.macos.defaults_entries]].
|
|
4441
4486
|
|
|
4442
4487
|
---
|
|
4443
4488
|
|
|
@@ -4491,7 +4536,7 @@ public readonly loginItems: MiseTomlSchemaBootstrapMacosLoginItems;
|
|
|
4491
4536
|
|
|
4492
4537
|
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapMacosLoginItems">MiseTomlSchemaBootstrapMacosLoginItems</a>
|
|
4493
4538
|
|
|
4494
|
-
|
|
4539
|
+
deprecated: use [bootstrap.settings.macos.login_items].
|
|
4495
4540
|
|
|
4496
4541
|
---
|
|
4497
4542
|
|
|
@@ -4897,7 +4942,7 @@ write WorkingDirectory.
|
|
|
4897
4942
|
|
|
4898
4943
|
### MiseTomlSchemaBootstrapMacosLoginItems <a name="MiseTomlSchemaBootstrapMacosLoginItems" id="mise-projen.MiseTomlSchemaBootstrapMacosLoginItems"></a>
|
|
4899
4944
|
|
|
4900
|
-
|
|
4945
|
+
deprecated: use [bootstrap.settings.macos.login_items].
|
|
4901
4946
|
|
|
4902
4947
|
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapMacosLoginItems.Initializer"></a>
|
|
4903
4948
|
|
|
@@ -5546,6 +5591,287 @@ user scope only
|
|
|
5546
5591
|
|
|
5547
5592
|
---
|
|
5548
5593
|
|
|
5594
|
+
### MiseTomlSchemaBootstrapSettings <a name="MiseTomlSchemaBootstrapSettings" id="mise-projen.MiseTomlSchemaBootstrapSettings"></a>
|
|
5595
|
+
|
|
5596
|
+
[experimental] settings that bootstrap settings plugins apply, keyed by plugin name;
|
|
5597
|
+
|
|
5598
|
+
which keys a plugin accepts is up to the plugin
|
|
5599
|
+
|
|
5600
|
+
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapSettings.Initializer"></a>
|
|
5601
|
+
|
|
5602
|
+
```typescript
|
|
5603
|
+
import { MiseTomlSchemaBootstrapSettings } from 'mise-projen'
|
|
5604
|
+
|
|
5605
|
+
const miseTomlSchemaBootstrapSettings: MiseTomlSchemaBootstrapSettings = { ... }
|
|
5606
|
+
```
|
|
5607
|
+
|
|
5608
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
5609
|
+
|
|
5610
|
+
| **Name** | **Type** | **Description** |
|
|
5611
|
+
| --- | --- | --- |
|
|
5612
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettings.property.macos">macos</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos">MiseTomlSchemaBootstrapSettingsMacos</a></code> | macOS preferences, written the way `defaults write` writes them; |
|
|
5613
|
+
|
|
5614
|
+
---
|
|
5615
|
+
|
|
5616
|
+
##### `macos`<sup>Optional</sup> <a name="macos" id="mise-projen.MiseTomlSchemaBootstrapSettings.property.macos"></a>
|
|
5617
|
+
|
|
5618
|
+
```typescript
|
|
5619
|
+
public readonly macos: MiseTomlSchemaBootstrapSettingsMacos;
|
|
5620
|
+
```
|
|
5621
|
+
|
|
5622
|
+
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos">MiseTomlSchemaBootstrapSettingsMacos</a>
|
|
5623
|
+
|
|
5624
|
+
macOS preferences, written the way `defaults write` writes them;
|
|
5625
|
+
|
|
5626
|
+
`macos` is built in, not a plugin
|
|
5627
|
+
|
|
5628
|
+
---
|
|
5629
|
+
|
|
5630
|
+
### MiseTomlSchemaBootstrapSettingsMacos <a name="MiseTomlSchemaBootstrapSettingsMacos" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos"></a>
|
|
5631
|
+
|
|
5632
|
+
macOS preferences, written the way `defaults write` writes them;
|
|
5633
|
+
|
|
5634
|
+
`macos` is built in, not a plugin
|
|
5635
|
+
|
|
5636
|
+
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.Initializer"></a>
|
|
5637
|
+
|
|
5638
|
+
```typescript
|
|
5639
|
+
import { MiseTomlSchemaBootstrapSettingsMacos } from 'mise-projen'
|
|
5640
|
+
|
|
5641
|
+
const miseTomlSchemaBootstrapSettingsMacos: MiseTomlSchemaBootstrapSettingsMacos = { ... }
|
|
5642
|
+
```
|
|
5643
|
+
|
|
5644
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
5645
|
+
|
|
5646
|
+
| **Name** | **Type** | **Description** |
|
|
5647
|
+
| --- | --- | --- |
|
|
5648
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.defaults">defaults</a></code> | <code>{[ key: string ]: {[ key: string ]: any}}</code> | any preference, by domain and key. |
|
|
5649
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.defaultsEntries">defaultsEntries</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries">MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries</a>[]</code> | Explicit macOS preferences with a selectable host scope. |
|
|
5650
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.dock">dock</a></code> | <code><a href="#mise-projen.BootstrapMacosDock">BootstrapMacosDock</a></code> | Dock preferences (com.apple.dock). |
|
|
5651
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.finder">finder</a></code> | <code><a href="#mise-projen.BootstrapMacosFinder">BootstrapMacosFinder</a></code> | Finder preferences (com.apple.finder). |
|
|
5652
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.keyboard">keyboard</a></code> | <code><a href="#mise-projen.BootstrapMacosKeyboard">BootstrapMacosKeyboard</a></code> | keyboard preferences. |
|
|
5653
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.loginItems">loginItems</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems">MiseTomlSchemaBootstrapSettingsMacosLoginItems</a></code> | applications to open at login (System Settings > General > Login Items & Extensions). |
|
|
5654
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.trackpad">trackpad</a></code> | <code><a href="#mise-projen.BootstrapMacosTrackpad">BootstrapMacosTrackpad</a></code> | trackpad preferences. |
|
|
5655
|
+
|
|
5656
|
+
---
|
|
5657
|
+
|
|
5658
|
+
##### `defaults`<sup>Optional</sup> <a name="defaults" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.defaults"></a>
|
|
5659
|
+
|
|
5660
|
+
```typescript
|
|
5661
|
+
public readonly defaults: {[ key: string ]: {[ key: string ]: any}};
|
|
5662
|
+
```
|
|
5663
|
+
|
|
5664
|
+
- *Type:* {[ key: string ]: {[ key: string ]: any}}
|
|
5665
|
+
|
|
5666
|
+
any preference, by domain and key.
|
|
5667
|
+
|
|
5668
|
+
---
|
|
5669
|
+
|
|
5670
|
+
##### `defaultsEntries`<sup>Optional</sup> <a name="defaultsEntries" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.defaultsEntries"></a>
|
|
5671
|
+
|
|
5672
|
+
```typescript
|
|
5673
|
+
public readonly defaultsEntries: MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries[];
|
|
5674
|
+
```
|
|
5675
|
+
|
|
5676
|
+
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries">MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries</a>[]
|
|
5677
|
+
|
|
5678
|
+
Explicit macOS preferences with a selectable host scope.
|
|
5679
|
+
|
|
5680
|
+
---
|
|
5681
|
+
|
|
5682
|
+
##### `dock`<sup>Optional</sup> <a name="dock" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.dock"></a>
|
|
5683
|
+
|
|
5684
|
+
```typescript
|
|
5685
|
+
public readonly dock: BootstrapMacosDock;
|
|
5686
|
+
```
|
|
5687
|
+
|
|
5688
|
+
- *Type:* <a href="#mise-projen.BootstrapMacosDock">BootstrapMacosDock</a>
|
|
5689
|
+
|
|
5690
|
+
Dock preferences (com.apple.dock).
|
|
5691
|
+
|
|
5692
|
+
---
|
|
5693
|
+
|
|
5694
|
+
##### `finder`<sup>Optional</sup> <a name="finder" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.finder"></a>
|
|
5695
|
+
|
|
5696
|
+
```typescript
|
|
5697
|
+
public readonly finder: BootstrapMacosFinder;
|
|
5698
|
+
```
|
|
5699
|
+
|
|
5700
|
+
- *Type:* <a href="#mise-projen.BootstrapMacosFinder">BootstrapMacosFinder</a>
|
|
5701
|
+
|
|
5702
|
+
Finder preferences (com.apple.finder).
|
|
5703
|
+
|
|
5704
|
+
---
|
|
5705
|
+
|
|
5706
|
+
##### `keyboard`<sup>Optional</sup> <a name="keyboard" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.keyboard"></a>
|
|
5707
|
+
|
|
5708
|
+
```typescript
|
|
5709
|
+
public readonly keyboard: BootstrapMacosKeyboard;
|
|
5710
|
+
```
|
|
5711
|
+
|
|
5712
|
+
- *Type:* <a href="#mise-projen.BootstrapMacosKeyboard">BootstrapMacosKeyboard</a>
|
|
5713
|
+
|
|
5714
|
+
keyboard preferences.
|
|
5715
|
+
|
|
5716
|
+
---
|
|
5717
|
+
|
|
5718
|
+
##### `loginItems`<sup>Optional</sup> <a name="loginItems" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.loginItems"></a>
|
|
5719
|
+
|
|
5720
|
+
```typescript
|
|
5721
|
+
public readonly loginItems: MiseTomlSchemaBootstrapSettingsMacosLoginItems;
|
|
5722
|
+
```
|
|
5723
|
+
|
|
5724
|
+
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems">MiseTomlSchemaBootstrapSettingsMacosLoginItems</a>
|
|
5725
|
+
|
|
5726
|
+
applications to open at login (System Settings > General > Login Items & Extensions).
|
|
5727
|
+
|
|
5728
|
+
---
|
|
5729
|
+
|
|
5730
|
+
##### `trackpad`<sup>Optional</sup> <a name="trackpad" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacos.property.trackpad"></a>
|
|
5731
|
+
|
|
5732
|
+
```typescript
|
|
5733
|
+
public readonly trackpad: BootstrapMacosTrackpad;
|
|
5734
|
+
```
|
|
5735
|
+
|
|
5736
|
+
- *Type:* <a href="#mise-projen.BootstrapMacosTrackpad">BootstrapMacosTrackpad</a>
|
|
5737
|
+
|
|
5738
|
+
trackpad preferences.
|
|
5739
|
+
|
|
5740
|
+
---
|
|
5741
|
+
|
|
5742
|
+
### MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries <a name="MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries"></a>
|
|
5743
|
+
|
|
5744
|
+
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.Initializer"></a>
|
|
5745
|
+
|
|
5746
|
+
```typescript
|
|
5747
|
+
import { MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries } from 'mise-projen'
|
|
5748
|
+
|
|
5749
|
+
const miseTomlSchemaBootstrapSettingsMacosDefaultsEntries: MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries = { ... }
|
|
5750
|
+
```
|
|
5751
|
+
|
|
5752
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
5753
|
+
|
|
5754
|
+
| **Name** | **Type** | **Description** |
|
|
5755
|
+
| --- | --- | --- |
|
|
5756
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.domain">domain</a></code> | <code>string</code> | preferences domain, such as "com.apple.dock" or "NSGlobalDomain"; -g and -globalDomain mean NSGlobalDomain. |
|
|
5757
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.key">key</a></code> | <code>string</code> | preference key within the domain. |
|
|
5758
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.value">value</a></code> | <code>any</code> | desired value, written with the matching property list type; |
|
|
5759
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.host">host</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost">MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost</a></code> | any writes the preference for every host; |
|
|
5760
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.path">path</a></code> | <code>string[]</code> | Dictionary keys below the preference key; |
|
|
5761
|
+
|
|
5762
|
+
---
|
|
5763
|
+
|
|
5764
|
+
##### `domain`<sup>Required</sup> <a name="domain" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.domain"></a>
|
|
5765
|
+
|
|
5766
|
+
```typescript
|
|
5767
|
+
public readonly domain: string;
|
|
5768
|
+
```
|
|
5769
|
+
|
|
5770
|
+
- *Type:* string
|
|
5771
|
+
|
|
5772
|
+
preferences domain, such as "com.apple.dock" or "NSGlobalDomain"; -g and -globalDomain mean NSGlobalDomain.
|
|
5773
|
+
|
|
5774
|
+
---
|
|
5775
|
+
|
|
5776
|
+
##### `key`<sup>Required</sup> <a name="key" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.key"></a>
|
|
5777
|
+
|
|
5778
|
+
```typescript
|
|
5779
|
+
public readonly key: string;
|
|
5780
|
+
```
|
|
5781
|
+
|
|
5782
|
+
- *Type:* string
|
|
5783
|
+
|
|
5784
|
+
preference key within the domain.
|
|
5785
|
+
|
|
5786
|
+
---
|
|
5787
|
+
|
|
5788
|
+
##### `value`<sup>Required</sup> <a name="value" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.value"></a>
|
|
5789
|
+
|
|
5790
|
+
```typescript
|
|
5791
|
+
public readonly value: any;
|
|
5792
|
+
```
|
|
5793
|
+
|
|
5794
|
+
- *Type:* any
|
|
5795
|
+
|
|
5796
|
+
desired value, written with the matching property list type;
|
|
5797
|
+
|
|
5798
|
+
replaces the selected value in full
|
|
5799
|
+
|
|
5800
|
+
---
|
|
5801
|
+
|
|
5802
|
+
##### `host`<sup>Optional</sup> <a name="host" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.host"></a>
|
|
5803
|
+
|
|
5804
|
+
```typescript
|
|
5805
|
+
public readonly host: MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost;
|
|
5806
|
+
```
|
|
5807
|
+
|
|
5808
|
+
- *Type:* <a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost">MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost</a>
|
|
5809
|
+
|
|
5810
|
+
any writes the preference for every host;
|
|
5811
|
+
|
|
5812
|
+
current writes it for this machine only, like defaults -currentHost
|
|
5813
|
+
|
|
5814
|
+
---
|
|
5815
|
+
|
|
5816
|
+
##### `path`<sup>Optional</sup> <a name="path" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntries.property.path"></a>
|
|
5817
|
+
|
|
5818
|
+
```typescript
|
|
5819
|
+
public readonly path: string[];
|
|
5820
|
+
```
|
|
5821
|
+
|
|
5822
|
+
- *Type:* string[]
|
|
5823
|
+
|
|
5824
|
+
Dictionary keys below the preference key;
|
|
5825
|
+
|
|
5826
|
+
omitted to replace the whole value
|
|
5827
|
+
|
|
5828
|
+
---
|
|
5829
|
+
|
|
5830
|
+
### MiseTomlSchemaBootstrapSettingsMacosLoginItems <a name="MiseTomlSchemaBootstrapSettingsMacosLoginItems" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems"></a>
|
|
5831
|
+
|
|
5832
|
+
applications to open at login (System Settings > General > Login Items & Extensions).
|
|
5833
|
+
|
|
5834
|
+
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems.Initializer"></a>
|
|
5835
|
+
|
|
5836
|
+
```typescript
|
|
5837
|
+
import { MiseTomlSchemaBootstrapSettingsMacosLoginItems } from 'mise-projen'
|
|
5838
|
+
|
|
5839
|
+
const miseTomlSchemaBootstrapSettingsMacosLoginItems: MiseTomlSchemaBootstrapSettingsMacosLoginItems = { ... }
|
|
5840
|
+
```
|
|
5841
|
+
|
|
5842
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
5843
|
+
|
|
5844
|
+
| **Name** | **Type** | **Description** |
|
|
5845
|
+
| --- | --- | --- |
|
|
5846
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems.property.apps">apps</a></code> | <code>string[]</code> | application bundles to open at login: absolute or `~/` paths ending in `.app`. |
|
|
5847
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems.property.exclusive">exclusive</a></code> | <code>boolean</code> | also remove login items that are not declared (default: false, so apps that register themselves are left alone). |
|
|
5848
|
+
|
|
5849
|
+
---
|
|
5850
|
+
|
|
5851
|
+
##### `apps`<sup>Optional</sup> <a name="apps" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems.property.apps"></a>
|
|
5852
|
+
|
|
5853
|
+
```typescript
|
|
5854
|
+
public readonly apps: string[];
|
|
5855
|
+
```
|
|
5856
|
+
|
|
5857
|
+
- *Type:* string[]
|
|
5858
|
+
|
|
5859
|
+
application bundles to open at login: absolute or `~/` paths ending in `.app`.
|
|
5860
|
+
|
|
5861
|
+
---
|
|
5862
|
+
|
|
5863
|
+
##### `exclusive`<sup>Optional</sup> <a name="exclusive" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosLoginItems.property.exclusive"></a>
|
|
5864
|
+
|
|
5865
|
+
```typescript
|
|
5866
|
+
public readonly exclusive: boolean;
|
|
5867
|
+
```
|
|
5868
|
+
|
|
5869
|
+
- *Type:* boolean
|
|
5870
|
+
|
|
5871
|
+
also remove login items that are not declared (default: false, so apps that register themselves are left alone).
|
|
5872
|
+
|
|
5873
|
+
---
|
|
5874
|
+
|
|
5549
5875
|
### MiseTomlSchemaBootstrapUser <a name="MiseTomlSchemaBootstrapUser" id="mise-projen.MiseTomlSchemaBootstrapUser"></a>
|
|
5550
5876
|
|
|
5551
5877
|
current-user bootstrap settings.
|
|
@@ -7101,6 +7427,7 @@ const settings: Settings = { ... }
|
|
|
7101
7427
|
| <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 before upstream APIs. |
|
|
7102
7428
|
| <code><a href="#mise-projen.Settings.property.useVersionsHostTrack">useVersionsHostTrack</a></code> | <code>boolean</code> | Send download statistics to mise-versions after installing a tool. |
|
|
7103
7429
|
| <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; |
|
|
7430
|
+
| <code><a href="#mise-projen.Settings.property.versionsHostExclude">versionsHostExclude</a></code> | <code>string[]</code> | GitHub repositories that never use mise-versions, such as `my-org/*`. |
|
|
7104
7431
|
| <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. |
|
|
7105
7432
|
| <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`. |
|
|
7106
7433
|
| <code><a href="#mise-projen.Settings.property.windowsExecutableExtensions">windowsExecutableExtensions</a></code> | <code>string[]</code> | File extensions, without the dot, that mise treats as executable on Windows. |
|
|
@@ -9144,6 +9471,18 @@ same as `--verbose`.
|
|
|
9144
9471
|
|
|
9145
9472
|
---
|
|
9146
9473
|
|
|
9474
|
+
##### `versionsHostExclude`<sup>Optional</sup> <a name="versionsHostExclude" id="mise-projen.Settings.property.versionsHostExclude"></a>
|
|
9475
|
+
|
|
9476
|
+
```typescript
|
|
9477
|
+
public readonly versionsHostExclude: string[];
|
|
9478
|
+
```
|
|
9479
|
+
|
|
9480
|
+
- *Type:* string[]
|
|
9481
|
+
|
|
9482
|
+
GitHub repositories that never use mise-versions, such as `my-org/*`.
|
|
9483
|
+
|
|
9484
|
+
---
|
|
9485
|
+
|
|
9147
9486
|
##### `windowsDefaultFileShellArgs`<sup>Optional</sup> <a name="windowsDefaultFileShellArgs" id="mise-projen.Settings.property.windowsDefaultFileShellArgs"></a>
|
|
9148
9487
|
|
|
9149
9488
|
```typescript
|
|
@@ -14617,6 +14956,35 @@ absent.
|
|
|
14617
14956
|
---
|
|
14618
14957
|
|
|
14619
14958
|
|
|
14959
|
+
### MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost <a name="MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost"></a>
|
|
14960
|
+
|
|
14961
|
+
any writes the preference for every host;
|
|
14962
|
+
|
|
14963
|
+
current writes it for this machine only, like defaults -currentHost
|
|
14964
|
+
|
|
14965
|
+
#### Members <a name="Members" id="Members"></a>
|
|
14966
|
+
|
|
14967
|
+
| **Name** | **Description** |
|
|
14968
|
+
| --- | --- |
|
|
14969
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost.ANY">ANY</a></code> | any. |
|
|
14970
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost.CURRENT">CURRENT</a></code> | current. |
|
|
14971
|
+
|
|
14972
|
+
---
|
|
14973
|
+
|
|
14974
|
+
##### `ANY` <a name="ANY" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost.ANY"></a>
|
|
14975
|
+
|
|
14976
|
+
any.
|
|
14977
|
+
|
|
14978
|
+
---
|
|
14979
|
+
|
|
14980
|
+
|
|
14981
|
+
##### `CURRENT` <a name="CURRENT" id="mise-projen.MiseTomlSchemaBootstrapSettingsMacosDefaultsEntriesHost.CURRENT"></a>
|
|
14982
|
+
|
|
14983
|
+
current.
|
|
14984
|
+
|
|
14985
|
+
---
|
|
14986
|
+
|
|
14987
|
+
|
|
14620
14988
|
### MiseTomlSchemaBootstrapUsersState <a name="MiseTomlSchemaBootstrapUsersState" id="mise-projen.MiseTomlSchemaBootstrapUsersState"></a>
|
|
14621
14989
|
|
|
14622
14990
|
whether the user should exist.
|
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.44" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|