Compare commits

..

8 Commits

Author SHA1 Message Date
af0cb494fd 1.9.103
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-06-23 17:41:51 +02:00
dc43deece9 fix(logging): Optimize logger instantiation and configuration. 2024-06-23 17:41:51 +02:00
2361bfcad4 1.9.102
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-06-23 17:13:41 +02:00
bb1e0a5679 fix(metadata): Ensure accurate project metadata in package.json 2024-06-23 17:13:40 +02:00
5463f6e459 1.9.101
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-06-23 16:48:03 +02:00
49729595b6 fix(dependencies): Updated @git.zone/tsdoc dependency version to ^1.2.2 in package.json and pnpm-lock.yaml 2024-06-23 16:48:02 +02:00
3f5a2f92d4 1.9.100
Some checks failed
Default (tags) / security (push) Failing after 0s
Default (tags) / test (push) Failing after 0s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2024-06-23 13:35:28 +02:00
53eb47672c fix(mod_commit): Fix variable reassignment issue in changelog writing step 2024-06-23 13:35:28 +02:00
6 changed files with 35 additions and 23 deletions

21
changelog.md Normal file
View File

@ -0,0 +1,21 @@
# Changelog
```markdown
## 1.9.103 - fix(logging): Optimize logger instantiation and configuration.
- Placeholder entry for the next version changes.
## 1.9.102 - fix(metadata): Ensure accurate project metadata in package.json
- Placeholder entry for the next version changes.
## 1.9.101 - fix(dependencies): Updated @git.zone/tsdoc dependency version to ^1.2.2 in package.json and pnpm-lock.yaml
- Fix: General core updates
## 1.9.100
- Fix: Fix variable reassignment issue in changelog writing step

View File

@ -1,7 +1,7 @@
{ {
"name": "@git.zone/cli", "name": "@git.zone/cli",
"private": false, "private": false,
"version": "1.9.99", "version": "1.9.103",
"description": "A CLI toolbelt to streamline local development cycles by using various gitzone utilities.", "description": "A CLI toolbelt to streamline local development cycles by using various gitzone utilities.",
"main": "dist_ts/index.ts", "main": "dist_ts/index.ts",
"typings": "dist_ts/index.d.ts", "typings": "dist_ts/index.d.ts",
@ -58,7 +58,7 @@
"@types/node": "^20.14.8" "@types/node": "^20.14.8"
}, },
"dependencies": { "dependencies": {
"@git.zone/tsdoc": "^1.1.40", "@git.zone/tsdoc": "^1.2.2",
"@push.rocks/commitinfo": "^1.0.12", "@push.rocks/commitinfo": "^1.0.12",
"@push.rocks/early": "^4.0.4", "@push.rocks/early": "^4.0.4",
"@push.rocks/gulp-function": "^3.0.7", "@push.rocks/gulp-function": "^3.0.7",

10
pnpm-lock.yaml generated
View File

@ -9,8 +9,8 @@ importers:
.: .:
dependencies: dependencies:
'@git.zone/tsdoc': '@git.zone/tsdoc':
specifier: ^1.1.40 specifier: ^1.2.2
version: 1.1.40 version: 1.2.2
'@push.rocks/commitinfo': '@push.rocks/commitinfo':
specifier: ^1.0.12 specifier: ^1.0.12
version: 1.0.12 version: 1.0.12
@ -320,8 +320,8 @@ packages:
resolution: {integrity: sha512-ZrPkScaBQ7hHx6BUchRFfPB9tvb7RlNXwjk9qjkp6AcBcF38JgLcu/UDKDqRsuaFJpkK9oclyhA5bDA7SjXWZg==} resolution: {integrity: sha512-ZrPkScaBQ7hHx6BUchRFfPB9tvb7RlNXwjk9qjkp6AcBcF38JgLcu/UDKDqRsuaFJpkK9oclyhA5bDA7SjXWZg==}
hasBin: true hasBin: true
'@git.zone/tsdoc@1.1.40': '@git.zone/tsdoc@1.2.2':
resolution: {integrity: sha512-lYkHYGZNAPLvr5BIAZ6pHPnYNBLmic4cFdWk7KRxuK+e38JQO22TCdMeUiBOBd+iRQ9P/ZiuOPoU68aS5nJLIA==} resolution: {integrity: sha512-Oj1VUqMbfCpDB1UAggQd0qD9+7f7pvGKbZ6d2LNHU/lK4p7AbWg7WBu1GO6EiskV1s2SUFt9M0yAiAgpz+XeQg==}
hasBin: true hasBin: true
'@git.zone/tsrun@1.2.46': '@git.zone/tsrun@1.2.46':
@ -3928,7 +3928,7 @@ snapshots:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
'@git.zone/tsdoc@1.1.40': '@git.zone/tsdoc@1.2.2':
dependencies: dependencies:
'@push.rocks/early': 4.0.4 '@push.rocks/early': 4.0.4
'@push.rocks/npmextra': 5.0.23 '@push.rocks/npmextra': 5.0.23

View File

@ -1,8 +1,8 @@
/** /**
* autocreated commitinfo by @pushrocks/commitinfo * autocreated commitinfo by @push.rocks/commitinfo
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/cli', name: '@git.zone/cli',
version: '1.9.99', version: '1.9.103',
description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.'
} }

View File

@ -1,15 +1,6 @@
import { commitinfo } from '@push.rocks/commitinfo';
import * as plugins from './plugins.js'; import * as plugins from './plugins.js';
export const logger = new plugins.smartlog.Smartlog({ export const logger = plugins.smartlog.Smartlog.createForCommitinfo(commitinfo);
minimumLogLevel: 'silly',
logContext: {
company: 'Task Venture Capital GmbH',
companyunit: 'Lossless Cloud',
containerName: 'local',
environment: 'local',
runtime: 'node',
zone: 'gitzone',
},
});
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal()); logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());

View File

@ -70,9 +70,9 @@ export const run = async (argvArg: any) => {
await commitInfo.writeIntoPotentialDirs(); await commitInfo.writeIntoPotentialDirs();
logger.log('info', `Writing changelog.md ...`); logger.log('info', `Writing changelog.md ...`);
const changelog = nextCommitObject.changelog; let changelog = nextCommitObject.changelog;
changelog.replaceAll('{{nextVersion}}', (await commitInfo.getNextPlannedVersion()).versionString); changelog = changelog.replaceAll('{{nextVersion}}', (await commitInfo.getNextPlannedVersion()).versionString);
changelog.replaceAll('{{nextVersionMessage}}', commitString); changelog = changelog.replaceAll('{{nextVersionMessage}}', commitString);
await plugins.smartfile.memory.toFs(changelog, plugins.path.join(paths.cwd, `changelog.md`)); await plugins.smartfile.memory.toFs(changelog, plugins.path.join(paths.cwd, `changelog.md`));