feat(packaging): Rename package scope to @git.zone and migrate to ESM; rename CLI/config keys, update entrypoints and imports, bump Node requirement to 18, and adjust scripts/dependencies

This commit is contained in:
2026-01-19 22:08:59 +00:00
parent e0cbc9cfec
commit 6995010a2c
15 changed files with 450 additions and 122 deletions

View File

@@ -1,5 +1,5 @@
import * as plugins from './tsdocker.plugins';
import * as paths from './tsdocker.paths';
import * as plugins from './tsdocker.plugins.js';
import * as paths from './tsdocker.paths.js';
import * as fs from 'fs';
export interface IConfig {
@@ -22,7 +22,7 @@ const getQenvKeyValueObject = async () => {
const buildConfig = async (qenvKeyValueObjectArg: { [key: string]: string | number }) => {
const npmextra = new plugins.npmextra.Npmextra(paths.cwd);
const config = npmextra.dataFor<IConfig>('npmdocker', {
const config = npmextra.dataFor<IConfig>('@git.zone/tsdocker', {
baseImage: 'hosttoday/ht-docker-node:npmdocker',
init: 'rm -rf node_nodules/ && yarn install',
command: 'npmci npm test',