@containerbase/base 14.31.1 → 14.32.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 CHANGED
@@ -45,7 +45,7 @@ Each entry may carry the following metadata:
45
45
 
46
46
  | Field | Description |
47
47
  | ------------ | --------------------------------------------------------------------------------------------------------------- |
48
- | `type` | the installer used for the tool, one of `gem`, `npm` or `pip` |
48
+ | `type` | the package manager installing the tool, one of `gem`, `npm`, `pip` or `dotnet` |
49
49
  | `parent` | the tool it depends on, eg. `composer` depends on `php`, which requires `php` to be installed before `composer` |
50
50
  | `deprecated` | the tool should not be used any more |
51
51
  | `root` | the tool can only be installed as root, so at image build time |
package/data/tools.json CHANGED
@@ -11,9 +11,9 @@
11
11
  "bundler": { "type": "gem", "parent": "ruby" },
12
12
  "cabal": {},
13
13
  "checkov": { "type": "pip", "parent": "python" },
14
- "cocoapods": { "parent": "ruby" },
14
+ "cocoapods": { "type": "gem", "parent": "ruby" },
15
15
  "composer": { "parent": "php" },
16
- "conan": { "parent": "python" },
16
+ "conan": { "type": "pip", "parent": "python" },
17
17
  "copier": { "type": "pip", "parent": "python" },
18
18
  "corepack": { "type": "npm", "parent": "node" },
19
19
  "dart": {},
@@ -52,7 +52,7 @@
52
52
  "npm": { "type": "npm", "parent": "node" },
53
53
  "nub": {},
54
54
  "nuget": { "parent": "mono" },
55
- "paket": { "parent": "dotnet" },
55
+ "paket": { "type": "dotnet", "parent": "dotnet" },
56
56
  "pdm": { "type": "pip", "parent": "python" },
57
57
  "php": {},
58
58
  "pip-tools": { "type": "pip", "parent": "python" },
@@ -63,7 +63,7 @@
63
63
  "powershell": {},
64
64
  "protoc": {},
65
65
  "python": {},
66
- "renovate": { "parent": "node" },
66
+ "renovate": { "type": "npm", "parent": "node" },
67
67
  "ruby": {},
68
68
  "rust": {},
69
69
  "sbt": { "parent": "java" },
@@ -77,7 +77,7 @@
77
77
  "vendir": {},
78
78
  "vp": { "parent": "node" },
79
79
  "wally": {},
80
- "yarn": { "parent": "node" },
81
- "yarn-slim": { "parent": "node" }
80
+ "yarn": { "type": "npm", "parent": "node" },
81
+ "yarn-slim": { "type": "npm", "parent": "node" }
82
82
  }
83
83
  }
