fix(templates): Correct template file paths and organization for service projects

This commit is contained in:
Philipp Kunz 2025-01-01 05:32:10 +01:00
parent 90637b1466
commit 81eb713dee
4 changed files with 12 additions and 5 deletions

View File

@ -1,8 +1,8 @@
---
fileName: {{module.name}}.classes.{{module.name}}db.ts
fileName: classes.{{module.name}}db.ts
---
import * as plugins from './{{module.name}}.plugins.js';
import { {{module.name}} } from './{{module.name}}.classes.{{module.name}}.js';
import { {{module.name}} } from './classes.{{module.name}}.js';

View File

@ -1,9 +1,9 @@
---
fileName: {{module.name}}.classes.{{module.name}}.ts
fileName: classes.{{module.name}}.ts
---
import * as plugins from './{{module.name}}.plugins.js';
import * as paths from './{{module.name}}.paths.js';
import { {{module.name}}Db } from './{{module.name}}.db.js'
import { {{module.name}}Db } from './classes.{{module.name}}db.js'
export class {{module.name}} {
public projectinfo: plugins.projectinfo.ProjectInfo;

View File

@ -1,5 +1,12 @@
# Changelog
## 2025-01-01 - 1.10.9 - fix(templates)
Correct template file paths and organization for service projects
- Moved 'some.classes.some.ts' to 'classes.some.ts'
- Moved 'some.classes.some.db.ts' to 'classes.some.db.ts'
- Resolved incorrect import paths in service templates
## 2025-01-01 - 1.10.8 - fix(assets/templates)
Update CI template configurations to use module.githost

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/cli',
version: '1.10.8',
version: '1.10.9',
description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.'
}