mise-projen 0.0.26 → 0.0.28
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 +902 -827
- package/API.md +40 -1
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +25 -1
- package/lib/miseConfig.js +9 -6
- package/lib/miseFile.js +1 -1
- package/package.json +1 -1
- package/schemas/mise.json +225 -8
package/API.md
CHANGED
|
@@ -2616,6 +2616,7 @@ const miseTomlSchemaBootstrapBrew: MiseTomlSchemaBootstrapBrew = { ... }
|
|
|
2616
2616
|
| **Name** | **Type** | **Description** |
|
|
2617
2617
|
| --- | --- | --- |
|
|
2618
2618
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapBrew.property.adopt">adopt</a></code> | <code>boolean</code> | adopt existing app artifacts by default for configured brew-cask packages. |
|
|
2619
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapBrew.property.homebrewMetadata">homebrewMetadata</a></code> | <code>boolean</code> | write Homebrew's cask metadata after mise installs a brew-cask package, so `brew upgrade` and `brew outdated` manage it afterwards. |
|
|
2619
2620
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapBrew.property.taps">taps</a></code> | <code>{[ key: string ]: string}</code> | Homebrew tap names mapped to custom git URLs. |
|
|
2620
2621
|
|
|
2621
2622
|
---
|
|
@@ -2632,6 +2633,18 @@ adopt existing app artifacts by default for configured brew-cask packages.
|
|
|
2632
2633
|
|
|
2633
2634
|
---
|
|
2634
2635
|
|
|
2636
|
+
##### `homebrewMetadata`<sup>Optional</sup> <a name="homebrewMetadata" id="mise-projen.MiseTomlSchemaBootstrapBrew.property.homebrewMetadata"></a>
|
|
2637
|
+
|
|
2638
|
+
```typescript
|
|
2639
|
+
public readonly homebrewMetadata: boolean;
|
|
2640
|
+
```
|
|
2641
|
+
|
|
2642
|
+
- *Type:* boolean
|
|
2643
|
+
|
|
2644
|
+
write Homebrew's cask metadata after mise installs a brew-cask package, so `brew upgrade` and `brew outdated` manage it afterwards.
|
|
2645
|
+
|
|
2646
|
+
---
|
|
2647
|
+
|
|
2635
2648
|
##### `taps`<sup>Optional</sup> <a name="taps" id="mise-projen.MiseTomlSchemaBootstrapBrew.property.taps"></a>
|
|
2636
2649
|
|
|
2637
2650
|
```typescript
|
|
@@ -4496,6 +4509,7 @@ const miseTomlSchemaBootstrapMacosLaunchdAgents: MiseTomlSchemaBootstrapMacosLau
|
|
|
4496
4509
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.keepAlive">keepAlive</a></code> | <code>boolean</code> | write KeepAlive. |
|
|
4497
4510
|
| <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; |
|
|
4498
4511
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.kickstart">kickstart</a></code> | <code>boolean</code> | run `launchctl kickstart -k` after loading the agent. |
|
|
4512
|
+
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.launchEvents">launchEvents</a></code> | <code>{[ key: string ]: {[ key: string ]: {[ key: string ]: any}}}</code> | write LaunchEvents, keyed by event stream, then event name, with launchd's case-sensitive property names. |
|
|
4499
4513
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.nice">nice</a></code> | <code>number</code> | write Nice, the niceness of the process, from -20 to 20. |
|
|
4500
4514
|
| <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. |
|
|
4501
4515
|
| <code><a href="#mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.queueDirectories">queueDirectories</a></code> | <code>string[]</code> | write QueueDirectories (absolute paths; |
|
|
@@ -4583,6 +4597,18 @@ run `launchctl kickstart -k` after loading the agent.
|
|
|
4583
4597
|
|
|
4584
4598
|
---
|
|
4585
4599
|
|
|
4600
|
+
##### `launchEvents`<sup>Optional</sup> <a name="launchEvents" id="mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.launchEvents"></a>
|
|
4601
|
+
|
|
4602
|
+
```typescript
|
|
4603
|
+
public readonly launchEvents: {[ key: string ]: {[ key: string ]: {[ key: string ]: any}}};
|
|
4604
|
+
```
|
|
4605
|
+
|
|
4606
|
+
- *Type:* {[ key: string ]: {[ key: string ]: {[ key: string ]: any}}}
|
|
4607
|
+
|
|
4608
|
+
write LaunchEvents, keyed by event stream, then event name, with launchd's case-sensitive property names.
|
|
4609
|
+
|
|
4610
|
+
---
|
|
4611
|
+
|
|
4586
4612
|
##### `nice`<sup>Optional</sup> <a name="nice" id="mise-projen.MiseTomlSchemaBootstrapMacosLaunchdAgents.property.nice"></a>
|
|
4587
4613
|
|
|
4588
4614
|
```typescript
|
|
@@ -5166,7 +5192,7 @@ applies to the first clone only
|
|
|
5166
5192
|
|
|
5167
5193
|
### MiseTomlSchemaBootstrapServices <a name="MiseTomlSchemaBootstrapServices" id="mise-projen.MiseTomlSchemaBootstrapServices"></a>
|
|
5168
5194
|
|
|
5169
|
-
Linux systemd
|
|
5195
|
+
Linux systemd unit that mise starts, stops, enables, or masks (a system unit, or with scope user an existing user unit), or a user service mise defines from command or builtin.
|
|
5170
5196
|
|
|
5171
5197
|
#### Initializer <a name="Initializer" id="mise-projen.MiseTomlSchemaBootstrapServices.Initializer"></a>
|
|
5172
5198
|
|
|
@@ -6802,6 +6828,7 @@ const settings: Settings = { ... }
|
|
|
6802
6828
|
| <code><a href="#mise-projen.Settings.property.ignoredConfigPaths">ignoredConfigPaths</a></code> | <code>string[]</code> | Config files and directories mise does not load. |
|
|
6803
6829
|
| <code><a href="#mise-projen.Settings.property.installBefore">installBefore</a></code> | <code>string</code> | [deprecated] Install only versions released before this date; |
|
|
6804
6830
|
| <code><a href="#mise-projen.Settings.property.installLayout">installLayout</a></code> | <code><a href="#mise-projen.SettingsInstallLayout">SettingsInstallLayout</a></code> | [experimental] Name installations by what they are (`identity`) instead of `installs/<tool>/<version>` (`legacy`). |
|
|
6831
|
+
| <code><a href="#mise-projen.Settings.property.ipv4Only">ipv4Only</a></code> | <code>boolean</code> | Connect to remote hosts over IPv4 only. |
|
|
6805
6832
|
| <code><a href="#mise-projen.Settings.property.java">java</a></code> | <code><a href="#mise-projen.SettingsJava">SettingsJava</a></code> | *No description.* |
|
|
6806
6833
|
| <code><a href="#mise-projen.Settings.property.jobs">jobs</a></code> | <code>number</code> | How many jobs to run concurrently such as tool installs. |
|
|
6807
6834
|
| <code><a href="#mise-projen.Settings.property.legacyVersionFile">legacyVersionFile</a></code> | <code>boolean</code> | [deprecated] No effect; |
|
|
@@ -7813,6 +7840,18 @@ public readonly installLayout: SettingsInstallLayout;
|
|
|
7813
7840
|
|
|
7814
7841
|
---
|
|
7815
7842
|
|
|
7843
|
+
##### `ipv4Only`<sup>Optional</sup> <a name="ipv4Only" id="mise-projen.Settings.property.ipv4Only"></a>
|
|
7844
|
+
|
|
7845
|
+
```typescript
|
|
7846
|
+
public readonly ipv4Only: boolean;
|
|
7847
|
+
```
|
|
7848
|
+
|
|
7849
|
+
- *Type:* boolean
|
|
7850
|
+
|
|
7851
|
+
Connect to remote hosts over IPv4 only.
|
|
7852
|
+
|
|
7853
|
+
---
|
|
7854
|
+
|
|
7816
7855
|
##### `java`<sup>Optional</sup> <a name="java" id="mise-projen.Settings.property.java"></a>
|
|
7817
7856
|
|
|
7818
7857
|
```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.28" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -933,6 +933,12 @@ export interface Settings {
|
|
|
933
933
|
* @schema settings#install_layout
|
|
934
934
|
*/
|
|
935
935
|
readonly installLayout?: SettingsInstallLayout;
|
|
936
|
+
/**
|
|
937
|
+
* Connect to remote hosts over IPv4 only.
|
|
938
|
+
*
|
|
939
|
+
* @schema settings#ipv4_only
|
|
940
|
+
*/
|
|
941
|
+
readonly ipv4Only?: boolean;
|
|
936
942
|
/**
|
|
937
943
|
* @schema settings#java
|
|
938
944
|
*/
|
|
@@ -4127,7 +4133,7 @@ export interface MiseTomlSchemaBootstrapRemote {
|
|
|
4127
4133
|
*/
|
|
4128
4134
|
export declare function toJson_MiseTomlSchemaBootstrapRemote(obj: MiseTomlSchemaBootstrapRemote | undefined): Record<string, any> | undefined;
|
|
4129
4135
|
/**
|
|
4130
|
-
* Linux systemd
|
|
4136
|
+
* Linux systemd unit that mise starts, stops, enables, or masks (a system unit, or with scope user an existing user unit), or a user service mise defines from command or builtin
|
|
4131
4137
|
*
|
|
4132
4138
|
* @schema MiseTomlSchemaBootstrapServices
|
|
4133
4139
|
*/
|
|
@@ -4543,6 +4549,12 @@ export interface MiseTomlSchemaBootstrapBrew {
|
|
|
4543
4549
|
* @schema MiseTomlSchemaBootstrapBrew#adopt
|
|
4544
4550
|
*/
|
|
4545
4551
|
readonly adopt?: boolean;
|
|
4552
|
+
/**
|
|
4553
|
+
* write Homebrew's cask metadata after mise installs a brew-cask package, so `brew upgrade` and `brew outdated` manage it afterwards
|
|
4554
|
+
*
|
|
4555
|
+
* @schema MiseTomlSchemaBootstrapBrew#homebrew_metadata
|
|
4556
|
+
*/
|
|
4557
|
+
readonly homebrewMetadata?: boolean;
|
|
4546
4558
|
/**
|
|
4547
4559
|
* Homebrew tap names mapped to custom git URLs
|
|
4548
4560
|
*
|
|
@@ -6040,6 +6052,18 @@ export interface MiseTomlSchemaBootstrapMacosLaunchdAgents {
|
|
|
6040
6052
|
* @schema MiseTomlSchemaBootstrapMacosLaunchdAgents#queue_directories
|
|
6041
6053
|
*/
|
|
6042
6054
|
readonly queueDirectories?: string[];
|
|
6055
|
+
/**
|
|
6056
|
+
* write LaunchEvents, keyed by event stream, then event name, with launchd's case-sensitive property names
|
|
6057
|
+
*
|
|
6058
|
+
* @schema MiseTomlSchemaBootstrapMacosLaunchdAgents#launch_events
|
|
6059
|
+
*/
|
|
6060
|
+
readonly launchEvents?: {
|
|
6061
|
+
[key: string]: {
|
|
6062
|
+
[key: string]: {
|
|
6063
|
+
[key: string]: any;
|
|
6064
|
+
};
|
|
6065
|
+
};
|
|
6066
|
+
};
|
|
6043
6067
|
/**
|
|
6044
6068
|
* environment variables for EnvironmentVariables
|
|
6045
6069
|
*
|