Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
ff2ebc076d | |||
d71b082b75 | |||
f6680dc45e | |||
cb4a02d1ef | |||
9e39444daa | |||
6ec5d275bb | |||
f5d78f3b40 | |||
68546939ca |
8
assets/templates/npm/ts/paths.ts
Normal file
8
assets/templates/npm/ts/paths.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fileName: paths.ts
|
||||||
|
---
|
||||||
|
import * as plugins from './plugins.js';
|
||||||
|
export const packageDir = plugins.path.join(
|
||||||
|
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
||||||
|
'../'
|
||||||
|
);
|
12
assets/templates/npm/ts/plugins.ts
Normal file
12
assets/templates/npm/ts/plugins.ts
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
fileName: plugins.ts
|
||||||
|
---
|
||||||
|
// native scope
|
||||||
|
import * as path from 'path';
|
||||||
|
|
||||||
|
export { path };
|
||||||
|
|
||||||
|
// @push.rocks scope
|
||||||
|
import * as smartpath from '@push.rocks/smartpath';
|
||||||
|
|
||||||
|
export { smartpath };
|
@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
fileName: {{module.name}}.plugins.ts
|
|
||||||
---
|
|
||||||
const removeme = {};
|
|
||||||
export {
|
|
||||||
removeme
|
|
||||||
}
|
|
2
assets/templates/tsconfig_update/.smartscaf.yml
Normal file
2
assets/templates/tsconfig_update/.smartscaf.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
runafter:
|
||||||
|
- gitzone format
|
22
changelog.md
22
changelog.md
@ -1,5 +1,27 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-04-15 - 1.14.1 - fix(package.json)
|
||||||
|
Add packageManager field to specify pnpm version for consistent package management
|
||||||
|
|
||||||
|
- Inserted packageManager property in package.json with pnpm version info to ensure reproducible dependency installs
|
||||||
|
|
||||||
|
## 2025-04-15 - 1.14.0 - feat(tsconfig_update)
|
||||||
|
Add runafter directive to trigger gitzone format after tsconfig update
|
||||||
|
|
||||||
|
- Added runafter configuration in assets/templates/tsconfig_update/.smartscaf.yml to automate formatting task
|
||||||
|
|
||||||
|
## 2025-03-07 - 1.13.1 - fix(cli)
|
||||||
|
Improve commit message logging
|
||||||
|
|
||||||
|
- Updated logging to display recommended next commit details.
|
||||||
|
- Enabled interactive prompt for choosing commit type and scope.
|
||||||
|
|
||||||
|
## 2025-02-28 - 1.13.0 - feat(templates)
|
||||||
|
Updated and added new TypeScript template files for npm projects
|
||||||
|
|
||||||
|
- Added new paths.ts and plugins.ts template files for npm projects.
|
||||||
|
- Removed outdated some.plugins.ts template file.
|
||||||
|
|
||||||
## 2025-02-25 - 1.12.8 - fix(metadata)
|
## 2025-02-25 - 1.12.8 - fix(metadata)
|
||||||
Updated package and npmextra json description and keywords for enhanced development workflow clarity
|
Updated package and npmextra json description and keywords for enhanced development workflow clarity
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/cli",
|
"name": "@git.zone/cli",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "1.12.8",
|
"version": "1.14.1",
|
||||||
"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",
|
||||||
@ -115,5 +115,6 @@
|
|||||||
"overrides": {
|
"overrides": {
|
||||||
"peek-readable": "5.3.1"
|
"peek-readable": "5.3.1"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6"
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/cli',
|
name: '@git.zone/cli',
|
||||||
version: '1.12.8',
|
version: '1.14.1',
|
||||||
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.'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user