Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0243bc5ec7 | |||
| 92e618104f | |||
| c089c1f80d | |||
| 10a394c7d8 | |||
| 5980308bb8 | |||
| 398e36bdf7 | |||
| 1e78517547 | |||
| 55700ad87e | |||
| 773df5268b | |||
| b51fa88283 | |||
| cb9f717d54 | |||
| 70be11894c | |||
| 89ab63b153 |
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"experimentalDecorators": true,
|
|
||||||
"lib": ["ES2022", "DOM"],
|
"lib": ["ES2022", "DOM"],
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"checkJs": true
|
"checkJs": true
|
||||||
|
|||||||
33
changelog.md
33
changelog.md
@@ -1,5 +1,38 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-12-18 - 2.13.3 - fix(tsconfig)
|
||||||
|
remove experimentalDecorators and useDefineForClassFields from TypeScript configuration files
|
||||||
|
|
||||||
|
- Removed "experimentalDecorators": true from assets/templates/multienv/deno.json and tsconfig.json
|
||||||
|
- Removed "useDefineForClassFields": false from tsconfig.json
|
||||||
|
- This change alters TypeScript/Deno compiler behavior: decorator support and legacy class-field initialization semantics may be affected; code relying on those may need updates
|
||||||
|
|
||||||
|
## 2025-12-16 - 2.13.2 - fix(deps)
|
||||||
|
bump @git.zone/tspublish to ^1.11.0
|
||||||
|
|
||||||
|
- Updated dependency @git.zone/tspublish from ^1.10.3 to ^1.11.0 in package.json
|
||||||
|
|
||||||
|
## 2025-12-16 - 2.13.1 - fix(npmextra)
|
||||||
|
merge old npmextra keys into new keys during migration, preserving existing new values
|
||||||
|
|
||||||
|
- Changed migration logic to merge data when both old and new keys exist instead of skipping the merge.
|
||||||
|
- Merge preserves existing new-key values (old values do not overwrite new ones) and still deletes the old key after migration.
|
||||||
|
- Applied the fix in both ts/mod_format/format.npmextra.ts and ts/mod_format/formatters/npmextra.formatter.ts.
|
||||||
|
- Adds a console log for successful migrations; behavior for single-key rename remains unchanged.
|
||||||
|
|
||||||
|
## 2025-12-16 - 2.13.0 - feat(tests)
|
||||||
|
feat(tests): add sandbox test fixture, CI and editor configs; bump deps
|
||||||
|
|
||||||
|
- Added comprehensive test/ fixture (sandbox-npmts) including package.json, npmextra.json, readme, GitLab CI (.gitlab-ci.yml), .npmrc, VSCode launch/settings and qenv.yml
|
||||||
|
- Added test sources and helper files under test/test and test/ts (browser and node tests, commitinfo data, simple library code)
|
||||||
|
- Updated dependencies in package.json: @git.zone/tsdoc -> ^1.11.4, @push.rocks/smartfs -> ^1.3.1
|
||||||
|
|
||||||
|
## 2025-12-15 - 2.12.2 - fix(cli)
|
||||||
|
noop: no changes
|
||||||
|
|
||||||
|
- No source or documentation changes detected in the diff; nothing to release.
|
||||||
|
- Package version remains unchanged at 2.12.1.
|
||||||
|
|
||||||
## 2025-12-15 - 2.12.1 - fix(cli)
|
## 2025-12-15 - 2.12.1 - fix(cli)
|
||||||
No changes detected — no version bump required
|
No changes detected — no version bump required
|
||||||
|
|
||||||
|
|||||||
16
package.json
16
package.json
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/cli",
|
"name": "@git.zone/cli",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "2.12.1",
|
"version": "2.13.4",
|
||||||
"description": "A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.",
|
"description": "A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.",
|
||||||
"main": "dist_ts/index.ts",
|
"main": "dist_ts/index.ts",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
@@ -57,28 +57,28 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/gitzone/private/gitzone#readme",
|
"homepage": "https://gitlab.com/gitzone/private/gitzone#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@git.zone/tsbuild": "^4.0.2",
|
"@git.zone/tsbuild": "^4.1.2",
|
||||||
"@git.zone/tsrun": "^2.0.1",
|
"@git.zone/tsrun": "^2.0.1",
|
||||||
"@git.zone/tstest": "^3.1.3",
|
"@git.zone/tstest": "^3.1.4",
|
||||||
"@push.rocks/smartdelay": "^3.0.5",
|
"@push.rocks/smartdelay": "^3.0.5",
|
||||||
"@push.rocks/smartinteract": "^2.0.16",
|
"@push.rocks/smartinteract": "^2.0.16",
|
||||||
"@push.rocks/smartnetwork": "^4.4.0",
|
"@push.rocks/smartnetwork": "^4.4.0",
|
||||||
"@push.rocks/smartshell": "^3.3.0",
|
"@push.rocks/smartshell": "^3.3.0",
|
||||||
"@types/node": "^25.0.2"
|
"@types/node": "^25.0.6"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@git.zone/tsdoc": "^1.11.3",
|
"@git.zone/tsdoc": "^1.12.0",
|
||||||
"@git.zone/tspublish": "^1.10.3",
|
"@git.zone/tspublish": "^1.11.0",
|
||||||
"@push.rocks/commitinfo": "^1.0.12",
|
"@push.rocks/commitinfo": "^1.0.12",
|
||||||
"@push.rocks/early": "^4.0.4",
|
"@push.rocks/early": "^4.0.4",
|
||||||
"@push.rocks/gulp-function": "^3.0.7",
|
"@push.rocks/gulp-function": "^3.0.7",
|
||||||
"@push.rocks/lik": "^6.2.2",
|
"@push.rocks/lik": "^6.2.2",
|
||||||
"@push.rocks/npmextra": "^5.3.3",
|
"@push.rocks/npmextra": "^5.3.3",
|
||||||
"@push.rocks/projectinfo": "^5.0.2",
|
"@push.rocks/projectinfo": "^5.0.2",
|
||||||
"@push.rocks/smartcli": "^4.0.19",
|
"@push.rocks/smartcli": "^4.0.20",
|
||||||
"@push.rocks/smartdiff": "^1.1.0",
|
"@push.rocks/smartdiff": "^1.1.0",
|
||||||
"@push.rocks/smartfile": "^13.1.2",
|
"@push.rocks/smartfile": "^13.1.2",
|
||||||
"@push.rocks/smartfs": "^1.2.0",
|
"@push.rocks/smartfs": "^1.3.1",
|
||||||
"@push.rocks/smartgulp": "^3.0.4",
|
"@push.rocks/smartgulp": "^3.0.4",
|
||||||
"@push.rocks/smartjson": "^6.0.0",
|
"@push.rocks/smartjson": "^6.0.0",
|
||||||
"@push.rocks/smartlegal": "^1.0.27",
|
"@push.rocks/smartlegal": "^1.0.27",
|
||||||
|
|||||||
2064
pnpm-lock.yaml
generated
2064
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/cli',
|
name: '@git.zone/cli',
|
||||||
version: '2.12.1',
|
version: '2.13.3',
|
||||||
description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.'
|
description: 'A comprehensive CLI tool for enhancing and managing local development workflows with gitzone utilities, focusing on project setup, version control, code formatting, and template management.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,8 +16,17 @@ const migrateNamespaceKeys = (npmextraJson: any): boolean => {
|
|||||||
{ oldKey: 'szci', newKey: '@ship.zone/szci' },
|
{ oldKey: 'szci', newKey: '@ship.zone/szci' },
|
||||||
];
|
];
|
||||||
for (const { oldKey, newKey } of migrations) {
|
for (const { oldKey, newKey } of migrations) {
|
||||||
if (npmextraJson[oldKey] && !npmextraJson[newKey]) {
|
if (npmextraJson[oldKey]) {
|
||||||
npmextraJson[newKey] = npmextraJson[oldKey];
|
if (!npmextraJson[newKey]) {
|
||||||
|
// New key doesn't exist - simple rename
|
||||||
|
npmextraJson[newKey] = npmextraJson[oldKey];
|
||||||
|
} else {
|
||||||
|
// New key exists - merge old into new (old values don't overwrite new)
|
||||||
|
npmextraJson[newKey] = {
|
||||||
|
...npmextraJson[oldKey],
|
||||||
|
...npmextraJson[newKey],
|
||||||
|
};
|
||||||
|
}
|
||||||
delete npmextraJson[oldKey];
|
delete npmextraJson[oldKey];
|
||||||
migrated = true;
|
migrated = true;
|
||||||
console.log(`Migrated npmextra.json: ${oldKey} -> ${newKey}`);
|
console.log(`Migrated npmextra.json: ${oldKey} -> ${newKey}`);
|
||||||
|
|||||||
@@ -16,8 +16,17 @@ const migrateNamespaceKeys = (npmextraJson: any): boolean => {
|
|||||||
{ oldKey: 'szci', newKey: '@ship.zone/szci' },
|
{ oldKey: 'szci', newKey: '@ship.zone/szci' },
|
||||||
];
|
];
|
||||||
for (const { oldKey, newKey } of migrations) {
|
for (const { oldKey, newKey } of migrations) {
|
||||||
if (npmextraJson[oldKey] && !npmextraJson[newKey]) {
|
if (npmextraJson[oldKey]) {
|
||||||
npmextraJson[newKey] = npmextraJson[oldKey];
|
if (!npmextraJson[newKey]) {
|
||||||
|
// New key doesn't exist - simple rename
|
||||||
|
npmextraJson[newKey] = npmextraJson[oldKey];
|
||||||
|
} else {
|
||||||
|
// New key exists - merge old into new (old values don't overwrite new)
|
||||||
|
npmextraJson[newKey] = {
|
||||||
|
...npmextraJson[oldKey],
|
||||||
|
...npmextraJson[newKey],
|
||||||
|
};
|
||||||
|
}
|
||||||
delete npmextraJson[oldKey];
|
delete npmextraJson[oldKey];
|
||||||
migrated = true;
|
migrated = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"experimentalDecorators": true,
|
|
||||||
"useDefineForClassFields": false,
|
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "NodeNext",
|
"module": "NodeNext",
|
||||||
"moduleResolution": "NodeNext",
|
"moduleResolution": "NodeNext",
|
||||||
|
|||||||
Reference in New Issue
Block a user