4 Commits

Author SHA1 Message Date
7d808972c9 1.0.9 2022-04-28 16:19:22 +02:00
e7d7ec806e fix(core): update 2022-04-28 16:19:22 +02:00
2ecc541989 1.0.8 2022-04-28 11:24:27 +02:00
22dddb0e11 fix(core): update 2022-04-28 11:24:27 +02:00
4 changed files with 16 additions and 7 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/commitinfo",
"version": "1.0.7",
"version": "1.0.9",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/commitinfo",
"version": "1.0.7",
"version": "1.0.9",
"license": "MIT",
"dependencies": {
"@pushrocks/projectinfo": "^5.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/commitinfo",
"version": "1.0.7",
"version": "1.0.9",
"private": false,
"description": "bake commitinfos into code",
"main": "dist_ts/index.js",

View File

@ -1,5 +1,11 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const version: string = '1.0.7';
export default version;
export const name: string = '@pushrocks/commitinfo';
export const version: string = '1.0.9';
export const description: string = 'bake commitinfos into code'
export const commitinfo = {
name: '@pushrocks/commitinfo',
version: '1.0.9',
description: 'bake commitinfos into code'
}

View File

@ -25,8 +25,11 @@ export class CommitInfo {
`/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const version: string = '${expectedDefinitiveVersion.versionString}';
export default version;
export const commitinfo = {
name: '${this.projectinfoNpmRef.name}',
version: '${expectedDefinitiveVersion.versionString}',
description: '${this.projectinfoNpmRef.packageJson.description}'
}
`,
writePath
);