diff --git a/.gitignore b/.gitignore index ef13c79..0b26089 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ # artifacts coverage/ public/ -pages/ # installs node_modules/ @@ -17,4 +16,4 @@ node_modules/ dist/ dist_*/ -# custom \ No newline at end of file +#------# custom \ No newline at end of file diff --git a/assets/overrides.json b/assets/overrides.json index 92a8961..9e26dfe 100644 --- a/assets/overrides.json +++ b/assets/overrides.json @@ -1,3 +1 @@ -{ - "peek-readable": "5.3.1" -} \ No newline at end of file +{} \ No newline at end of file diff --git a/assets/templates/wcc/ts_web/pages/index.ts b/assets/templates/wcc/ts_web/pages/index.ts new file mode 100644 index 0000000..37e963a --- /dev/null +++ b/assets/templates/wcc/ts_web/pages/index.ts @@ -0,0 +1,2 @@ +export * from './page2.js'; +export * from './page1.js'; diff --git a/assets/templates/wcc/ts_web/pages/page1.ts b/assets/templates/wcc/ts_web/pages/page1.ts new file mode 100644 index 0000000..101a1dd --- /dev/null +++ b/assets/templates/wcc/ts_web/pages/page1.ts @@ -0,0 +1,5 @@ +import { html } from "@design.estate/dees-element"; + +export const page1 = () => html` + +`; diff --git a/assets/templates/wcc/ts_web/pages/page2.ts b/assets/templates/wcc/ts_web/pages/page2.ts new file mode 100644 index 0000000..951a92d --- /dev/null +++ b/assets/templates/wcc/ts_web/pages/page2.ts @@ -0,0 +1,5 @@ +import { html } from "@design.estate/dees-element"; + +export const page2 = () => html` + +`; diff --git a/changelog.md b/changelog.md index 99a92f9..1726ab4 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ # Changelog +## 2025-01-29 - 1.12.6 - fix(project) +Minor fixes and cleanup + +- Removed outdated pages/ directory entry in .gitignore. +- Adjusted Docker module files to include proper newlines. +- Updated TypeScript configuration for modular paths. +- Fixed formatting issues across various TypeScript files. + ## 2025-01-29 - 1.12.5 - fix(cli) Initial implementation of CLI utility with project management features diff --git a/package.json b/package.json index 663cd86..09277f7 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "repository": { "type": "git", - "url": "https://code.foss.global/git.zone/cli.git" + "url": "https://gitlab.com/gitzone/private/gitzone.git" }, "keywords": [ "CLI", @@ -48,9 +48,9 @@ "author": "Task Venture Capital GmbH", "license": "MIT", "bugs": { - "url": "https://code.foss.global/git.zone/cli/issues" + "url": "https://gitlab.com/gitzone/private/gitzone/issues" }, - "homepage": "https://pages.foss.global/git.zone/cli", + "homepage": "https://gitlab.com/gitzone/private/gitzone#readme", "devDependencies": { "@git.zone/tsbuild": "^2.2.0", "@git.zone/tsrun": "^1.3.3", @@ -91,11 +91,6 @@ "prettier": "^3.4.2", "through2": "^4.0.2" }, - "pnpm": { - "overrides": { - "peek-readable": "5.3.1" - } - }, "files": [ "ts/**/*", "ts_web/**/*", @@ -110,5 +105,10 @@ ], "browserslist": [ "last 1 chrome versions" - ] -} + ], + "pnpm": { + "overrides": { + "peek-readable": "5.3.1" + } + } +} \ No newline at end of file diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 08888c6..4f3dbfe 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.12.5', + version: '1.12.6', description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' } diff --git a/ts/mod_docker/index.ts b/ts/mod_docker/index.ts index dcf7b38..b10d4ce 100644 --- a/ts/mod_docker/index.ts +++ b/ts/mod_docker/index.ts @@ -9,4 +9,4 @@ export const run = async (argvArg) => { await smartshellInstance.exec(`docker system prune -a -f --volumes`); break; } -}; \ No newline at end of file +}; diff --git a/ts/mod_docker/mod.plugins.ts b/ts/mod_docker/mod.plugins.ts index 43d2c87..738ea2f 100644 --- a/ts/mod_docker/mod.plugins.ts +++ b/ts/mod_docker/mod.plugins.ts @@ -1,4 +1,4 @@ export * from '../plugins.js'; import * as smartshell from '@push.rocks/smartshell'; -export { smartshell }; \ No newline at end of file +export { smartshell }; diff --git a/ts/mod_format/format.packagejson.ts b/ts/mod_format/format.packagejson.ts index 3b80b3a..faea06e 100644 --- a/ts/mod_format/format.packagejson.ts +++ b/ts/mod_format/format.packagejson.ts @@ -92,7 +92,7 @@ export const run = async (projectArg: Project) => { // set overrides const overrides = plugins.smartfile.fs.toObjectSync( plugins.path.join(paths.assetsDir, 'overrides.json'), - ) + ); packageJson.pnpm = packageJson.pnpm || {}; packageJson.pnpm.overrides = overrides; diff --git a/ts/mod_format/format.tsconfig.ts b/ts/mod_format/format.tsconfig.ts index c0a10d5..e22bb5a 100644 --- a/ts/mod_format/format.tsconfig.ts +++ b/ts/mod_format/format.tsconfig.ts @@ -7,7 +7,9 @@ import { Project } from '../classes.project.js'; export const run = async (projectArg: Project) => { // lets care about tsconfig.json logger.log('info', 'Formatting tsconfig.json...'); - const tsconfigSmartfile = await plugins.smartfile.SmartFile.fromFilePath(plugins.path.join(paths.cwd, 'tsconfig.json')); + const tsconfigSmartfile = await plugins.smartfile.SmartFile.fromFilePath( + plugins.path.join(paths.cwd, 'tsconfig.json'), + ); const tsconfigObject = JSON.parse(tsconfigSmartfile.contentBuffer.toString()); tsconfigObject.compilerOptions = tsconfigObject.compilerOptions || {}; tsconfigObject.compilerOptions.baseUrl = '.'; @@ -21,4 +23,4 @@ export const run = async (projectArg: Project) => { } tsconfigSmartfile.setContentsFromString(JSON.stringify(tsconfigObject, null, 2)); await tsconfigSmartfile.write(); -}; \ No newline at end of file +}; diff --git a/tsconfig.json b/tsconfig.json index dfe5a55..2413b93 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,9 +6,11 @@ "module": "NodeNext", "moduleResolution": "NodeNext", "esModuleInterop": true, - "verbatimModuleSyntax": true + "verbatimModuleSyntax": true, + "baseUrl": ".", + "paths": {} }, "exclude": [ "dist_*/**/*.d.ts" ] -} +} \ No newline at end of file