diff --git a/changelog.md b/changelog.md index 6cc84b8..8b349c6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-03-16 - 5.1.1 - fix(paths) +use the system temp directory for nogit storage and add release metadata + +- Changes nogitDir to resolve under the OS temporary directory instead of a local .nogit folder +- Adds @git.zone/cli release and module metadata to npmextra.json for npm publishing configuration + ## 2025-11-25 - 5.1.0 - feat(host) Add DockerHost version & image-prune APIs, extend network creation options, return exec inspect info, and improve image import/store and streaming diff --git a/npmextra.json b/npmextra.json index c1336bf..fd4c76d 100644 --- a/npmextra.json +++ b/npmextra.json @@ -9,6 +9,23 @@ "npmAccessLevel": "public", "npmRegistryUrl": "registry.npmjs.org" }, + "@git.zone/cli": { + "release": { + "registries": [ + "https://registry.npmjs.org" + ], + "accessLevel": "public" + }, + "projectType": "npm", + "module": { + "githost": "code.foss.global", + "gitscope": "apiclient.xyz", + "gitrepo": "docker", + "description": "Provides easy communication with Docker remote API from Node.js, with TypeScript support.", + "npmPackagename": "@apiclient.xyz/docker", + "license": "MIT" + } + }, "gitzone": { "projectType": "npm", "module": { diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 06863f8..76aa4c2 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiclient.xyz/docker', - version: '5.1.0', + version: '5.1.1', description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.' } diff --git a/ts/paths.ts b/ts/paths.ts index 64fc21b..a03e523 100644 --- a/ts/paths.ts +++ b/ts/paths.ts @@ -1,9 +1,9 @@ import * as plugins from './plugins.js'; +import { tmpdir } from 'node:os'; export const packageDir = plugins.path.resolve( plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), '../', ); -export const nogitDir = plugins.path.resolve(packageDir, '.nogit/'); -plugins.smartfile.fs.ensureDir(nogitDir); +export const nogitDir = plugins.path.resolve(tmpdir(), 'apiclient-docker');