Compare commits

..

6 Commits

Author SHA1 Message Date
jkunz ec911832ed v2.2.6
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-05-08 13:40:20 +00:00
jkunz 302667305e fix(tsdockermanager): update project info loading to use the async ProjectInfo factory 2026-05-08 13:40:20 +00:00
jkunz 56cf0c0f52 v2.2.5
Default (tags) / security (push) Failing after 1s
Default (tags) / test (push) Failing after 1s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-04-30 12:55:20 +00:00
jkunz 3a747cfd2f fix(scripts): use pnpm for the test script build command 2026-04-30 12:55:20 +00:00
jkunz 461c4bb5a9 v2.2.4
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2026-03-24 18:56:43 +00:00
jkunz 3c3662d935 fix(config): migrate configuration loading to smartconfig and update build tooling compatibility 2026-03-24 18:56:43 +00:00
11 changed files with 205 additions and 289 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"json.schemas": [ "json.schemas": [
{ {
"fileMatch": ["/npmextra.json"], "fileMatch": ["/smartconfig.json"],
"schema": { "schema": {
"type": "object", "type": "object",
"properties": { "properties": {
+18
View File
@@ -1,5 +1,23 @@
# Changelog # Changelog
## 2026-05-08 - 2.2.6 - fix(tsdockermanager)
update project info loading to use the async ProjectInfo factory
- bump @push.rocks/projectinfo from ^5.0.2 to ^5.1.0
- replace direct ProjectInfo construction with await ProjectInfo.create(paths.cwd) during manager preparation
## 2026-04-30 - 2.2.5 - fix(scripts)
use pnpm for the test script build command
- updates the test script in package.json to run the build through pnpm instead of npm
## 2026-03-24 - 2.2.4 - fix(config)
migrate configuration loading to smartconfig and update build tooling compatibility
- switch configuration loading and documentation to .smartconfig.json
- upgrade build and test dependencies for tsbuild 4.4.0 and TypeScript 6 compatibility
- remove deprecated tsconfig baseUrl and paths settings and add an lru-cache override to avoid type issues
## 2026-03-24 - 2.2.3 - fix(config) ## 2026-03-24 - 2.2.3 - fix(config)
update workflow repository URL handling and package config file references update workflow repository URL handling and package config file references
+22 -11
View File
@@ -1,15 +1,15 @@
{ {
"name": "@git.zone/tsdocker", "name": "@git.zone/tsdocker",
"version": "2.2.3", "version": "2.2.6",
"private": false, "private": false,
"description": "develop npm modules cross platform with docker", "description": "A comprehensive Docker build tool for TypeScript projects with multi-arch support, multi-registry push, and CI-safe session isolation.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts", "typings": "dist_ts/index.d.ts",
"bin": { "bin": {
"tsdocker": "cli.js" "tsdocker": "cli.js"
}, },
"scripts": { "scripts": {
"test": "(npm run build)", "test": "(pnpm run build)",
"build": "(tsbuild)", "build": "(tsbuild)",
"buildDocs": "tsdoc" "buildDocs": "tsdoc"
}, },
@@ -18,7 +18,16 @@
"url": "https://gitlab.com/gitzone/tsdocker.git" "url": "https://gitlab.com/gitzone/tsdocker.git"
}, },
"keywords": [ "keywords": [
"docker" "docker",
"typescript",
"buildx",
"multi-arch",
"multi-registry",
"oci",
"container",
"ci-cd",
"docker-build",
"cross-platform"
], ],
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
@@ -27,22 +36,22 @@
}, },
"homepage": "https://gitlab.com/gitzone/tsdocker#readme", "homepage": "https://gitlab.com/gitzone/tsdocker#readme",
"devDependencies": { "devDependencies": {
"@git.zone/tsbuild": "^4.3.0", "@git.zone/tsbuild": "^4.4.0",
"@git.zone/tsrun": "^2.0.1", "@git.zone/tsrun": "^2.0.1",
"@git.zone/tstest": "^3.3.2", "@git.zone/tstest": "^3.5.1",
"@types/node": "^25.5.0" "@types/node": "^25.5.0"
}, },
"dependencies": { "dependencies": {
"@push.rocks/lik": "^6.3.1", "@push.rocks/lik": "^6.4.0",
"@push.rocks/smartconfig": "^6.0.0", "@push.rocks/projectinfo": "^5.1.0",
"@push.rocks/projectinfo": "^5.0.2",
"@push.rocks/smartcli": "^4.0.20", "@push.rocks/smartcli": "^4.0.20",
"@push.rocks/smartconfig": "^6.0.1",
"@push.rocks/smartfs": "^1.5.0", "@push.rocks/smartfs": "^1.5.0",
"@push.rocks/smartinteract": "^2.0.16", "@push.rocks/smartinteract": "^2.0.16",
"@push.rocks/smartlog": "^3.2.1", "@push.rocks/smartlog": "^3.2.1",
"@push.rocks/smartlog-destination-local": "^9.0.2", "@push.rocks/smartlog-destination-local": "^9.0.2",
"@push.rocks/smartlog-source-ora": "^1.0.9", "@push.rocks/smartlog-source-ora": "^1.0.9",
"@push.rocks/smartshell": "^3.3.7" "@push.rocks/smartshell": "^3.3.8"
}, },
"packageManager": "pnpm@10.18.1+sha512.77a884a165cbba2d8d1c19e3b4880eee6d2fcabd0d879121e282196b80042351d5eb3ca0935fa599da1dc51265cc68816ad2bddd2a2de5ea9fdf92adbec7cd34", "packageManager": "pnpm@10.18.1+sha512.77a884a165cbba2d8d1c19e3b4880eee6d2fcabd0d879121e282196b80042351d5eb3ca0935fa599da1dc51265cc68816ad2bddd2a2de5ea9fdf92adbec7cd34",
"type": "module", "type": "module",
@@ -59,6 +68,8 @@
"readme.md" "readme.md"
], ],
"pnpm": { "pnpm": {
"overrides": {} "overrides": {
"lru-cache": ">=11.0.0"
}
} }
} }
+146 -264
View File
File diff suppressed because it is too large Load Diff
+9 -3
View File
@@ -23,7 +23,7 @@ tsdocker is a comprehensive Docker development and building tool. It provides:
## Configuration ## Configuration
Configure in `package.json` under `@git.zone/tsdocker`: Configure in `.smartconfig.json` under `@git.zone/tsdocker`:
```json ```json
{ {
@@ -117,10 +117,16 @@ The `config.push` field is now a no-op (kept for backward compat).
## Build Status ## Build Status
- Build: ✅ Passes - Build: ✅ Passes (TypeScript 6 via tsbuild 4.4.0)
## Previous Upgrades (2025-11-22) ## Previous Upgrades
### 2026-03-24
- Upgraded `@git.zone/tsbuild` from 4.3.0 to 4.4.0 (TypeScript 6)
- Removed deprecated `baseUrl`/`paths` from tsconfig.json
- Added pnpm override `lru-cache: ">=11.0.0"` to fix TS6 type incompatibility with lru-cache@10.x
### 2025-11-22
- Updated all @git.zone/_ dependencies to @git.zone/_ scope - Updated all @git.zone/_ dependencies to @git.zone/_ scope
- Updated all @pushrocks/_ dependencies to @push.rocks/_ scope - Updated all @pushrocks/_ dependencies to @push.rocks/_ scope
- Migrated from smartfile v8 to smartfs v1.1.0 - Migrated from smartfile v8 to smartfs v1.1.0
+1 -1
View File
@@ -146,7 +146,7 @@ tsdocker push --no-build Dockerfile_api Dockerfile_web
## Configuration ## Configuration
Configure tsdocker in your `package.json` or `npmextra.json` under the `@git.zone/tsdocker` key: Configure tsdocker in your `.smartconfig.json` under the `@git.zone/tsdocker` key:
```json ```json
{ {
+2 -2
View File
@@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tsdocker', name: '@git.zone/tsdocker',
version: '2.2.3', version: '2.2.6',
description: 'develop npm modules cross platform with docker' description: 'A comprehensive Docker build tool for TypeScript projects with multi-arch support, multi-registry push, and CI-safe session isolation.'
} }
+1 -1
View File
@@ -50,7 +50,7 @@ export class TsDockerManager {
// Load project info // Load project info
try { try {
const projectinfoInstance = new plugins.projectinfo.ProjectInfo(paths.cwd); const projectinfoInstance = await plugins.projectinfo.ProjectInfo.create(paths.cwd);
this.projectInfo = { this.projectInfo = {
npm: { npm: {
name: projectinfoInstance.npm.name, name: projectinfoInstance.npm.name,
+2 -2
View File
@@ -3,8 +3,8 @@ import * as paths from './tsdocker.paths.js';
import type { ITsDockerConfig } from './interfaces/index.js'; import type { ITsDockerConfig } from './interfaces/index.js';
const buildConfig = async (): Promise<ITsDockerConfig> => { const buildConfig = async (): Promise<ITsDockerConfig> => {
const npmextra = new plugins.npmextra.Smartconfig(paths.cwd); const smartconfig = new plugins.smartconfig.Smartconfig(paths.cwd);
const config = npmextra.dataFor<ITsDockerConfig>('@git.zone/tsdocker', { const config = smartconfig.dataFor<ITsDockerConfig>('@git.zone/tsdocker', {
registries: [], registries: [],
registryRepoMap: {}, registryRepoMap: {},
buildArgEnvMap: {}, buildArgEnvMap: {},
+2 -2
View File
@@ -1,6 +1,6 @@
// push.rocks scope // push.rocks scope
import * as lik from '@push.rocks/lik'; import * as lik from '@push.rocks/lik';
import * as npmextra from '@push.rocks/smartconfig'; import * as smartconfig from '@push.rocks/smartconfig';
import * as path from 'path'; import * as path from 'path';
import * as projectinfo from '@push.rocks/projectinfo'; import * as projectinfo from '@push.rocks/projectinfo';
import * as smartcli from '@push.rocks/smartcli'; import * as smartcli from '@push.rocks/smartcli';
@@ -16,7 +16,7 @@ export const smartfs = new SmartFs(new SmartFsProviderNode());
export { export {
lik, lik,
npmextra, smartconfig,
path, path,
projectinfo, projectinfo,
smartcli, smartcli,
+1 -2
View File
@@ -5,8 +5,7 @@
"moduleResolution": "NodeNext", "moduleResolution": "NodeNext",
"esModuleInterop": true, "esModuleInterop": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true,
"baseUrl": ".", "useDefineForClassFields": false
"paths": {}
}, },
"exclude": ["dist_*/**/*.d.ts"] "exclude": ["dist_*/**/*.d.ts"]
} }