mise-projen 0.0.40 → 0.0.41
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 +847 -560
- package/API.md +192 -2
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +91 -1
- package/lib/miseConfig.js +34 -6
- package/lib/miseFile.js +1 -1
- package/package.json +1 -1
- package/schemas/mise.json +185 -3
package/API.md
CHANGED
|
@@ -1666,6 +1666,144 @@ every day when unset
|
|
|
1666
1666
|
|
|
1667
1667
|
---
|
|
1668
1668
|
|
|
1669
|
+
### LaunchdResourceLimits <a name="LaunchdResourceLimits" id="mise-projen.LaunchdResourceLimits"></a>
|
|
1670
|
+
|
|
1671
|
+
resource limits for launchd SoftResourceLimits and HardResourceLimits.
|
|
1672
|
+
|
|
1673
|
+
#### Initializer <a name="Initializer" id="mise-projen.LaunchdResourceLimits.Initializer"></a>
|
|
1674
|
+
|
|
1675
|
+
```typescript
|
|
1676
|
+
import { LaunchdResourceLimits } from 'mise-projen'
|
|
1677
|
+
|
|
1678
|
+
const launchdResourceLimits: LaunchdResourceLimits = { ... }
|
|
1679
|
+
```
|
|
1680
|
+
|
|
1681
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
1682
|
+
|
|
1683
|
+
| **Name** | **Type** | **Description** |
|
|
1684
|
+
| --- | --- | --- |
|
|
1685
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.core">core</a></code> | <code>number</code> | write Core, the largest core file in bytes. |
|
|
1686
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.cpu">cpu</a></code> | <code>number</code> | write CPU, the CPU time in seconds. |
|
|
1687
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.data">data</a></code> | <code>number</code> | write Data, the data segment size in bytes. |
|
|
1688
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.fileSize">fileSize</a></code> | <code>number</code> | write FileSize, the largest file the program may create in bytes. |
|
|
1689
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.memoryLock">memoryLock</a></code> | <code>number</code> | write MemoryLock, the memory the program may lock in bytes. |
|
|
1690
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.numberOfFiles">numberOfFiles</a></code> | <code>number</code> | write NumberOfFiles, the open file descriptors; |
|
|
1691
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.numberOfProcesses">numberOfProcesses</a></code> | <code>number</code> | write NumberOfProcesses, the processes the user may run. |
|
|
1692
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.residentSetSize">residentSetSize</a></code> | <code>number</code> | write ResidentSetSize, the resident memory in bytes. |
|
|
1693
|
+
| <code><a href="#mise-projen.LaunchdResourceLimits.property.stack">stack</a></code> | <code>number</code> | write Stack, the stack size in bytes. |
|
|
1694
|
+
|
|
1695
|
+
---
|
|
1696
|
+
|
|
1697
|
+
##### `core`<sup>Optional</sup> <a name="core" id="mise-projen.LaunchdResourceLimits.property.core"></a>
|
|
1698
|
+
|
|
1699
|
+
```typescript
|
|
1700
|
+
public readonly core: number;
|
|
1701
|
+
```
|
|
1702
|
+
|
|
1703
|
+
- *Type:* number
|
|
1704
|
+
|
|
1705
|
+
write Core, the largest core file in bytes.
|
|
1706
|
+
|
|
1707
|
+
---
|
|
1708
|
+
|
|
1709
|
+
##### `cpu`<sup>Optional</sup> <a name="cpu" id="mise-projen.LaunchdResourceLimits.property.cpu"></a>
|
|
1710
|
+
|
|
1711
|
+
```typescript
|
|
1712
|
+
public readonly cpu: number;
|
|
1713
|
+
```
|
|
1714
|
+
|
|
1715
|
+
- *Type:* number
|
|
1716
|
+
|
|
1717
|
+
write CPU, the CPU time in seconds.
|
|
1718
|
+
|
|
1719
|
+
---
|
|
1720
|
+
|
|
1721
|
+
##### `data`<sup>Optional</sup> <a name="data" id="mise-projen.LaunchdResourceLimits.property.data"></a>
|
|
1722
|
+
|
|
1723
|
+
```typescript
|
|
1724
|
+
public readonly data: number;
|
|
1725
|
+
```
|
|
1726
|
+
|
|
1727
|
+
- *Type:* number
|
|
1728
|
+
|
|
1729
|
+
write Data, the data segment size in bytes.
|
|
1730
|
+
|
|
1731
|
+
---
|
|
1732
|
+
|
|
1733
|
+
##### `fileSize`<sup>Optional</sup> <a name="fileSize" id="mise-projen.LaunchdResourceLimits.property.fileSize"></a>
|
|
1734
|
+
|
|
1735
|
+
```typescript
|
|
1736
|
+
public readonly fileSize: number;
|
|
1737
|
+
```
|
|
1738
|
+
|
|
1739
|
+
- *Type:* number
|
|
1740
|
+
|
|
1741
|
+
write FileSize, the largest file the program may create in bytes.
|
|
1742
|
+
|
|
1743
|
+
---
|
|
1744
|
+
|
|
1745
|
+
##### `memoryLock`<sup>Optional</sup> <a name="memoryLock" id="mise-projen.LaunchdResourceLimits.property.memoryLock"></a>
|
|
1746
|
+
|
|
1747
|
+
```typescript
|
|
1748
|
+
public readonly memoryLock: number;
|
|
1749
|
+
```
|
|
1750
|
+
|
|
1751
|
+
- *Type:* number
|
|
1752
|
+
|
|
1753
|
+
write MemoryLock, the memory the program may lock in bytes.
|
|
1754
|
+
|
|
1755
|
+
---
|
|
1756
|
+
|
|
1757
|
+
##### `numberOfFiles`<sup>Optional</sup> <a name="numberOfFiles" id="mise-projen.LaunchdResourceLimits.property.numberOfFiles"></a>
|
|
1758
|
+
|
|
1759
|
+
```typescript
|
|
1760
|
+
public readonly numberOfFiles: number;
|
|
1761
|
+
```
|
|
1762
|
+
|
|
1763
|
+
- *Type:* number
|
|
1764
|
+
|
|
1765
|
+
write NumberOfFiles, the open file descriptors;
|
|
1766
|
+
|
|
1767
|
+
launchd starts agents with a soft limit of 256
|
|
1768
|
+
|
|
1769
|
+
---
|
|
1770
|
+
|
|
1771
|
+
##### `numberOfProcesses`<sup>Optional</sup> <a name="numberOfProcesses" id="mise-projen.LaunchdResourceLimits.property.numberOfProcesses"></a>
|
|
1772
|
+
|
|
1773
|
+
```typescript
|
|
1774
|
+
public readonly numberOfProcesses: number;
|
|
1775
|
+
```
|
|
1776
|
+
|
|
1777
|
+
- *Type:* number
|
|
1778
|
+
|
|
1779
|
+
write NumberOfProcesses, the processes the user may run.
|
|
1780
|
+
|
|
1781
|
+
---
|
|
1782
|
+
|
|
1783
|
+
##### `residentSetSize`<sup>Optional</sup> <a name="residentSetSize" id="mise-projen.LaunchdResourceLimits.property.residentSetSize"></a>
|
|
1784
|
+
|
|
1785
|
+
```typescript
|
|
1786
|
+
public readonly residentSetSize: number;
|
|
1787
|
+
```
|
|
1788
|
+
|
|
1789
|
+
- *Type:* number
|
|
1790
|
+
|
|
1791
|
+
write ResidentSetSize, the resident memory in bytes.
|
|
1792
|
+
|
|
1793
|
+
---
|
|
1794
|
+
|
|
1795
|
+
##### `stack`<sup>Optional</sup> <a name="stack" id="mise-projen.LaunchdResourceLimits.property.stack"></a>
|
|
1796
|
+
|
|
1797
|
+
```typescript
|
|
1798
|
+
public readonly stack: number;
|
|
1799
|
+
```
|
|
1800
|
+
|
|
1801
|
+
- *Type:* number
|
|
1802
|
+
|
|
1803
|
+
write Stack, the stack size in bytes.
|
|
1804
|
+
|
|
1805
|
+
---
|
|
1806
|
+
|
|
1669
1807
|
### MiseFileOptions <a name="MiseFileOptions" id="mise-projen.MiseFileOptions"></a>
|
|
1670
1808
|
|
|
1671
1809
|
Options for `Mise` / `MiseFile`.
|
|
@@ -2306,7 +2444,7 @@ const miseTomlSchemaBootstrap: MiseTomlSchemaBootstrap = { ... }
|
|
|
2306
2444
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.linux">linux</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapLinux">MiseTomlSchemaBootstrapLinux</a></code> | Linux-specific bootstrap config. |
|
|
2307
2445
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.macos">macos</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacos">MiseTomlSchemaBootstrapMacos</a></code> | macOS-specific bootstrap config. |
|
|
2308
2446
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.miseShellActivate">miseShellActivate</a></code> | <code><a href="#mise-projen.BootstrapMiseShellActivate">BootstrapMiseShellActivate</a></code> | *No description.* |
|
|
2309
|
-
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.packages">packages</a></code> | <code>{[ key: string ]: any}</code> | system packages to install with `mise bootstrap packages apply`, keyed by "manager:package" (e.g. "apt:libssl-dev", "brew:postgresql@17", "dnf:openssl-devel", "pacman:base-devel"). |
|
|
2447
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.packages">packages</a></code> | <code>{[ key: string ]: any}</code> | system packages to install with `mise bootstrap packages apply`, keyed by "manager:package", or by a bare package name that mise installs with one manager chosen from system_packages.prefer (e.g. "apt:libssl-dev", "brew:postgresql@17", "dnf:openssl-devel", "pacman:base-devel"). |
|
|
2310
2448
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.plugins">plugins</a></code> | <code>{[ key: string ]: string}</code> | package manager plugins to install with `mise bootstrap plugins apply`, keyed by manager name. |
|
|
2311
2449
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrap.property.remote">remote</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapRemote">MiseTomlSchemaBootstrapRemote</a></code> | OpenSSH targets used by `mise bootstrap remote`. |
|
|
2312
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. |
|
|
@@ -2481,7 +2619,7 @@ public readonly packages: {[ key: string ]: any};
|
|
|
2481
2619
|
|
|
2482
2620
|
- *Type:* {[ key: string ]: any}
|
|
2483
2621
|
|
|
2484
|
-
system packages to install with `mise bootstrap packages apply`, keyed by "manager:package" (e.g. "apt:libssl-dev", "brew:postgresql@17", "dnf:openssl-devel", "pacman:base-devel").
|
|
2622
|
+
system packages to install with `mise bootstrap packages apply`, keyed by "manager:package", or by a bare package name that mise installs with one manager chosen from system_packages.prefer (e.g. "apt:libssl-dev", "brew:postgresql@17", "dnf:openssl-devel", "pacman:base-devel").
|
|
2485
2623
|
|
|
2486
2624
|
---
|
|
2487
2625
|
|
|
@@ -4506,6 +4644,7 @@ const miseTomlSchemaBootstrapMacosLaunchdAgents: MiseTomlSchemaBootstrapMacosLau
|
|
|
4506
4644
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.program">program</a></code> | <code>string</code> | program path for ProgramArguments[0]. |
|
|
4507
4645
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.args">args</a></code> | <code>string[]</code> | additional ProgramArguments entries. |
|
|
4508
4646
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.environment">environment</a></code> | <code>{[ key: string ]: string}</code> | environment variables for EnvironmentVariables. |
|
|
4647
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.hardResourceLimits">hardResourceLimits</a></code> | <code><a href="#mise-projen.LaunchdResourceLimits">LaunchdResourceLimits</a></code> | write HardResourceLimits, the ceilings the program cannot raise its soft limits above. |
|
|
4509
4648
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.keepAlive">keepAlive</a></code> | <code>boolean</code> | write KeepAlive. |
|
|
4510
4649
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.keepAliveOnFailure">keepAliveOnFailure</a></code> | <code>boolean</code> | write KeepAlive = { SuccessfulExit = false }, so launchd relaunches the job only after a failure; |
|
|
4511
4650
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.kickstart">kickstart</a></code> | <code>boolean</code> | run `launchctl kickstart -k` after loading the agent. |
|
|
@@ -4514,6 +4653,7 @@ const miseTomlSchemaBootstrapMacosLaunchdAgents: MiseTomlSchemaBootstrapMacosLau
|
|
|
4514
4653
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.processType">processType</a></code> | <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgentsProcessType">MiseTomlSchemaBootstrapMacosLaunchdAgentsProcessType</a></code> | write ProcessType, the scheduling band launchd runs the job in. |
|
|
4515
4654
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.queueDirectories">queueDirectories</a></code> | <code>string[]</code> | write QueueDirectories (absolute paths; |
|
|
4516
4655
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.runAtLoad">runAtLoad</a></code> | <code>boolean</code> | write RunAtLoad. |
|
|
4656
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.softResourceLimits">softResourceLimits</a></code> | <code><a href="#mise-projen.LaunchdResourceLimits">LaunchdResourceLimits</a></code> | write SoftResourceLimits, the resource limits the program starts with and may raise up to the hard limits. |
|
|
4517
4657
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.startCalendarInterval">startCalendarInterval</a></code> | <code><a href="#mise-projen.LaunchdCalendarInterval">LaunchdCalendarInterval</a>[]</code> | write one or more StartCalendarInterval schedules. |
|
|
4518
4658
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.startInterval">startInterval</a></code> | <code>number</code> | write StartInterval in seconds. |
|
|
4519
4659
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.stderrPath">stderrPath</a></code> | <code>string</code> | write StandardErrorPath. |
|
|
@@ -4559,6 +4699,18 @@ environment variables for EnvironmentVariables.
|
|
|
4559
4699
|
|
|
4560
4700
|
---
|
|
4561
4701
|
|
|
4702
|
+
##### `hardResourceLimits`<sup>Optional</sup> <a name="hardResourceLimits" id="mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.hardResourceLimits"></a>
|
|
4703
|
+
|
|
4704
|
+
```typescript
|
|
4705
|
+
public readonly hardResourceLimits: LaunchdResourceLimits;
|
|
4706
|
+
```
|
|
4707
|
+
|
|
4708
|
+
- *Type:* <a href="#mise-projen.LaunchdResourceLimits">LaunchdResourceLimits</a>
|
|
4709
|
+
|
|
4710
|
+
write HardResourceLimits, the ceilings the program cannot raise its soft limits above.
|
|
4711
|
+
|
|
4712
|
+
---
|
|
4713
|
+
|
|
4562
4714
|
##### `keepAlive`<sup>Optional</sup> <a name="keepAlive" id="mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.keepAlive"></a>
|
|
4563
4715
|
|
|
4564
4716
|
```typescript
|
|
@@ -4659,6 +4811,18 @@ write RunAtLoad.
|
|
|
4659
4811
|
|
|
4660
4812
|
---
|
|
4661
4813
|
|
|
4814
|
+
##### `softResourceLimits`<sup>Optional</sup> <a name="softResourceLimits" id="mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.softResourceLimits"></a>
|
|
4815
|
+
|
|
4816
|
+
```typescript
|
|
4817
|
+
public readonly softResourceLimits: LaunchdResourceLimits;
|
|
4818
|
+
```
|
|
4819
|
+
|
|
4820
|
+
- *Type:* <a href="#mise-projen.LaunchdResourceLimits">LaunchdResourceLimits</a>
|
|
4821
|
+
|
|
4822
|
+
write SoftResourceLimits, the resource limits the program starts with and may raise up to the hard limits.
|
|
4823
|
+
|
|
4824
|
+
---
|
|
4825
|
+
|
|
4662
4826
|
##### `startCalendarInterval`<sup>Optional</sup> <a name="startCalendarInterval" id="mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.startCalendarInterval"></a>
|
|
4663
4827
|
|
|
4664
4828
|
```typescript
|
|
@@ -10121,6 +10285,7 @@ const settingsHistory: SettingsHistory = { ... }
|
|
|
10121
10285
|
| <code><a href="#mise-projen.SettingsHistory.property.describeCommand">describeCommand</a></code> | <code>string</code> | Command, such as an AI agent, that writes the description of each checkpoint the history watcher saves. |
|
|
10122
10286
|
| <code><a href="#mise-projen.SettingsHistory.property.enabled">enabled</a></code> | <code>boolean</code> | Record Git checkpoints of tracked files around bootstrap operations and on explicit saves. |
|
|
10123
10287
|
| <code><a href="#mise-projen.SettingsHistory.property.fetchInterval">fetchInterval</a></code> | <code>string</code> | How often the history watcher fetches from the setup repository. |
|
|
10288
|
+
| <code><a href="#mise-projen.SettingsHistory.property.lockWait">lockWait</a></code> | <code>string</code> | How long a command waits for another history operation before failing. |
|
|
10124
10289
|
| <code><a href="#mise-projen.SettingsHistory.property.notify">notify</a></code> | <code>boolean</code> | Show a desktop notification when a sync conflict pauses sharing. |
|
|
10125
10290
|
| <code><a href="#mise-projen.SettingsHistory.property.sync">sync</a></code> | <code><a href="#mise-projen.SettingsHistorySync">SettingsHistorySync</a></code> | What the history watcher shares with a connected setup repository on its own. |
|
|
10126
10291
|
| <code><a href="#mise-projen.SettingsHistory.property.syncInterval">syncInterval</a></code> | <code>string</code> | Minimum time between automatic publishes to the setup repository after a save. |
|
|
@@ -10176,6 +10341,18 @@ How often the history watcher fetches from the setup repository.
|
|
|
10176
10341
|
|
|
10177
10342
|
---
|
|
10178
10343
|
|
|
10344
|
+
##### `lockWait`<sup>Optional</sup> <a name="lockWait" id="mise-projen.SettingsHistory.property.lockWait"></a>
|
|
10345
|
+
|
|
10346
|
+
```typescript
|
|
10347
|
+
public readonly lockWait: string;
|
|
10348
|
+
```
|
|
10349
|
+
|
|
10350
|
+
- *Type:* string
|
|
10351
|
+
|
|
10352
|
+
How long a command waits for another history operation before failing.
|
|
10353
|
+
|
|
10354
|
+
---
|
|
10355
|
+
|
|
10179
10356
|
##### `notify`<sup>Optional</sup> <a name="notify" id="mise-projen.SettingsHistory.property.notify"></a>
|
|
10180
10357
|
|
|
10181
10358
|
```typescript
|
|
@@ -11917,6 +12094,7 @@ const settingsSystemPackages: SettingsSystemPackages = { ... }
|
|
|
11917
12094
|
| <code><a href="#mise-projen.SettingsSystemPackages.property.elevateWith">elevateWith</a></code> | <code>string</code> | Command mise uses to get root instead of `sudo`, such as `run0` or `doas`. |
|
|
11918
12095
|
| <code><a href="#mise-projen.SettingsSystemPackages.property.managers">managers</a></code> | <code>string[]</code> | Package managers that mise may use for `[bootstrap.packages]` and missing plugin dependencies. |
|
|
11919
12096
|
| <code><a href="#mise-projen.SettingsSystemPackages.property.ostree">ostree</a></code> | <code><a href="#mise-projen.SettingsSystemPackagesOstree">SettingsSystemPackagesOstree</a></code> | What mise does with `dnf:` packages on an image-based Fedora host such as Silverblue or Bazzite. |
|
|
12097
|
+
| <code><a href="#mise-projen.SettingsSystemPackages.property.prefer">prefer</a></code> | <code>string[]</code> | Package managers, in order, that an unprefixed `[bootstrap.packages]` key may use. |
|
|
11920
12098
|
| <code><a href="#mise-projen.SettingsSystemPackages.property.sudo">sudo</a></code> | <code>boolean</code> | Let mise run `sudo` for steps that need root, such as system packages and `mise install --system`. |
|
|
11921
12099
|
|
|
11922
12100
|
---
|
|
@@ -11957,6 +12135,18 @@ What mise does with `dnf:` packages on an image-based Fedora host such as Silver
|
|
|
11957
12135
|
|
|
11958
12136
|
---
|
|
11959
12137
|
|
|
12138
|
+
##### `prefer`<sup>Optional</sup> <a name="prefer" id="mise-projen.SettingsSystemPackages.property.prefer"></a>
|
|
12139
|
+
|
|
12140
|
+
```typescript
|
|
12141
|
+
public readonly prefer: string[];
|
|
12142
|
+
```
|
|
12143
|
+
|
|
12144
|
+
- *Type:* string[]
|
|
12145
|
+
|
|
12146
|
+
Package managers, in order, that an unprefixed `[bootstrap.packages]` key may use.
|
|
12147
|
+
|
|
12148
|
+
---
|
|
12149
|
+
|
|
11960
12150
|
##### `sudo`<sup>Optional</sup> <a name="sudo" id="mise-projen.SettingsSystemPackages.property.sudo"></a>
|
|
11961
12151
|
|
|
11962
12152
|
```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.41" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -1648,7 +1648,7 @@ export interface MiseTomlSchemaBootstrap {
|
|
|
1648
1648
|
[key: string]: string;
|
|
1649
1649
|
};
|
|
1650
1650
|
/**
|
|
1651
|
-
* system packages to install with `mise bootstrap packages apply`, keyed by "manager:package" (e.g. "apt:libssl-dev", "brew:postgresql@17", "dnf:openssl-devel", "pacman:base-devel")
|
|
1651
|
+
* system packages to install with `mise bootstrap packages apply`, keyed by "manager:package", or by a bare package name that mise installs with one manager chosen from system_packages.prefer (e.g. "apt:libssl-dev", "brew:postgresql@17", "dnf:openssl-devel", "pacman:base-devel")
|
|
1652
1652
|
*
|
|
1653
1653
|
* @schema MiseTomlSchemaBootstrap#packages
|
|
1654
1654
|
*/
|
|
@@ -2741,6 +2741,12 @@ export interface SettingsHistory {
|
|
|
2741
2741
|
* @schema SettingsHistory#fetch_interval
|
|
2742
2742
|
*/
|
|
2743
2743
|
readonly fetchInterval?: string;
|
|
2744
|
+
/**
|
|
2745
|
+
* How long a command waits for another history operation before failing.
|
|
2746
|
+
*
|
|
2747
|
+
* @schema SettingsHistory#lock_wait
|
|
2748
|
+
*/
|
|
2749
|
+
readonly lockWait?: string;
|
|
2744
2750
|
/**
|
|
2745
2751
|
* Show a desktop notification when a sync conflict pauses sharing.
|
|
2746
2752
|
*
|
|
@@ -3661,6 +3667,12 @@ export interface SettingsSystemPackages {
|
|
|
3661
3667
|
* @schema SettingsSystemPackages#ostree
|
|
3662
3668
|
*/
|
|
3663
3669
|
readonly ostree?: SettingsSystemPackagesOstree;
|
|
3670
|
+
/**
|
|
3671
|
+
* Package managers, in order, that an unprefixed `[bootstrap.packages]` key may use.
|
|
3672
|
+
*
|
|
3673
|
+
* @schema SettingsSystemPackages#prefer
|
|
3674
|
+
*/
|
|
3675
|
+
readonly prefer?: string[];
|
|
3664
3676
|
/**
|
|
3665
3677
|
* Let mise run `sudo` for steps that need root, such as system packages and `mise install --system`.
|
|
3666
3678
|
*
|
|
@@ -6154,6 +6166,18 @@ export interface MiseTomlSchemaBootstrapMacosLaunchdAgents {
|
|
|
6154
6166
|
* @schema MiseTomlSchemaBootstrapMacosLaunchdAgents#stderr_path
|
|
6155
6167
|
*/
|
|
6156
6168
|
readonly stderrPath?: string;
|
|
6169
|
+
/**
|
|
6170
|
+
* write SoftResourceLimits, the resource limits the program starts with and may raise up to the hard limits
|
|
6171
|
+
*
|
|
6172
|
+
* @schema MiseTomlSchemaBootstrapMacosLaunchdAgents#soft_resource_limits
|
|
6173
|
+
*/
|
|
6174
|
+
readonly softResourceLimits?: LaunchdResourceLimits;
|
|
6175
|
+
/**
|
|
6176
|
+
* write HardResourceLimits, the ceilings the program cannot raise its soft limits above
|
|
6177
|
+
*
|
|
6178
|
+
* @schema MiseTomlSchemaBootstrapMacosLaunchdAgents#hard_resource_limits
|
|
6179
|
+
*/
|
|
6180
|
+
readonly hardResourceLimits?: LaunchdResourceLimits;
|
|
6157
6181
|
/**
|
|
6158
6182
|
* run `launchctl kickstart -k` after loading the agent
|
|
6159
6183
|
*
|
|
@@ -6589,6 +6613,72 @@ export interface LaunchdCalendarInterval {
|
|
|
6589
6613
|
* @internal
|
|
6590
6614
|
*/
|
|
6591
6615
|
export declare function toJson_LaunchdCalendarInterval(obj: LaunchdCalendarInterval | undefined): Record<string, any> | undefined;
|
|
6616
|
+
/**
|
|
6617
|
+
* resource limits for launchd SoftResourceLimits and HardResourceLimits
|
|
6618
|
+
*
|
|
6619
|
+
* @schema launchd_resource_limits
|
|
6620
|
+
*/
|
|
6621
|
+
export interface LaunchdResourceLimits {
|
|
6622
|
+
/**
|
|
6623
|
+
* write Core, the largest core file in bytes
|
|
6624
|
+
*
|
|
6625
|
+
* @schema launchd_resource_limits#core
|
|
6626
|
+
*/
|
|
6627
|
+
readonly core?: number;
|
|
6628
|
+
/**
|
|
6629
|
+
* write CPU, the CPU time in seconds
|
|
6630
|
+
*
|
|
6631
|
+
* @schema launchd_resource_limits#cpu
|
|
6632
|
+
*/
|
|
6633
|
+
readonly cpu?: number;
|
|
6634
|
+
/**
|
|
6635
|
+
* write Data, the data segment size in bytes
|
|
6636
|
+
*
|
|
6637
|
+
* @schema launchd_resource_limits#data
|
|
6638
|
+
*/
|
|
6639
|
+
readonly data?: number;
|
|
6640
|
+
/**
|
|
6641
|
+
* write FileSize, the largest file the program may create in bytes
|
|
6642
|
+
*
|
|
6643
|
+
* @schema launchd_resource_limits#file_size
|
|
6644
|
+
*/
|
|
6645
|
+
readonly fileSize?: number;
|
|
6646
|
+
/**
|
|
6647
|
+
* write MemoryLock, the memory the program may lock in bytes
|
|
6648
|
+
*
|
|
6649
|
+
* @schema launchd_resource_limits#memory_lock
|
|
6650
|
+
*/
|
|
6651
|
+
readonly memoryLock?: number;
|
|
6652
|
+
/**
|
|
6653
|
+
* write NumberOfFiles, the open file descriptors; launchd starts agents with a soft limit of 256
|
|
6654
|
+
*
|
|
6655
|
+
* @schema launchd_resource_limits#number_of_files
|
|
6656
|
+
*/
|
|
6657
|
+
readonly numberOfFiles?: number;
|
|
6658
|
+
/**
|
|
6659
|
+
* write NumberOfProcesses, the processes the user may run
|
|
6660
|
+
*
|
|
6661
|
+
* @schema launchd_resource_limits#number_of_processes
|
|
6662
|
+
*/
|
|
6663
|
+
readonly numberOfProcesses?: number;
|
|
6664
|
+
/**
|
|
6665
|
+
* write ResidentSetSize, the resident memory in bytes
|
|
6666
|
+
*
|
|
6667
|
+
* @schema launchd_resource_limits#resident_set_size
|
|
6668
|
+
*/
|
|
6669
|
+
readonly residentSetSize?: number;
|
|
6670
|
+
/**
|
|
6671
|
+
* write Stack, the stack size in bytes
|
|
6672
|
+
*
|
|
6673
|
+
* @schema launchd_resource_limits#stack
|
|
6674
|
+
*/
|
|
6675
|
+
readonly stack?: number;
|
|
6676
|
+
}
|
|
6677
|
+
/**
|
|
6678
|
+
* Converts an object of type 'LaunchdResourceLimits' to JSON representation.
|
|
6679
|
+
* @internal
|
|
6680
|
+
*/
|
|
6681
|
+
export declare function toJson_LaunchdResourceLimits(obj: LaunchdResourceLimits | undefined): Record<string, any> | undefined;
|
|
6592
6682
|
/**
|
|
6593
6683
|
* present adds the rule; absent removes a rule mise added earlier
|
|
6594
6684
|
*
|