mise-projen 0.0.26 → 0.0.27
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 +340 -285
- package/API.md +27 -1
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +19 -1
- package/lib/miseConfig.js +8 -6
- package/lib/miseFile.js +1 -1
- package/package.json +1 -1
- package/schemas/mise.json +22 -1
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
|
|
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.27" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -4127,7 +4127,7 @@ export interface MiseTomlSchemaBootstrapRemote {
|
|
|
4127
4127
|
*/
|
|
4128
4128
|
export declare function toJson_MiseTomlSchemaBootstrapRemote(obj: MiseTomlSchemaBootstrapRemote | undefined): Record<string, any> | undefined;
|
|
4129
4129
|
/**
|
|
4130
|
-
* Linux systemd
|
|
4130
|
+
* 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
4131
|
*
|
|
4132
4132
|
* @schema MiseTomlSchemaBootstrapServices
|
|
4133
4133
|
*/
|
|
@@ -4543,6 +4543,12 @@ export interface MiseTomlSchemaBootstrapBrew {
|
|
|
4543
4543
|
* @schema MiseTomlSchemaBootstrapBrew#adopt
|
|
4544
4544
|
*/
|
|
4545
4545
|
readonly adopt?: boolean;
|
|
4546
|
+
/**
|
|
4547
|
+
* write Homebrew's cask metadata after mise installs a brew-cask package, so `brew upgrade` and `brew outdated` manage it afterwards
|
|
4548
|
+
*
|
|
4549
|
+
* @schema MiseTomlSchemaBootstrapBrew#homebrew_metadata
|
|
4550
|
+
*/
|
|
4551
|
+
readonly homebrewMetadata?: boolean;
|
|
4546
4552
|
/**
|
|
4547
4553
|
* Homebrew tap names mapped to custom git URLs
|
|
4548
4554
|
*
|
|
@@ -6040,6 +6046,18 @@ export interface MiseTomlSchemaBootstrapMacosLaunchdAgents {
|
|
|
6040
6046
|
* @schema MiseTomlSchemaBootstrapMacosLaunchdAgents#queue_directories
|
|
6041
6047
|
*/
|
|
6042
6048
|
readonly queueDirectories?: string[];
|
|
6049
|
+
/**
|
|
6050
|
+
* write LaunchEvents, keyed by event stream, then event name, with launchd's case-sensitive property names
|
|
6051
|
+
*
|
|
6052
|
+
* @schema MiseTomlSchemaBootstrapMacosLaunchdAgents#launch_events
|
|
6053
|
+
*/
|
|
6054
|
+
readonly launchEvents?: {
|
|
6055
|
+
[key: string]: {
|
|
6056
|
+
[key: string]: {
|
|
6057
|
+
[key: string]: any;
|
|
6058
|
+
};
|
|
6059
|
+
};
|
|
6060
|
+
};
|
|
6043
6061
|
/**
|
|
6044
6062
|
* environment variables for EnvironmentVariables
|
|
6045
6063
|
*
|