fix(paths): use the system temp directory for nogit storage and add release metadata
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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.'
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user