@@ -10,8 +10,8 @@
10
10
  "properties": {
11
11
  "type": {
12
12
  "type": "string",
13
- "enum": ["gem", "npm", "pip"],
14
- "description": "the installer used for this tool, only set for dynamically installed tools"
13
+ "enum": ["gem", "npm", "pip", "dotnet"],
14
+ "description": "the package manager installing the tool"
15
15
  },
16
16
  "parent": {
17
17
  "type": "string",
package/dist/data.d.ts CHANGED
@@ -28,12 +28,14 @@ export declare const tools: {
28
28
  readonly parent: "python";
29
29
  };
30
30
  readonly cocoapods: {
31
+ readonly type: "gem";
31
32
  readonly parent: "ruby";
32
33
  };
33
34
  readonly composer: {
34
35
  readonly parent: "php";
35
36
  };
36
37
  readonly conan: {
38
+ readonly type: "pip";
37
39
  readonly parent: "python";
38
40
  };
39
41
  readonly copier: {
@@ -108,6 +110,7 @@ export declare const tools: {
108
110
  readonly parent: "mono";
109
111
  };
110
112
  readonly paket: {
113
+ readonly type: "dotnet";
111
114
  readonly parent: "dotnet";
112
115
  };
113
116
  readonly pdm: {
@@ -136,6 +139,7 @@ export declare const tools: {
136
139
  readonly protoc: {};
137
140
  readonly python: {};
138
141
  readonly renovate: {
142
+ readonly type: "npm";
139
143
  readonly parent: "node";
140
144
  };
141
145
  readonly ruby: {};
@@ -161,9 +165,11 @@ export declare const tools: {
161
165
  };
162
166
  readonly wally: {};
163
167
  readonly yarn: {
168
+ readonly type: "npm";
164
169
  readonly parent: "node";
165
170
  };
166
171
  readonly 'yarn-slim': {
172
+ readonly type: "npm";
167
173
  readonly parent: "node";
168
174
  };
169
175
  };
package/dist/data.js CHANGED
@@ -13,9 +13,9 @@ export const tools = {
13
13
  bundler: { type: 'gem', parent: 'ruby' },
14
14
  cabal: {},
15
15
  checkov: { type: 'pip', parent: 'python' },
16
- cocoapods: { parent: 'ruby' },
16
+ cocoapods: { type: 'gem', parent: 'ruby' },
17
17
  composer: { parent: 'php' },
18
- conan: { parent: 'python' },
18
+ conan: { type: 'pip', parent: 'python' },
19
19
  copier: { type: 'pip', parent: 'python' },
20
20
  corepack: { type: 'npm', parent: 'node' },
21
21
  dart: {},
@@ -54,7 +54,7 @@ export const tools = {
54
54
  npm: { type: 'npm', parent: 'node' },
55
55
  nub: {},
56
56
  nuget: { parent: 'mono' },
57
- paket: { parent: 'dotnet' },
57
+ paket: { type: 'dotnet', parent: 'dotnet' },
58
58
  pdm: { type: 'pip', parent: 'python' },
59
59
  php: {},
60
60
  'pip-tools': { type: 'pip', parent: 'python' },
@@ -65,7 +65,7 @@ export const tools = {
65
65
  powershell: {},
66
66
  protoc: {},
67
67
  python: {},
68
- renovate: { parent: 'node' },
68
+ renovate: { type: 'npm', parent: 'node' },
69
69
  ruby: {},
70
70
  rust: {},
71
71
  sbt: { parent: 'java' },
@@ -79,6 +79,6 @@ export const tools = {
79
79
  vendir: {},
80
80
  vp: { parent: 'node' },
81
81
  wally: {},
82
- yarn: { parent: 'node' },
83
- 'yarn-slim': { parent: 'node' },
82
+ yarn: { type: 'npm', parent: 'node' },
83
+ 'yarn-slim': { type: 'npm', parent: 'node' },
84
84
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { tools } from './data.ts';
2
- export type { InstallToolType, ToolMetadata } from './types.ts';
2
+ export type { InstallToolType, ToolMetadata, ToolType } from './types.ts';
3
3
  export { tools };
4
4
  /**
5
5
  * A tool name `install-tool` accepts.
package/dist/schema.d.ts CHANGED
@@ -4,6 +4,12 @@ export declare const InstallToolType: z.ZodEnum<{
4
4
  npm: "npm";
5
5
  pip: "pip";
6
6
  }>;
7
+ export declare const ToolType: z.ZodEnum<{
8
+ gem: "gem";
9
+ npm: "npm";
10
+ pip: "pip";
11
+ dotnet: "dotnet";
12
+ }>;
7
13
  /**
8
14
  * Schema of a single entry of `tools.json`.
9
15
  *
@@ -15,6 +21,7 @@ export declare const ToolMetadata: z.ZodObject<{
15
21
  gem: "gem";
16
22
  npm: "npm";
17
23
  pip: "pip";
24
+ dotnet: "dotnet";
18
25
  }>>;
19
26
  parent: z.ZodExactOptional<z.ZodString>;
20
27
  deprecated: z.ZodExactOptional<z.ZodLiteral<true>>;
@@ -31,6 +38,7 @@ export declare const SupportedTools: z.ZodObject<{
31
38
  gem: "gem";
32
39
  npm: "npm";
33
40
  pip: "pip";
41
+ dotnet: "dotnet";
34
42
  }>>;
35
43
  parent: z.ZodExactOptional<z.ZodString>;
36
44
  deprecated: z.ZodExactOptional<z.ZodLiteral<true>>;
package/dist/schema.js CHANGED
@@ -2,6 +2,9 @@ import { z } from 'zod';
2
2
  export const InstallToolType = z
3
3
  .enum(['gem', 'npm', 'pip'])
4
4
  .describe('the installer a dynamically installed tool is installed with');
5
+ export const ToolType = z
6
+ .enum(['gem', 'npm', 'pip', 'dotnet'])
7
+ .describe('the package manager installing the tool');
5
8
  /**
6
9
  * Schema of a single entry of `tools.json`.
7
10
  *
@@ -10,7 +13,7 @@ export const InstallToolType = z
10
13
  */
11
14
  export const ToolMetadata = z.strictObject({
12
15
  // exact optionals, so the inferred type matches the zod free interface
13
- type: InstallToolType.describe('the installer used for this tool, only set for dynamically installed tools').exactOptional(),
16
+ type: ToolType.exactOptional(),
14
17
  parent: z
15
18
  .string()
16
19
  .describe('the tool this tool depends on, eg. composer depends on php')
package/dist/types.d.ts CHANGED
@@ -2,14 +2,18 @@
2
2
  * The installer a dynamically installed tool is installed with.
3
3
  */
4
4
  export type InstallToolType = 'gem' | 'npm' | 'pip';
5
+ /**
6
+ * The package manager installing a tool.
7
+ */
8
+ export type ToolType = 'gem' | 'npm' | 'pip' | 'dotnet';
5
9
  /**
6
10
  * What containerbase knows about a supported tool.
7
11
  */
8
12
  export interface ToolMetadata {
9
13
  /**
10
- * The installer used for this tool, only set for dynamically installed tools.
14
+ * The package manager installing the tool.
11
15
  */
12
- type?: InstallToolType;
16
+ type?: ToolType;
13
17
  /**
14
18
  * The tool this tool depends on, eg. `composer` depends on `php`.
15
19
  */
package/dist/zod.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './schema.ts';
6
6
  */
7
7
  export declare const ToolName: z.ZodEnum<{
8
8
  npm: "npm";
9
+ dotnet: "dotnet";
9
10
  "android-sdk-cmdline-tools": "android-sdk-cmdline-tools";
10
11
  java: "java";
11
12
  apko: "apko";
@@ -32,7 +33,6 @@ export declare const ToolName: z.ZodEnum<{
32
33
  deno: "deno";
33
34
  devbox: "devbox";
34
35
  "docker-compose": "docker-compose";
35
- dotnet: "dotnet";
36
36
  elixir: "elixir";
37
37
  erlang: "erlang";
38
38
  flutter: "flutter";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@containerbase/base",
3
- "version": "14.31.1",
3
+ "version": "14.32.0",
4
4
  "description": "Metadata about the tools supported by containerbase",
5
5
  "keywords": [
6
6
  "containerbase",