Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The data is generated from the Containerbase sources and released with the same
This allows a consumer of this library to determine which tools can be used with a given version of Containerbase (via `/usr/local/containerbase/version`): if the image has the same major version as this package and a version greater than or equal to the package version, every tool listed here can be installed in that image.
A new major version may remove tools, so compare against the package of the image's major version.

The package version to compare with is exported too:

```ts
import pkg from '@containerbase/base/package.json' with { type: 'json' };

pkg.version; // eg. '14.2.0'
```

## Usage

```ts
Expand Down
1 change: 1 addition & 0 deletions packages/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"types": "./dist/zod.d.ts",
"default": "./dist/zod.js"
},
"./package.json": "./package.json",
"./tools.json": "./data/tools.json",
"./tools.schema.json": "./data/tools.schema.json"
},
Expand Down
Loading