Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
e66d1f05e4 | |||
b1a8a5527e | |||
0017781516 | |||
da0cd0ed71 | |||
4890afb2f0 | |||
77bb8bf22e | |||
ff2ebc076d | |||
d71b082b75 | |||
f6680dc45e | |||
cb4a02d1ef |
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
|
26
changelog.md
26
changelog.md
@ -1,5 +1,31 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-04-15 - 1.15.2 - fix(website_update)
|
||||||
|
Await supplyVariables call in website update template
|
||||||
|
|
||||||
|
- Changed website template update to properly await the supplyVariables method
|
||||||
|
- Ensured asynchronous consistency in updating website template variables
|
||||||
|
|
||||||
|
## 2025-04-15 - 1.15.1 - fix(cli)
|
||||||
|
Refresh internal CLI tooling and configuration for consistency.
|
||||||
|
|
||||||
|
|
||||||
|
## 2025-04-15 - 1.15.0 - feat(config/template)
|
||||||
|
Add assetbrokerUrl and legalUrl fields to module config and update website template to supply these values
|
||||||
|
|
||||||
|
- Added assetbrokerUrl and legalUrl properties in ts/classes.gitzoneconfig.ts
|
||||||
|
- Updated ts/mod_format/format.templates.ts to pass assetbrokerUrl and legalUrl to website template
|
||||||
|
|
||||||
|
## 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)
|
## 2025-03-07 - 1.13.1 - fix(cli)
|
||||||
Improve commit message logging
|
Improve commit message logging
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/cli",
|
"name": "@git.zone/cli",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "1.13.1",
|
"version": "1.15.2",
|
||||||
"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.13.1',
|
version: '1.15.2',
|
||||||
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,6 +16,8 @@ export interface IGitzoneConfigData {
|
|||||||
npmPackageName: string;
|
npmPackageName: string;
|
||||||
license: string;
|
license: string;
|
||||||
projectDomain: string;
|
projectDomain: string;
|
||||||
|
assetbrokerUrl: string;
|
||||||
|
legalUrl: string;
|
||||||
};
|
};
|
||||||
copy: { [key: string]: string };
|
copy: { [key: string]: string };
|
||||||
npmciOptions: {
|
npmciOptions: {
|
||||||
|
@ -38,7 +38,7 @@ export const run = async (project: Project) => {
|
|||||||
case 'website':
|
case 'website':
|
||||||
const ciTemplateDocker = await templateModule.getTemplate('ci_docker');
|
const ciTemplateDocker = await templateModule.getTemplate('ci_docker');
|
||||||
await ciTemplateDocker.writeToDisk(paths.cwd);
|
await ciTemplateDocker.writeToDisk(paths.cwd);
|
||||||
logger.log('info', 'Updated .gitlabci.yml!');
|
logger.log('info', 'Updated CI/CD config files!');
|
||||||
|
|
||||||
// lets care about docker
|
// lets care about docker
|
||||||
const dockerTemplate = await templateModule.getTemplate('dockerfile_service');
|
const dockerTemplate = await templateModule.getTemplate('dockerfile_service');
|
||||||
@ -57,6 +57,10 @@ export const run = async (project: Project) => {
|
|||||||
// update html
|
// update html
|
||||||
if (project.gitzoneConfig.data.projectType === 'website') {
|
if (project.gitzoneConfig.data.projectType === 'website') {
|
||||||
const websiteUpdateTemplate = await templateModule.getTemplate('website_update');
|
const websiteUpdateTemplate = await templateModule.getTemplate('website_update');
|
||||||
|
await websiteUpdateTemplate.supplyVariables({
|
||||||
|
assetbrokerUrl: project.gitzoneConfig.data.module.assetbrokerUrl,
|
||||||
|
legalUrl: project.gitzoneConfig.data.module.legalUrl,
|
||||||
|
})
|
||||||
await websiteUpdateTemplate.writeToDisk(paths.cwd);
|
await websiteUpdateTemplate.writeToDisk(paths.cwd);
|
||||||
logger.log('info', `Updated html for website!`);
|
logger.log('info', `Updated html for website!`);
|
||||||
} else if (project.gitzoneConfig.data.projectType === 'service') {
|
} else if (project.gitzoneConfig.data.projectType === 'service') {
|
||||||
|
Reference in New Issue
Block a user