@containerbase/base 14.34.0 → 14.35.0
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/README.md +7 -6
- package/data/tools.json +3 -3
- package/data/tools.schema.json +4 -0
- package/dist/data.d.ts +5 -1
- package/dist/data.js +3 -3
- package/dist/schema.d.ts +2 -0
- package/dist/schema.js +4 -0
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,12 +43,13 @@ import { SupportedTools, ToolName } from '@containerbase/base/zod';
|
|
|
43
43
|
|
|
44
44
|
Each entry may carry the following metadata:
|
|
45
45
|
|
|
46
|
-
| Field | Description
|
|
47
|
-
| ------------ |
|
|
48
|
-
| `type` | the package manager installing the tool, one of `gem`, `npm`, `pip` or `dotnet`
|
|
49
|
-
| `parent` | the tool it depends on, eg. `composer` depends on `php`, which requires `php` to be installed before `composer`
|
|
50
|
-
| `deprecated` | the tool should not be used any more
|
|
51
|
-
| `root` | the tool can only be installed as root, so at image build time
|
|
46
|
+
| Field | Description |
|
|
47
|
+
| ------------ | ----------------------------------------------------------------------------------------------------------------------- |
|
|
48
|
+
| `type` | the package manager installing the tool, one of `gem`, `npm`, `pip` or `dotnet` |
|
|
49
|
+
| `parent` | the tool it depends on, eg. `composer` depends on `php`, which requires `php` to be installed before `composer` |
|
|
50
|
+
| `deprecated` | the tool should not be used any more |
|
|
51
|
+
| `root` | the tool can only be installed as root, so at image build time |
|
|
52
|
+
| `minVersion` | the oldest version containerbase supports for the tool, in the tool's versioning; tools without a known limit have none |
|
|
52
53
|
|
|
53
54
|
Only the names `install-tool` accepts are listed.
|
|
54
55
|
Packages installed with an arbitrary name via `install-gem`, `install-npm` or `install-pip` are not, as that list is unbounded.
|
package/data/tools.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"flux": {},
|
|
29
29
|
"gh": {},
|
|
30
30
|
"ghc": {},
|
|
31
|
-
"git": { "root": true },
|
|
31
|
+
"git": { "root": true, "minVersion": "2.33.0" },
|
|
32
32
|
"git-lfs": { "parent": "git" },
|
|
33
33
|
"gleam": {},
|
|
34
34
|
"golang": {},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"maven": { "parent": "java" },
|
|
49
49
|
"mise": {},
|
|
50
50
|
"mono": {},
|
|
51
|
-
"nix": {},
|
|
51
|
+
"nix": { "minVersion": "2.10.3" },
|
|
52
52
|
"node": {},
|
|
53
53
|
"npm": { "type": "npm", "parent": "node" },
|
|
54
54
|
"nub": {},
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"tofu": {},
|
|
77
77
|
"uv": { "type": "pip", "parent": "python" },
|
|
78
78
|
"vendir": {},
|
|
79
|
-
"vp": { "parent": "node" },
|
|
79
|
+
"vp": { "parent": "node", "minVersion": "0.3.1" },
|
|
80
80
|
"wally": {},
|
|
81
81
|
"yarn": { "type": "npm", "parent": "node" },
|
|
82
82
|
"yarn-slim": { "type": "npm", "parent": "node" }
|
package/data/tools.schema.json
CHANGED
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"type": "boolean",
|
|
27
27
|
"const": true,
|
|
28
28
|
"description": "the tool can only be installed as root, so only at image build time"
|
|
29
|
+
},
|
|
30
|
+
"minVersion": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "the oldest version containerbase supports for the tool, in the tool's versioning; tools without a known limit have none"
|
|
29
33
|
}
|
|
30
34
|
},
|
|
31
35
|
"additionalProperties": false
|
package/dist/data.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export declare const tools: {
|
|
|
64
64
|
readonly ghc: {};
|
|
65
65
|
readonly git: {
|
|
66
66
|
readonly root: true;
|
|
67
|
+
readonly minVersion: "2.33.0";
|
|
67
68
|
};
|
|
68
69
|
readonly 'git-lfs': {
|
|
69
70
|
readonly parent: "git";
|
|
@@ -100,7 +101,9 @@ export declare const tools: {
|
|
|
100
101
|
};
|
|
101
102
|
readonly mise: {};
|
|
102
103
|
readonly mono: {};
|
|
103
|
-
readonly nix: {
|
|
104
|
+
readonly nix: {
|
|
105
|
+
readonly minVersion: "2.10.3";
|
|
106
|
+
};
|
|
104
107
|
readonly node: {};
|
|
105
108
|
readonly npm: {
|
|
106
109
|
readonly type: "npm";
|
|
@@ -163,6 +166,7 @@ export declare const tools: {
|
|
|
163
166
|
readonly vendir: {};
|
|
164
167
|
readonly vp: {
|
|
165
168
|
readonly parent: "node";
|
|
169
|
+
readonly minVersion: "0.3.1";
|
|
166
170
|
};
|
|
167
171
|
readonly wally: {};
|
|
168
172
|
readonly yarn: {
|
package/dist/data.js
CHANGED
|
@@ -30,7 +30,7 @@ export const tools = {
|
|
|
30
30
|
flux: {},
|
|
31
31
|
gh: {},
|
|
32
32
|
ghc: {},
|
|
33
|
-
git: { root: true },
|
|
33
|
+
git: { root: true, minVersion: '2.33.0' },
|
|
34
34
|
'git-lfs': { parent: 'git' },
|
|
35
35
|
gleam: {},
|
|
36
36
|
golang: {},
|
|
@@ -50,7 +50,7 @@ export const tools = {
|
|
|
50
50
|
maven: { parent: 'java' },
|
|
51
51
|
mise: {},
|
|
52
52
|
mono: {},
|
|
53
|
-
nix: {},
|
|
53
|
+
nix: { minVersion: '2.10.3' },
|
|
54
54
|
node: {},
|
|
55
55
|
npm: { type: 'npm', parent: 'node' },
|
|
56
56
|
nub: {},
|
|
@@ -78,7 +78,7 @@ export const tools = {
|
|
|
78
78
|
tofu: {},
|
|
79
79
|
uv: { type: 'pip', parent: 'python' },
|
|
80
80
|
vendir: {},
|
|
81
|
-
vp: { parent: 'node' },
|
|
81
|
+
vp: { parent: 'node', minVersion: '0.3.1' },
|
|
82
82
|
wally: {},
|
|
83
83
|
yarn: { type: 'npm', parent: 'node' },
|
|
84
84
|
'yarn-slim': { type: 'npm', parent: 'node' },
|
package/dist/schema.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare const ToolMetadata: z.ZodObject<{
|
|
|
26
26
|
parent: z.ZodExactOptional<z.ZodString>;
|
|
27
27
|
deprecated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
28
28
|
root: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
29
|
+
minVersion: z.ZodExactOptional<z.ZodString>;
|
|
29
30
|
}, z.core.$strict>;
|
|
30
31
|
/**
|
|
31
32
|
* Schema of `tools.json`.
|
|
@@ -43,6 +44,7 @@ export declare const SupportedTools: z.ZodObject<{
|
|
|
43
44
|
parent: z.ZodExactOptional<z.ZodString>;
|
|
44
45
|
deprecated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
45
46
|
root: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
47
|
+
minVersion: z.ZodExactOptional<z.ZodString>;
|
|
46
48
|
}, z.core.$strict>>;
|
|
47
49
|
}, z.core.$strict>;
|
|
48
50
|
export type SupportedTools = z.infer<typeof SupportedTools>;
|
package/dist/schema.js
CHANGED
|
@@ -26,6 +26,10 @@ export const ToolMetadata = z.strictObject({
|
|
|
26
26
|
.literal(true)
|
|
27
27
|
.describe('the tool can only be installed as root, so only at image build time')
|
|
28
28
|
.exactOptional(),
|
|
29
|
+
minVersion: z
|
|
30
|
+
.string()
|
|
31
|
+
.describe("the oldest version containerbase supports for the tool, in the tool's versioning; tools without a known limit have none")
|
|
32
|
+
.exactOptional(),
|
|
29
33
|
});
|
|
30
34
|
/**
|
|
31
35
|
* Schema of `tools.json`.
|
package/dist/types.d.ts
CHANGED
|
@@ -26,4 +26,9 @@ export interface ToolMetadata {
|
|
|
26
26
|
* The tool can only be installed as root, so only at image build time.
|
|
27
27
|
*/
|
|
28
28
|
root?: true;
|
|
29
|
+
/**
|
|
30
|
+
* The oldest version containerbase supports for the tool, in the tool's
|
|
31
|
+
* versioning. Tools without a known limit have none.
|
|
32
|
+
*/
|
|
33
|
+
minVersion?: string;
|
|
29
34
|
}
|