mise-projen 0.0.32 → 0.0.34
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 +822 -757
- package/API.md +52 -13
- package/lib/index.js +1 -1
- package/lib/miseConfig.d.ts +24 -6
- package/lib/miseConfig.js +10 -7
- package/lib/miseFile.js +1 -1
- package/node_modules/semver/classes/range.js +2 -2
- package/node_modules/semver/internal/constants.js +30 -0
- package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/semver/package.json +1 -1
- package/package.json +3 -3
- package/schemas/mise.json +101 -6
package/API.md
CHANGED
|
@@ -5967,6 +5967,7 @@ const miseTomlSchemaDotfileGroups: MiseTomlSchemaDotfileGroups = { ... }
|
|
|
5967
5967
|
| **Name** | **Type** | **Description** |
|
|
5968
5968
|
| --- | --- | --- |
|
|
5969
5969
|
| <code><a href="#mise-projen.MiseTomlSchemaDotfileGroups.property.root">root</a></code> | <code>string</code> | the directory tree the group deploys; |
|
|
5970
|
+
| <code><a href="#mise-projen.MiseTomlSchemaDotfileGroups.property.depends">depends</a></code> | <code>string[]</code> | dotfile groups (by name) and whole-file entries (by target path) mise writes before it deploys this group and its entries. |
|
|
5970
5971
|
| <code><a href="#mise-projen.MiseTomlSchemaDotfileGroups.property.dotPrefix">dotPrefix</a></code> | <code>boolean</code> | deploy each source path component named "dot-<name>" as ".<name>", like GNU Stow's --dotfiles. |
|
|
5971
5972
|
| <code><a href="#mise-projen.MiseTomlSchemaDotfileGroups.property.entries">entries</a></code> | <code>{[ key: string ]: any}</code> | entries for parts of the tree, written like [dotfiles] entries and applied only while the group is selected. |
|
|
5972
5973
|
| <code><a href="#mise-projen.MiseTomlSchemaDotfileGroups.property.exclude">exclude</a></code> | <code>string[]</code> | glob patterns of source paths to skip, as for [dotfiles] exclude. |
|
|
@@ -5991,6 +5992,18 @@ a relative path resolves against dotfiles.root
|
|
|
5991
5992
|
|
|
5992
5993
|
---
|
|
5993
5994
|
|
|
5995
|
+
##### `depends`<sup>Optional</sup> <a name="depends" id="mise-projen.MiseTomlSchemaDotfileGroups.property.depends"></a>
|
|
5996
|
+
|
|
5997
|
+
```typescript
|
|
5998
|
+
public readonly depends: string[];
|
|
5999
|
+
```
|
|
6000
|
+
|
|
6001
|
+
- *Type:* string[]
|
|
6002
|
+
|
|
6003
|
+
dotfile groups (by name) and whole-file entries (by target path) mise writes before it deploys this group and its entries.
|
|
6004
|
+
|
|
6005
|
+
---
|
|
6006
|
+
|
|
5994
6007
|
##### `dotPrefix`<sup>Optional</sup> <a name="dotPrefix" id="mise-projen.MiseTomlSchemaDotfileGroups.property.dotPrefix"></a>
|
|
5995
6008
|
|
|
5996
6009
|
```typescript
|
|
@@ -6826,7 +6839,6 @@ const settings: Settings = { ... }
|
|
|
6826
6839
|
| <code><a href="#mise-projen.Settings.property.idiomaticVersionFileDisableFiles">idiomaticVersionFileDisableFiles</a></code> | <code>string[]</code> | Idiomatic version files to ignore for one tool, as `tool:filename` pairs. |
|
|
6827
6840
|
| <code><a href="#mise-projen.Settings.property.idiomaticVersionFileDisableTools">idiomaticVersionFileDisableTools</a></code> | <code>string[]</code> | [deprecated] No effect; |
|
|
6828
6841
|
| <code><a href="#mise-projen.Settings.property.idiomaticVersionFileEnableTools">idiomaticVersionFileEnableTools</a></code> | <code>string[]</code> | Tools that read idiomatic version files such as `.node-version` or `.ruby-version`. |
|
|
6829
|
-
| <code><a href="#mise-projen.Settings.property.idiomaticVersionFileIgnoreMinimumVersions">idiomaticVersionFileIgnoreMinimumVersions</a></code> | <code>boolean</code> | Ignore idiomatic version file fields that only declare a minimum compatible version. |
|
|
6830
6842
|
| <code><a href="#mise-projen.Settings.property.ignoredConfigPaths">ignoredConfigPaths</a></code> | <code>string[]</code> | Config files and directories mise does not load. |
|
|
6831
6843
|
| <code><a href="#mise-projen.Settings.property.installBefore">installBefore</a></code> | <code>string</code> | [deprecated] Install only versions released before this date; |
|
|
6832
6844
|
| <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`). |
|
|
@@ -6838,6 +6850,7 @@ const settings: Settings = { ... }
|
|
|
6838
6850
|
| <code><a href="#mise-projen.Settings.property.libc">libc</a></code> | <code><a href="#mise-projen.SettingsLibc">SettingsLibc</a></code> | Libc build to install on Linux when a tool publishes both glibc and musl builds. |
|
|
6839
6851
|
| <code><a href="#mise-projen.Settings.property.libgit2">libgit2</a></code> | <code>boolean</code> | Clone Git repositories with the built-in gix library instead of running `git`; |
|
|
6840
6852
|
| <code><a href="#mise-projen.Settings.property.locked">locked</a></code> | <code>boolean</code> | Require tool versions and download URLs to come from the lockfile. |
|
|
6853
|
+
| <code><a href="#mise-projen.Settings.property.lockedRequireChecksum">lockedRequireChecksum</a></code> | <code>boolean</code> | Make locked mode fail when the lockfile has no checksum for a download. |
|
|
6841
6854
|
| <code><a href="#mise-projen.Settings.property.lockedScopes">lockedScopes</a></code> | <code><a href="#mise-projen.SettingsLockedScopes">SettingsLockedScopes</a>[]</code> | Config scopes where invocation-wide locked mode is enforced. |
|
|
6842
6855
|
| <code><a href="#mise-projen.Settings.property.lockedVerifyProvenance">lockedVerifyProvenance</a></code> | <code>boolean</code> | Re-verify provenance at install time even when the lockfile already records it. |
|
|
6843
6856
|
| <code><a href="#mise-projen.Settings.property.lockfile">lockfile</a></code> | <code>boolean</code> | Create, read and update `mise.lock` lockfiles for tool versions. |
|
|
@@ -7816,18 +7829,6 @@ Tools that read idiomatic version files such as `.node-version` or `.ruby-versio
|
|
|
7816
7829
|
|
|
7817
7830
|
---
|
|
7818
7831
|
|
|
7819
|
-
##### `idiomaticVersionFileIgnoreMinimumVersions`<sup>Optional</sup> <a name="idiomaticVersionFileIgnoreMinimumVersions" id="mise-projen.Settings.property.idiomaticVersionFileIgnoreMinimumVersions"></a>
|
|
7820
|
-
|
|
7821
|
-
```typescript
|
|
7822
|
-
public readonly idiomaticVersionFileIgnoreMinimumVersions: boolean;
|
|
7823
|
-
```
|
|
7824
|
-
|
|
7825
|
-
- *Type:* boolean
|
|
7826
|
-
|
|
7827
|
-
Ignore idiomatic version file fields that only declare a minimum compatible version.
|
|
7828
|
-
|
|
7829
|
-
---
|
|
7830
|
-
|
|
7831
7832
|
##### `ignoredConfigPaths`<sup>Optional</sup> <a name="ignoredConfigPaths" id="mise-projen.Settings.property.ignoredConfigPaths"></a>
|
|
7832
7833
|
|
|
7833
7834
|
```typescript
|
|
@@ -7968,6 +7969,18 @@ Require tool versions and download URLs to come from the lockfile.
|
|
|
7968
7969
|
|
|
7969
7970
|
---
|
|
7970
7971
|
|
|
7972
|
+
##### `lockedRequireChecksum`<sup>Optional</sup> <a name="lockedRequireChecksum" id="mise-projen.Settings.property.lockedRequireChecksum"></a>
|
|
7973
|
+
|
|
7974
|
+
```typescript
|
|
7975
|
+
public readonly lockedRequireChecksum: boolean;
|
|
7976
|
+
```
|
|
7977
|
+
|
|
7978
|
+
- *Type:* boolean
|
|
7979
|
+
|
|
7980
|
+
Make locked mode fail when the lockfile has no checksum for a download.
|
|
7981
|
+
|
|
7982
|
+
---
|
|
7983
|
+
|
|
7971
7984
|
##### `lockedScopes`<sup>Optional</sup> <a name="lockedScopes" id="mise-projen.Settings.property.lockedScopes"></a>
|
|
7972
7985
|
|
|
7973
7986
|
```typescript
|
|
@@ -10592,6 +10605,7 @@ const settingsNpm: SettingsNpm = { ... }
|
|
|
10592
10605
|
| --- | --- | --- |
|
|
10593
10606
|
| <code><a href="#mise-projen.SettingsNpm.property.bun">bun</a></code> | <code>boolean</code> | [deprecated] Install `npm:` tools with bun; |
|
|
10594
10607
|
| <code><a href="#mise-projen.SettingsNpm.property.packageManager">packageManager</a></code> | <code><a href="#mise-projen.SettingsNpmPackageManager">SettingsNpmPackageManager</a></code> | Package manager that installs `npm:` tools. |
|
|
10608
|
+
| <code><a href="#mise-projen.SettingsNpm.property.provenance">provenance</a></code> | <code>boolean</code> | Verify the Sigstore provenance npm publishes for an `npm:` tool's own package. |
|
|
10595
10609
|
| <code><a href="#mise-projen.SettingsNpm.property.shellOut">shellOut</a></code> | <code>boolean</code> | Use the npm CLI instead of mise's built-in client for `npm:` version metadata and default installs. |
|
|
10596
10610
|
|
|
10597
10611
|
---
|
|
@@ -10622,6 +10636,18 @@ Package manager that installs `npm:` tools.
|
|
|
10622
10636
|
|
|
10623
10637
|
---
|
|
10624
10638
|
|
|
10639
|
+
##### `provenance`<sup>Optional</sup> <a name="provenance" id="mise-projen.SettingsNpm.property.provenance"></a>
|
|
10640
|
+
|
|
10641
|
+
```typescript
|
|
10642
|
+
public readonly provenance: boolean;
|
|
10643
|
+
```
|
|
10644
|
+
|
|
10645
|
+
- *Type:* boolean
|
|
10646
|
+
|
|
10647
|
+
Verify the Sigstore provenance npm publishes for an `npm:` tool's own package.
|
|
10648
|
+
|
|
10649
|
+
---
|
|
10650
|
+
|
|
10625
10651
|
##### `shellOut`<sup>Optional</sup> <a name="shellOut" id="mise-projen.SettingsNpm.property.shellOut"></a>
|
|
10626
10652
|
|
|
10627
10653
|
```typescript
|
|
@@ -11944,6 +11970,7 @@ const settingsTask: SettingsTask = { ... }
|
|
|
11944
11970
|
| <code><a href="#mise-projen.SettingsTask.property.cacheRemoteUrl">cacheRemoteUrl</a></code> | <code>string</code> | Deprecated alias for `task.cache.remote_url`. |
|
|
11945
11971
|
| <code><a href="#mise-projen.SettingsTask.property.disablePaths">disablePaths</a></code> | <code>string[]</code> | Paths that mise does not look for tasks in. |
|
|
11946
11972
|
| <code><a href="#mise-projen.SettingsTask.property.disableSpecFromRunScripts">disableSpecFromRunScripts</a></code> | <code>boolean</code> | Build task usage specs only from the `usage` field, ignoring deprecated `arg()`, `option()` and `flag()` in run scripts. |
|
|
11973
|
+
| <code><a href="#mise-projen.SettingsTask.property.lockTimeout">lockTimeout</a></code> | <code>string</code> | How long a task waits for a lock another run holds before it fails. |
|
|
11947
11974
|
| <code><a href="#mise-projen.SettingsTask.property.monorepoDepth">monorepoDepth</a></code> | <code>number</code> | Maximum directory depth for automatic monorepo discovery, which is deprecated. |
|
|
11948
11975
|
| <code><a href="#mise-projen.SettingsTask.property.monorepoExcludeDirs">monorepoExcludeDirs</a></code> | <code>string[]</code> | Directory names that automatic monorepo discovery skips. |
|
|
11949
11976
|
| <code><a href="#mise-projen.SettingsTask.property.monorepoRespectGitignore">monorepoRespectGitignore</a></code> | <code>boolean</code> | Skip directories that `.gitignore` files ignore during automatic monorepo discovery. |
|
|
@@ -12115,6 +12142,18 @@ Build task usage specs only from the `usage` field, ignoring deprecated `arg()`,
|
|
|
12115
12142
|
|
|
12116
12143
|
---
|
|
12117
12144
|
|
|
12145
|
+
##### `lockTimeout`<sup>Optional</sup> <a name="lockTimeout" id="mise-projen.SettingsTask.property.lockTimeout"></a>
|
|
12146
|
+
|
|
12147
|
+
```typescript
|
|
12148
|
+
public readonly lockTimeout: string;
|
|
12149
|
+
```
|
|
12150
|
+
|
|
12151
|
+
- *Type:* string
|
|
12152
|
+
|
|
12153
|
+
How long a task waits for a lock another run holds before it fails.
|
|
12154
|
+
|
|
12155
|
+
---
|
|
12156
|
+
|
|
12118
12157
|
##### `monorepoDepth`<sup>Optional</sup> <a name="monorepoDepth" id="mise-projen.SettingsTask.property.monorepoDepth"></a>
|
|
12119
12158
|
|
|
12120
12159
|
```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.34" };
|
|
61
61
|
fileName;
|
|
62
62
|
config;
|
|
63
63
|
autoDiscover;
|
package/lib/miseConfig.d.ts
CHANGED
|
@@ -921,12 +921,6 @@ export interface Settings {
|
|
|
921
921
|
* @schema settings#idiomatic_version_file_enable_tools
|
|
922
922
|
*/
|
|
923
923
|
readonly idiomaticVersionFileEnableTools?: string[];
|
|
924
|
-
/**
|
|
925
|
-
* Ignore idiomatic version file fields that only declare a minimum compatible version.
|
|
926
|
-
*
|
|
927
|
-
* @schema settings#idiomatic_version_file_ignore_minimum_versions
|
|
928
|
-
*/
|
|
929
|
-
readonly idiomaticVersionFileIgnoreMinimumVersions?: boolean;
|
|
930
924
|
/**
|
|
931
925
|
* Config files and directories mise does not load.
|
|
932
926
|
*
|
|
@@ -991,6 +985,12 @@ export interface Settings {
|
|
|
991
985
|
* @schema settings#locked
|
|
992
986
|
*/
|
|
993
987
|
readonly locked?: boolean;
|
|
988
|
+
/**
|
|
989
|
+
* Make locked mode fail when the lockfile has no checksum for a download.
|
|
990
|
+
*
|
|
991
|
+
* @schema settings#locked_require_checksum
|
|
992
|
+
*/
|
|
993
|
+
readonly lockedRequireChecksum?: boolean;
|
|
994
994
|
/**
|
|
995
995
|
* Config scopes where invocation-wide locked mode is enforced.
|
|
996
996
|
*
|
|
@@ -1525,6 +1525,12 @@ export interface MiseTomlSchemaDotfileGroups {
|
|
|
1525
1525
|
* @schema MiseTomlSchemaDotfileGroups#target
|
|
1526
1526
|
*/
|
|
1527
1527
|
readonly target?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* dotfile groups (by name) and whole-file entries (by target path) mise writes before it deploys this group and its entries
|
|
1530
|
+
*
|
|
1531
|
+
* @schema MiseTomlSchemaDotfileGroups#depends
|
|
1532
|
+
*/
|
|
1533
|
+
readonly depends?: string[];
|
|
1528
1534
|
/**
|
|
1529
1535
|
* how the tree is deployed
|
|
1530
1536
|
*
|
|
@@ -2990,6 +2996,12 @@ export interface SettingsNpm {
|
|
|
2990
2996
|
* @schema SettingsNpm#package_manager
|
|
2991
2997
|
*/
|
|
2992
2998
|
readonly packageManager?: SettingsNpmPackageManager;
|
|
2999
|
+
/**
|
|
3000
|
+
* Verify the Sigstore provenance npm publishes for an `npm:` tool's own package.
|
|
3001
|
+
*
|
|
3002
|
+
* @schema SettingsNpm#provenance
|
|
3003
|
+
*/
|
|
3004
|
+
readonly provenance?: boolean;
|
|
2993
3005
|
/**
|
|
2994
3006
|
* Use the npm CLI instead of mise's built-in client for `npm:` version metadata and default installs.
|
|
2995
3007
|
*
|
|
@@ -3727,6 +3739,12 @@ export interface SettingsTask {
|
|
|
3727
3739
|
* @schema SettingsTask#disable_spec_from_run_scripts
|
|
3728
3740
|
*/
|
|
3729
3741
|
readonly disableSpecFromRunScripts?: boolean;
|
|
3742
|
+
/**
|
|
3743
|
+
* How long a task waits for a lock another run holds before it fails.
|
|
3744
|
+
*
|
|
3745
|
+
* @schema SettingsTask#lock_timeout
|
|
3746
|
+
*/
|
|
3747
|
+
readonly lockTimeout?: string;
|
|
3730
3748
|
/**
|
|
3731
3749
|
* Maximum directory depth for automatic monorepo discovery, which is deprecated.
|
|
3732
3750
|
*
|