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
3 changes: 2 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"prepareCmd": "pnpm release:prepare --release=${nextRelease.version} --channel='${branch.channel ?? ''}' --sha=${nextRelease.gitHead}",
"publishCmd": "pnpm release:publish --release=${nextRelease.version} --channel='${branch.channel ?? ''}' --sha=${nextRelease.gitHead}"
}
]
],
"@containerbase/semantic-release-pnpm"
],
"analyzeCommits": {
"releaseRules": [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"devDependencies": {
"@containerbase/eslint-plugin": "2.1.1",
"@containerbase/istanbul-reports-html": "2.0.19",
"@containerbase/semantic-release-pnpm": "1.4.3",
"@eslint/js": "10.0.1",
"@semantic-release/exec": "7.1.0",
"@tsconfig/node24": "24.0.5",
Expand Down
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
17 changes: 17 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading