6 Commits

Author SHA1 Message Date
6bb1a30f37 1.2.3
All checks were successful
Release / build-and-release (push) Successful in 39s
2025-10-24 09:54:58 +00:00
d6f9346e49 fix(deps): Update Deno dependencies and configuration, commit lockfile, and adjust plugins exports 2025-10-24 09:54:58 +00:00
750ac4a47b 1.2.2
Some checks failed
Release / build-and-release (push) Failing after 4s
2025-10-24 08:21:13 +00:00
8119ff264c fix(logging): Refactor logging and plugin imports: remove push.rocks dependencies and provide a simple console-based logger with a compatibility shim 2025-10-24 08:21:13 +00:00
33ee422f39 1.2.1
Some checks failed
Release / build-and-release (push) Failing after 5s
2025-10-24 08:17:12 +00:00
571f3e72f8 fix(deno): Set Deno nodeModulesDir to auto and add local .claude settings 2025-10-24 08:17:12 +00:00
8 changed files with 127 additions and 40 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,6 @@
# Deno
.deno/
deno.lock
# deno.lock should be committed for reproducible builds
# Node
node_modules/

View File

@@ -1,5 +1,29 @@
# Changelog
## 2025-10-24 - 1.2.3 - fix(deps)
Update Deno dependencies and configuration, commit lockfile, and adjust plugins exports
- Add deno.lock with pinned std library versions for reproducible Deno builds
- Remove deno.lock from .gitignore so the lockfile is committed
- Remove unused @std/fmt export from ts/plugins.ts and from deno.json imports
- Adjust deno.json compiler options (remove allowJs)
- Add local .claude/settings.local.json (local permissions/config)
## 2025-10-24 - 1.2.2 - fix(logging)
Refactor logging and plugin imports: remove push.rocks dependencies and provide a simple console-based logger with a compatibility shim
- Replaced smartlog-based logger with a simple console-based log utility in ts/logging.ts; added a small logger shim (logger.log) for compatibility.
- Removed push.rocks exports from ts/plugins.ts and consolidated external imports to std modules (@std/*); updated deno.json to remove push.rocks packages and keep @std/cli.
- Updated code to use the new console logger and simplified plugin surface; this reduces external dependencies and simplifies runtime footprint.
- Added .claude/settings.local.json (local settings file) — development/local config only, no runtime change.
## 2025-10-24 - 1.2.1 - fix(deno)
Set Deno nodeModulesDir to 'auto' and add local .claude settings
- Add nodeModulesDir: "auto" to deno.json to enable automatic node_modules handling for compatibility with npm-scoped imports.
- Add .claude/settings.local.json with local tooling permissions for development environments (non-functional, local config only).
- This is a tooling/config change only — no runtime code paths were modified.
## 2025-10-24 - 1.2.0 - feat(ci)
Improve release workflow: compile multi-platform binaries, generate checksums, create Gitea release and upload assets, and add local settings

View File

@@ -1,6 +1,6 @@
{
"name": "@serve.zone/isocreator",
"version": "1.2.0",
"version": "1.2.3",
"exports": "./mod.ts",
"tasks": {
"dev": "deno run --allow-all mod.ts",
@@ -18,19 +18,14 @@
"@std/fs": "jsr:@std/fs@^1.0.0",
"@std/yaml": "jsr:@std/yaml@^1.0.0",
"@std/assert": "jsr:@std/assert@^1.0.0",
"@std/fmt": "jsr:@std/fmt@^1.0.0",
"@push.rocks/smartcli": "npm:@push.rocks/smartcli@^5.0.0",
"@push.rocks/smartlog": "npm:@push.rocks/smartlog@^3.0.0",
"@push.rocks/smartfile": "npm:@push.rocks/smartfile@^11.0.0",
"@push.rocks/smartpromise": "npm:@push.rocks/smartpromise@^4.0.0",
"@push.rocks/smartrequest": "npm:@push.rocks/smartrequest@^2.0.0"
"@std/cli": "jsr:@std/cli@^1.0.0"
},
"nodeModulesDir": "auto",
"compilerOptions": {
"lib": [
"deno.window"
],
"strict": true,
"allowJs": false
"strict": true
},
"fmt": {
"useTabs": false,

70
deno.lock generated Normal file
View File

@@ -0,0 +1,70 @@
{
"version": "5",
"specifiers": {
"jsr:@std/assert@1": "1.0.15",
"jsr:@std/cli@1": "1.0.23",
"jsr:@std/fs@1": "1.0.19",
"jsr:@std/internal@^1.0.10": "1.0.12",
"jsr:@std/internal@^1.0.12": "1.0.12",
"jsr:@std/internal@^1.0.9": "1.0.12",
"jsr:@std/path@1": "1.1.2",
"jsr:@std/path@^1.1.1": "1.1.2",
"jsr:@std/yaml@1": "1.0.10",
"npm:@types/node@*": "24.2.0"
},
"jsr": {
"@std/assert@1.0.15": {
"integrity": "d64018e951dbdfab9777335ecdb000c0b4e3df036984083be219ce5941e4703b",
"dependencies": [
"jsr:@std/internal@^1.0.12"
]
},
"@std/cli@1.0.23": {
"integrity": "bf95b7a9425ba2af1ae5a6359daf58c508f2decf711a76ed2993cd352498ccca",
"dependencies": [
"jsr:@std/internal@^1.0.12"
]
},
"@std/fs@1.0.19": {
"integrity": "051968c2b1eae4d2ea9f79a08a3845740ef6af10356aff43d3e2ef11ed09fb06",
"dependencies": [
"jsr:@std/internal@^1.0.9",
"jsr:@std/path@^1.1.1"
]
},
"@std/internal@1.0.12": {
"integrity": "972a634fd5bc34b242024402972cd5143eac68d8dffaca5eaa4dba30ce17b027"
},
"@std/path@1.1.2": {
"integrity": "c0b13b97dfe06546d5e16bf3966b1cadf92e1cc83e56ba5476ad8b498d9e3038",
"dependencies": [
"jsr:@std/internal@^1.0.10"
]
},
"@std/yaml@1.0.10": {
"integrity": "245706ea3511cc50c8c6d00339c23ea2ffa27bd2c7ea5445338f8feff31fa58e"
}
},
"npm": {
"@types/node@24.2.0": {
"integrity": "sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==",
"dependencies": [
"undici-types"
],
"tarball": "https://verdaccio.lossless.digital/@types/node/-/node-24.2.0.tgz"
},
"undici-types@7.10.0": {
"integrity": "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==",
"tarball": "https://verdaccio.lossless.digital/undici-types/-/undici-types-7.10.0.tgz"
}
},
"workspace": {
"dependencies": [
"jsr:@std/assert@1",
"jsr:@std/cli@1",
"jsr:@std/fs@1",
"jsr:@std/path@1",
"jsr:@std/yaml@1"
]
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "@serve.zone/isocreator",
"version": "1.2.0",
"version": "1.2.3",
"description": "Ubuntu ISO customization tool for PC and Raspberry Pi with WiFi and cloud-init configuration",
"type": "module",
"bin": {

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/isocreator',
version: '1.2.0',
version: '1.2.3',
description: 'Ubuntu ISO customization tool for PC and Raspberry Pi with WiFi and cloud-init configuration'
}

View File

@@ -1,29 +1,34 @@
/**
* Logging utilities for isocreator
* Simple console-based logging (following nupst pattern)
*/
import { smartlog } from './plugins.ts';
// Create logger instance
export const logger = new smartlog.Smartlog({
logContext: {
company: 'Lossless GmbH',
companyunit: 'serve.zone',
containerName: 'isocreator',
environment: 'cli',
runtime: 'deno',
zone: 'local',
},
minimumLogLevel: 'info',
});
/**
* Log levels for convenience
*/
export const log = {
info: (message: string) => logger.log('info', message),
success: (message: string) => logger.log('info', `${message}`),
warn: (message: string) => logger.log('warn', `⚠️ ${message}`),
error: (message: string) => logger.log('error', `${message}`),
debug: (message: string) => logger.log('silly', message),
info: (message: string) => console.log(` ${message}`),
success: (message: string) => console.log(`${message}`),
warn: (message: string) => console.warn(`⚠️ ${message}`),
error: (message: string) => console.error(`${message}`),
debug: (message: string) => console.log(`🔍 ${message}`),
};
// Export a simple logger object for compatibility
export const logger = {
log: (level: string, message: string) => {
switch (level) {
case 'info':
log.info(message);
break;
case 'warn':
log.warn(message);
break;
case 'error':
log.error(message);
break;
default:
console.log(message);
}
},
};

View File

@@ -8,11 +8,4 @@ export * as path from '@std/path';
export * as fs from '@std/fs';
export * as yaml from '@std/yaml';
export * as assert from '@std/assert';
export * as fmt from '@std/fmt';
// Push.rocks ecosystem
export { smartcli } from '@push.rocks/smartcli';
export { smartlog } from '@push.rocks/smartlog';
export { smartfile } from '@push.rocks/smartfile';
export { Deferred } from '@push.rocks/smartpromise';
export { smartrequest } from '@push.rocks/smartrequest';
export * as cli from '@std/cli';