diff --git a/assets/templates/service/ts/some.classes.some.db.ts b/assets/templates/service/ts/classes.some.db.ts similarity index 86% rename from assets/templates/service/ts/some.classes.some.db.ts rename to assets/templates/service/ts/classes.some.db.ts index 4a15ebd..7f721da 100644 --- a/assets/templates/service/ts/some.classes.some.db.ts +++ b/assets/templates/service/ts/classes.some.db.ts @@ -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'; diff --git a/assets/templates/service/ts/some.classes.some.ts b/assets/templates/service/ts/classes.some.ts similarity index 88% rename from assets/templates/service/ts/some.classes.some.ts rename to assets/templates/service/ts/classes.some.ts index e9a7414..a1ed94c 100644 --- a/assets/templates/service/ts/some.classes.some.ts +++ b/assets/templates/service/ts/classes.some.ts @@ -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; diff --git a/changelog.md b/changelog.md index 485d7c1..a535ae9 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 780147d..d38a437 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -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.' }