Skip to content

Commit 09a681a

Browse files
committed
chore(build): update build timestamp
- Updated timestamp in dist/index.js - Updated sourcemap in dist/index.js.map
1 parent 7e5b5a5 commit 09a681a

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

dist/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Author: Taj <[email protected]>
77
* Homepage: https://github.com/taj54/universal-version-bump#readme
88
* License: MIT
9-
* Generated on Mon, 01 Sep 2025 12:51:16 GMT
9+
* Generated on Mon, 01 Sep 2025 13:02:11 GMT
1010
*/
1111
require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap
1212
/******/ var __webpack_modules__ = ({
@@ -34063,6 +34063,8 @@ class ManifestParser {
3406334063
catch (e) {
3406434064
throw new errors_1.InvalidManifestError(`Invalid JSON in ${manifestPath}: ${e instanceof Error ? e.message : String(e)}`);
3406534065
}
34066+
console.log('data:', data);
34067+
console.log('options.jsonPath:', options.jsonPath);
3406634068
let version = data;
3406734069
if (options.jsonPath) {
3406834070
for (const key of options.jsonPath) {
@@ -34074,6 +34076,7 @@ class ManifestParser {
3407434076
}
3407534077
}
3407634078
}
34079+
console.log('version:', version);
3407734080
return typeof version === 'string' ? version : null;
3407834081
}
3407934082
else if (type === 'regex' && options.regex) {

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/manifestParser.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ export class ManifestParser {
4949
);
5050
}
5151

52+
console.log('data:', data);
53+
console.log('options.jsonPath:', options.jsonPath);
54+
5255
let version: unknown = data;
5356
if (options.jsonPath) {
5457
for (const key of options.jsonPath) {
@@ -61,6 +64,7 @@ export class ManifestParser {
6164
}
6265
}
6366
}
67+
console.log('version:', version);
6468
return typeof version === 'string' ? version : null;
6569
} else if (type === 'regex' && options.regex) {
6670
const match = content.match(options.regex);

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ vi.mock('../src/config', async (importOriginal) => {
2828
});
2929

3030
// Mock process.chdir
31-
const chdirSpy = vi.spyOn(process, 'chdir').mockImplementation(() => { });
31+
const chdirSpy = vi.spyOn(process, 'chdir').mockImplementation(() => {});
3232

3333
describe('Main Action Logic', () => {
3434
let mockUpdaterService: vi.Mocked<UpdaterService>;

0 commit comments

Comments
 (0)