@containerbase/base 14.40.0 → 14.41.1

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
@@ -39,18 +39,26 @@ The zod schemas live behind a separate entry point, so the default export stays
39
39
  import { SupportedTools, ToolName } from '@containerbase/base/zod';
40
40
  ```
41
41
 
42
+ The Ubuntu release the default Containerbase image is built from is exported as `defaultDistro`, it is the distro `minVersion` refers to:
43
+
44
+ ```ts
45
+ import { defaultDistro } from '@containerbase/base';
46
+
47
+ defaultDistro; // 'noble'
48
+ ```
49
+
42
50
  ## Contents
43
51
 
44
52
  Each entry may carry the following metadata:
45
53
 
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 |
53
- | `distroMinVersion` | the oldest version supported on an Ubuntu release (`jammy`, `noble` or `resolute`), only for releases whose floor differs from `minVersion`, which is the floor on `noble` |
54
+ | Field | Description |
55
+ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
56
+ | `type` | the package manager installing the tool, one of `gem`, `npm`, `pip` or `dotnet` |
57
+ | `parent` | the tool it depends on, eg. `composer` depends on `php`, which requires `php` to be installed before `composer` |
58
+ | `deprecated` | the tool should not be used any more |
59
+ | `root` | the tool can only be installed as root, so at image build time |
60
+ | `minVersion` | the oldest version containerbase supports for the tool on the default distro, in the tool's versioning; tools without a known limit have none |
61
+ | `distroMinVersion` | the oldest version supported on an Ubuntu release (`jammy`, `noble` or `resolute`), only for releases whose floor differs from `minVersion`, which is the floor on the default distro |
54
62
 
55
63
  Only the names `install-tool` accepts are listed.
56
64
  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": { "minVersion": "0.6.0" },
29
29
  "gh": { "minVersion": "2.0.0" },
30
30
  "ghc": { "minVersion": "8.10.1" },
31
- "git": { "root": true, "minVersion": "2.33.0" },
31
+ "git": { "root": true, "minVersion": "2.48.0" },
32
32
  "git-lfs": { "parent": "git", "minVersion": "2.6.0" },
33
33
  "gleam": { "minVersion": "0.23.0" },
34
34
  "golang": {},
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "minVersion": {
31
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"
32
+ "description": "the oldest version containerbase supports for the tool on the default distro, in the tool's versioning; tools without a known limit have none"
33
33
  },
34
34
  "distroMinVersion": {
35
35
  "type": "object",
@@ -39,7 +39,7 @@
39
39
  "description": "an Ubuntu release supported by containerbase, by codename"
40
40
  },
41
41
  "additionalProperties": { "type": "string" },
42
- "description": "the oldest version containerbase supports on an Ubuntu release, in the tool's versioning, keyed by codename; only for releases whose floor differs from minVersion, which is the floor on noble"
42
+ "description": "the oldest version containerbase supports on an Ubuntu release, in the tool's versioning, keyed by codename; only for releases whose floor differs from minVersion, which is the floor on the default distro"
43
43
  }
44
44
  },
45
45
  "additionalProperties": false
package/dist/data.d.ts CHANGED
@@ -87,7 +87,7 @@ export declare const tools: {
87
87
  };
88
88
  readonly git: {
89
89
  readonly root: true;
90
- readonly minVersion: "2.33.0";
90
+ readonly minVersion: "2.48.0";
91
91
  };
92
92
  readonly 'git-lfs': {
93
93
  readonly parent: "git";
package/dist/data.js CHANGED
@@ -30,7 +30,7 @@ export const tools = {
30
30
  flux: { minVersion: '0.6.0' },
31
31
  gh: { minVersion: '2.0.0' },
32
32
  ghc: { minVersion: '8.10.1' },
33
- git: { root: true, minVersion: '2.33.0' },
33
+ git: { root: true, minVersion: '2.48.0' },
34
34
  'git-lfs': { parent: 'git', minVersion: '2.6.0' },
35
35
  gleam: { minVersion: '0.23.0' },
36
36
  golang: {},
package/dist/index.d.ts CHANGED
@@ -1,6 +1,12 @@
1
1
  import { tools } from './data.ts';
2
+ import type { DistroCode } from './types.ts';
2
3
  export type { DistroCode, InstallToolType, ToolMetadata, ToolType, } from './types.ts';
3
4
  export { tools };
5
+ /**
6
+ * The Ubuntu release the default containerbase image is built from, the
7
+ * distro `minVersion` refers to.
8
+ */
9
+ export declare const defaultDistro: DistroCode;
4
10
  /**
5
11
  * A tool name `install-tool` accepts.
6
12
  */
package/dist/index.js CHANGED
@@ -1,5 +1,10 @@
1
1
  import { tools } from "./data.js";
2
2
  export { tools };
3
+ /**
4
+ * The Ubuntu release the default containerbase image is built from, the
5
+ * distro `minVersion` refers to.
6
+ */
7
+ export const defaultDistro = 'noble';
3
8
  /**
4
9
  * All supported tool names, sorted alphabetically.
5
10
  */
package/dist/schema.js CHANGED
@@ -31,11 +31,11 @@ export const ToolMetadata = z.strictObject({
31
31
  .exactOptional(),
32
32
  minVersion: z
33
33
  .string()
34
- .describe("the oldest version containerbase supports for the tool, in the tool's versioning; tools without a known limit have none")
34
+ .describe("the oldest version containerbase supports for the tool on the default distro, in the tool's versioning; tools without a known limit have none")
35
35
  .exactOptional(),
36
36
  distroMinVersion: z
37
37
  .partialRecord(DistroCode, z.string())
38
- .describe("the oldest version containerbase supports on an Ubuntu release, in the tool's versioning, keyed by codename; only for releases whose floor differs from minVersion, which is the floor on noble")
38
+ .describe("the oldest version containerbase supports on an Ubuntu release, in the tool's versioning, keyed by codename; only for releases whose floor differs from minVersion, which is the floor on the default distro")
39
39
  .exactOptional(),
40
40
  });
41
41
  /**
package/dist/types.d.ts CHANGED
@@ -32,12 +32,14 @@ export interface ToolMetadata {
32
32
  root?: true;
33
33
  /**
34
34
  * The oldest version containerbase supports for the tool, in the tool's
35
- * versioning. Tools without a known limit have none.
35
+ * versioning, on the default distro (`defaultDistro`). Tools without a known
36
+ * limit have none.
36
37
  */
37
38
  minVersion?: string;
38
39
  /**
39
40
  * The oldest version containerbase supports on an Ubuntu release, only for
40
- * the releases whose floor differs from `minVersion`.
41
+ * the releases whose floor differs from `minVersion`, the floor on the
42
+ * default distro.
41
43
  */
42
44
  distroMinVersion?: Partial<Record<DistroCode, string>>;
43
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@containerbase/base",
3
- "version": "14.40.0",
3
+ "version": "14.41.1",
4
4
  "description": "Metadata about the tools supported by containerbase",
5
5
  "keywords": [
6
6
  "containerbase",