fix(packaging): Rename package scope to @git.zone and migrate deps/CI; pin pnpm and enable ESM packaging

This commit is contained in:
2025-12-13 09:44:37 +00:00
parent c31df766fc
commit c538e6b10b
14 changed files with 389 additions and 28099 deletions

View File

@@ -1,11 +1,13 @@
# tsdocker Project Hints
## Module Purpose
tsdocker is a tool for developing npm modules cross-platform using Docker. It allows testing in clean, reproducible Linux environments locally.
## Recent Upgrades (2025-11-22)
- Updated all @gitzone/* dependencies to @git.zone/* scope (latest versions)
- Updated all @pushrocks/* dependencies to @push.rocks/* scope (latest versions)
- Updated all @git.zone/_ dependencies to @git.zone/_ scope (latest versions)
- Updated all @pushrocks/_ dependencies to @push.rocks/_ scope (latest versions)
- Migrated from smartfile v8 to smartfs v1.1.0
- All filesystem operations now use smartfs fluent API
- Operations are now async (smartfs is async-only)
@@ -18,17 +20,21 @@ tsdocker is a tool for developing npm modules cross-platform using Docker. It al
- Removed tslint and tslint-config-prettier (no longer needed)
## SmartFS Migration Details
The following operations were converted:
- `smartfile.fs.fileExistsSync()` → Node.js `fs.existsSync()` (for sync needs)
- `smartfile.fs.ensureDirSync()` → Node.js `fs.mkdirSync(..., { recursive: true })`
- `smartfile.memory.toFsSync()``smartfs.file(path).write(content)` (async)
- `smartfile.fs.removeSync()``smartfs.file(path).delete()` (async)
## Test Status
- Build: ✅ Passes
- The integration test requires cloning an external test repository (sandbox-npmts)
- The external test repo uses top-level await which requires ESM module handling
- This is not a tsdocker issue but rather the test repository's structure
## Dependencies
All dependencies are now at their latest versions compatible with Node.js without introducing new Node.js-specific dependencies.