4 Commits

Author SHA1 Message Date
31cfaa69b9 1.0.5 2022-04-26 17:02:17 +02:00
0d539c34e8 fix(core): update 2022-04-26 17:02:16 +02:00
069265c122 1.0.4 2022-04-26 16:59:15 +02:00
7d2891fc8c fix(core): update 2022-04-26 16:59:15 +02:00
4 changed files with 11 additions and 7 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@ -1,3 +1,5 @@
export const version = '1.0.3';
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const version = '1.0.4';

View File

@ -22,8 +22,10 @@ export class CommitInfo {
if (dirExists) {
const writePath = plugins.path.join(this.projectDir, dir, '00_commitinfo_data.ts');
await plugins.smartfile.memory.toFs(
`
export const version = '${expectedDefinitiveVersion.versionString}';
`/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const version: string = '${expectedDefinitiveVersion.versionString}';
`,
writePath
);