mise-projen 0.0.4 → 0.0.6
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 +854 -834
- package/API.md +14 -1
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +7 -1
- package/lib/miseConfig.js +6 -5
- package/lib/miseFile.js +1 -1
- package/package.json +3 -3
- package/schemas/mise.json +47 -2
package/API.md
CHANGED
|
@@ -920,6 +920,7 @@ const miseTomlSchema: MiseTomlSchema = { ... }
|
|
|
920
920
|
| <code><a href="#mise-projen.MiseTomlSchema.property.envPath">envPath</a></code> | <code>any</code> | PATH entries to add. |
|
|
921
921
|
| <code><a href="#mise-projen.MiseTomlSchema.property.history">history</a></code> | <code><a href="#mise-projen.MiseTomlSchemaHistory">MiseTomlSchemaHistory</a></code> | dotfiles history: what is never captured, reload commands, and the setup repository (https://mise.jdx.dev/history.html). |
|
|
922
922
|
| <code><a href="#mise-projen.MiseTomlSchema.property.hooks">hooks</a></code> | <code><a href="#mise-projen.Hooks">Hooks</a></code> | hooks to run on events like cd, enter, leave. |
|
|
923
|
+
| <code><a href="#mise-projen.MiseTomlSchema.property.include">include</a></code> | <code>any</code> | remote config files merged into this one, ranking just below it: git::<url>//<path>.toml?ref=<ref> or oci::<registry>/<repo>[:tag\|@sha256:<digest>] (the artifact holds a mise.toml). Paranoid mode requires a commit sha or digest; otherwise a branch or tag is refreshed after fetch_remote_versions_cache. |
|
|
923
924
|
| <code><a href="#mise-projen.MiseTomlSchema.property.minVersion">minVersion</a></code> | <code>any</code> | minimum version of mise required to use this config. |
|
|
924
925
|
| <code><a href="#mise-projen.MiseTomlSchema.property.monorepo">monorepo</a></code> | <code><a href="#mise-projen.Monorepo">Monorepo</a></code> | configuration for monorepo task discovery. |
|
|
925
926
|
| <code><a href="#mise-projen.MiseTomlSchema.property.monorepoRoot">monorepoRoot</a></code> | <code>boolean</code> | marks this config as a monorepo root for task path syntax. |
|
|
@@ -1130,6 +1131,18 @@ hooks to run on events like cd, enter, leave.
|
|
|
1130
1131
|
|
|
1131
1132
|
---
|
|
1132
1133
|
|
|
1134
|
+
##### `include`<sup>Optional</sup> <a name="include" id="mise-projen.MiseTomlSchema.property.include"></a>
|
|
1135
|
+
|
|
1136
|
+
```typescript
|
|
1137
|
+
public readonly include: any;
|
|
1138
|
+
```
|
|
1139
|
+
|
|
1140
|
+
- *Type:* any
|
|
1141
|
+
|
|
1142
|
+
remote config files merged into this one, ranking just below it: git::<url>//<path>.toml?ref=<ref> or oci::<registry>/<repo>[:tag|@sha256:<digest>] (the artifact holds a mise.toml). Paranoid mode requires a commit sha or digest; otherwise a branch or tag is refreshed after fetch_remote_versions_cache.
|
|
1143
|
+
|
|
1144
|
+
---
|
|
1145
|
+
|
|
1133
1146
|
##### `minVersion`<sup>Optional</sup> <a name="minVersion" id="mise-projen.MiseTomlSchema.property.minVersion"></a>
|
|
1134
1147
|
|
|
1135
1148
|
```typescript
|
|
@@ -10856,7 +10869,7 @@ public readonly includes: string[];
|
|
|
10856
10869
|
|
|
10857
10870
|
files/directories to include searching for tasks.
|
|
10858
10871
|
|
|
10859
|
-
Can be local paths
|
|
10872
|
+
Can be local paths, git repository URLs using git:: prefix (e.g., git::https://github.com/org/repo.git//path?ref=branch), or OCI artifacts using oci:: prefix (e.g., oci::ghcr.io/org/tasks:1.0.0)
|
|
10860
10873
|
|
|
10861
10874
|
---
|
|
10862
10875
|
|
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.6" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -42,6 +42,12 @@ export interface MiseTomlSchema {
|
|
|
42
42
|
* @schema MiseTomlSchema#env
|
|
43
43
|
*/
|
|
44
44
|
readonly env?: Env[];
|
|
45
|
+
/**
|
|
46
|
+
* remote config files merged into this one, ranking just below it: git::<url>//<path>.toml?ref=<ref> or oci::<registry>/<repo>[:tag|@sha256:<digest>] (the artifact holds a mise.toml). Paranoid mode requires a commit sha or digest; otherwise a branch or tag is refreshed after fetch_remote_versions_cache
|
|
47
|
+
*
|
|
48
|
+
* @schema MiseTomlSchema#include
|
|
49
|
+
*/
|
|
50
|
+
readonly include?: any;
|
|
45
51
|
/**
|
|
46
52
|
* dotenv file(s) to load. Deprecated; use env._.file instead. This will be removed in mise 2027.4.0.
|
|
47
53
|
*
|
|
@@ -1620,7 +1626,7 @@ export interface TaskConfig {
|
|
|
1620
1626
|
[key: string]: string[];
|
|
1621
1627
|
};
|
|
1622
1628
|
/**
|
|
1623
|
-
* files/directories to include searching for tasks. Can be local paths
|
|
1629
|
+
* files/directories to include searching for tasks. Can be local paths, git repository URLs using git:: prefix (e.g., git::https://github.com/org/repo.git//path?ref=branch), or OCI artifacts using oci:: prefix (e.g., oci::ghcr.io/org/tasks:1.0.0)
|
|
1624
1630
|
*
|
|
1625
1631
|
* @schema task_config#includes
|
|
1626
1632
|
*/
|