mise-projen 0.0.44 → 0.0.45
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 +470 -445
- package/API.md +13 -0
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +8 -0
- package/lib/miseConfig.js +7 -6
- package/lib/miseFile.js +1 -1
- package/package.json +3 -3
- package/schemas/mise.json +120 -12
package/lib/miseFile.js
CHANGED
|
@@ -16,7 +16,7 @@ const MISE_COMPONENT_ID = 'Mise';
|
|
|
16
16
|
* `TypescriptConfig` lets several components shape a single `tsconfig.json`.
|
|
17
17
|
*/
|
|
18
18
|
class MiseFile extends projen_1.Component {
|
|
19
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.MiseFile", version: "0.0.
|
|
19
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "mise-projen.MiseFile", version: "0.0.45" };
|
|
20
20
|
/**
|
|
21
21
|
* Returns the `MiseFile` instance already attached to the given project, if any.
|
|
22
22
|
*/
|
package/package.json
CHANGED
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"jest": "^30.5.2",
|
|
25
25
|
"jest-junit": "^17",
|
|
26
26
|
"jsii": "~6.0.0",
|
|
27
|
-
"jsii-diff": "^1.
|
|
27
|
+
"jsii-diff": "^1.143.0",
|
|
28
28
|
"jsii-docgen": "^10.5.0",
|
|
29
|
-
"jsii-pacmak": "^1.
|
|
29
|
+
"jsii-pacmak": "^1.143.0",
|
|
30
30
|
"jsii-rosetta": "~6.0.0",
|
|
31
31
|
"json2jsii": "^0.5.21",
|
|
32
32
|
"projen": "0.104.4",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"version": "0.0.
|
|
70
|
+
"version": "0.0.45",
|
|
71
71
|
"jest": {
|
|
72
72
|
"coverageProvider": "v8",
|
|
73
73
|
"testMatch": [
|
package/schemas/mise.json
CHANGED
|
@@ -3672,6 +3672,13 @@
|
|
|
3672
3672
|
"description": "How many recent runs of each task `mise tasks history` keeps.",
|
|
3673
3673
|
"type": "integer"
|
|
3674
3674
|
},
|
|
3675
|
+
"lock_pools": {
|
|
3676
|
+
"description": "How many slots each named task `lock` has, for locks that several runs hold at once.",
|
|
3677
|
+
"type": "object",
|
|
3678
|
+
"additionalProperties": {
|
|
3679
|
+
"type": "string"
|
|
3680
|
+
}
|
|
3681
|
+
},
|
|
3675
3682
|
"lock_timeout": {
|
|
3676
3683
|
"description": "How long a task waits for a lock another run holds before it fails.",
|
|
3677
3684
|
"type": "string"
|
|
@@ -4183,7 +4190,24 @@
|
|
|
4183
4190
|
"properties": {
|
|
4184
4191
|
"task": {
|
|
4185
4192
|
"type": "string",
|
|
4186
|
-
"description": "task name, alias, or pattern"
|
|
4193
|
+
"description": "task name, alias, or pattern; needed unless `tag` is set"
|
|
4194
|
+
},
|
|
4195
|
+
"tag": {
|
|
4196
|
+
"description": "select the tasks that have this tag, or any of these tags; with `task`, only the tasks it matches that have one",
|
|
4197
|
+
"oneOf": [
|
|
4198
|
+
{
|
|
4199
|
+
"type": "string",
|
|
4200
|
+
"description": "what kind of task this is, such as `test` or `lint`; `mise run --tag` and `mise tasks ls --tag` select tasks by it"
|
|
4201
|
+
},
|
|
4202
|
+
{
|
|
4203
|
+
"type": "array",
|
|
4204
|
+
"description": "what kind of task this is, such as `test`, `lint` or `slow`; `mise run --tag` and `mise tasks ls --tag` select tasks by them",
|
|
4205
|
+
"items": {
|
|
4206
|
+
"type": "string",
|
|
4207
|
+
"description": "a tag, such as `test`, `lint` or `slow`"
|
|
4208
|
+
}
|
|
4209
|
+
}
|
|
4210
|
+
]
|
|
4187
4211
|
},
|
|
4188
4212
|
"args": {
|
|
4189
4213
|
"type": "array",
|
|
@@ -4205,10 +4229,32 @@
|
|
|
4205
4229
|
"description": "do not fail when the task name or pattern has no matches"
|
|
4206
4230
|
}
|
|
4207
4231
|
},
|
|
4208
|
-
"
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4232
|
+
"unevaluatedProperties": false,
|
|
4233
|
+
"anyOf": [
|
|
4234
|
+
{
|
|
4235
|
+
"required": [
|
|
4236
|
+
"task"
|
|
4237
|
+
]
|
|
4238
|
+
},
|
|
4239
|
+
{
|
|
4240
|
+
"required": [
|
|
4241
|
+
"tag"
|
|
4242
|
+
],
|
|
4243
|
+
"properties": {
|
|
4244
|
+
"tag": {
|
|
4245
|
+
"anyOf": [
|
|
4246
|
+
{
|
|
4247
|
+
"type": "string"
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"type": "array",
|
|
4251
|
+
"minItems": 1
|
|
4252
|
+
}
|
|
4253
|
+
]
|
|
4254
|
+
}
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
]
|
|
4212
4258
|
},
|
|
4213
4259
|
"task_props": {
|
|
4214
4260
|
"type": "object",
|
|
@@ -4663,17 +4709,67 @@
|
|
|
4663
4709
|
"description": "`true` lets one run of this task at a time across every worktree of its repository; `false` takes no lock"
|
|
4664
4710
|
},
|
|
4665
4711
|
{
|
|
4666
|
-
"
|
|
4667
|
-
"
|
|
4668
|
-
|
|
4712
|
+
"description": "a lock shared by every task on this machine that names it",
|
|
4713
|
+
"oneOf": [
|
|
4714
|
+
{
|
|
4715
|
+
"type": "string",
|
|
4716
|
+
"description": "a lock name shared by every task on this machine that names it; the task holds one of its slots",
|
|
4717
|
+
"pattern": "^(?![^,]*:\\d+$)[^,]*\\S[^,]*$"
|
|
4718
|
+
},
|
|
4719
|
+
{
|
|
4720
|
+
"type": "object",
|
|
4721
|
+
"description": "a lock shared by every task on this machine that names it, of which the task holds `count` slots",
|
|
4722
|
+
"required": [
|
|
4723
|
+
"name"
|
|
4724
|
+
],
|
|
4725
|
+
"properties": {
|
|
4726
|
+
"name": {
|
|
4727
|
+
"type": "string",
|
|
4728
|
+
"description": "a lock name shared by every task on this machine that names it",
|
|
4729
|
+
"pattern": "^(?![^,]*:\\d+$)[^,]*\\S[^,]*$"
|
|
4730
|
+
},
|
|
4731
|
+
"count": {
|
|
4732
|
+
"type": "integer",
|
|
4733
|
+
"description": "how many of the lock's slots the task holds while it runs; `task.lock_pools` sets how many slots the lock has, one unless it says more, and a count above that is lowered to it",
|
|
4734
|
+
"minimum": 1
|
|
4735
|
+
}
|
|
4736
|
+
},
|
|
4737
|
+
"unevaluatedProperties": false
|
|
4738
|
+
}
|
|
4739
|
+
]
|
|
4669
4740
|
},
|
|
4670
4741
|
{
|
|
4671
4742
|
"type": "array",
|
|
4672
|
-
"description": "
|
|
4743
|
+
"description": "locks shared by every task on this machine that names them, taken in sorted order",
|
|
4673
4744
|
"items": {
|
|
4674
|
-
"
|
|
4675
|
-
"
|
|
4676
|
-
|
|
4745
|
+
"description": "a lock shared by every task on this machine that names it",
|
|
4746
|
+
"oneOf": [
|
|
4747
|
+
{
|
|
4748
|
+
"type": "string",
|
|
4749
|
+
"description": "a lock name shared by every task on this machine that names it; the task holds one of its slots",
|
|
4750
|
+
"pattern": "^(?![^,]*:\\d+$)[^,]*\\S[^,]*$"
|
|
4751
|
+
},
|
|
4752
|
+
{
|
|
4753
|
+
"type": "object",
|
|
4754
|
+
"description": "a lock shared by every task on this machine that names it, of which the task holds `count` slots",
|
|
4755
|
+
"properties": {
|
|
4756
|
+
"name": {
|
|
4757
|
+
"type": "string",
|
|
4758
|
+
"description": "a lock name shared by every task on this machine that names it",
|
|
4759
|
+
"pattern": "^(?![^,]*:\\d+$)[^,]*\\S[^,]*$"
|
|
4760
|
+
},
|
|
4761
|
+
"count": {
|
|
4762
|
+
"type": "integer",
|
|
4763
|
+
"description": "how many of the lock's slots the task holds while it runs; `task.lock_pools` sets how many slots the lock has, one unless it says more, and a count above that is lowered to it",
|
|
4764
|
+
"minimum": 1
|
|
4765
|
+
}
|
|
4766
|
+
},
|
|
4767
|
+
"required": [
|
|
4768
|
+
"name"
|
|
4769
|
+
],
|
|
4770
|
+
"unevaluatedProperties": false
|
|
4771
|
+
}
|
|
4772
|
+
]
|
|
4677
4773
|
}
|
|
4678
4774
|
}
|
|
4679
4775
|
]
|
|
@@ -4707,6 +4803,11 @@
|
|
|
4707
4803
|
"description": "block env var inheritance",
|
|
4708
4804
|
"default": false
|
|
4709
4805
|
},
|
|
4806
|
+
"deny_unix": {
|
|
4807
|
+
"type": "boolean",
|
|
4808
|
+
"description": "block connections to Unix sockets outside the sandbox; Linux 7.1 or later",
|
|
4809
|
+
"default": false
|
|
4810
|
+
},
|
|
4710
4811
|
"allow_read": {
|
|
4711
4812
|
"type": "array",
|
|
4712
4813
|
"description": "allow reads from specific paths",
|
|
@@ -4728,6 +4829,13 @@
|
|
|
4728
4829
|
"type": "string"
|
|
4729
4830
|
}
|
|
4730
4831
|
},
|
|
4832
|
+
"allow_unix": {
|
|
4833
|
+
"type": "array",
|
|
4834
|
+
"description": "allow connections to the Unix sockets at specific paths (implies deny_unix); Linux 7.1 or later",
|
|
4835
|
+
"items": {
|
|
4836
|
+
"type": "string"
|
|
4837
|
+
}
|
|
4838
|
+
},
|
|
4731
4839
|
"allow_env": {
|
|
4732
4840
|
"type": "array",
|
|
4733
4841
|
"description": "allow specific env vars through",
|