From 046b79b4e5e211a4d0e575768202c2379b31701e Mon Sep 17 00:00:00 2001
From: Alexander Borsuk <me@alex.bio>
Date: Mon, 21 Nov 2022 10:19:10 +0100
Subject: [PATCH] [1] Renamed generic utils to specialized versions

It is required for follow up commits

Signed-off-by: Alexander Borsuk <me@alex.bio>
---
 src/index.ts                             | 2 +-
 src/{utils.ts => versions.ts}            | 0
 test/{utils.test.ts => versions.test.ts} | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename src/{utils.ts => versions.ts} (100%)
 rename test/{utils.test.ts => versions.test.ts} (97%)

diff --git a/src/index.ts b/src/index.ts
index 2dadb5a..a43aaf7 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,6 +1,6 @@
 export {};
 
-import { parseDataVersion, parseAppVersion } from './utils';
+import { parseDataVersion, parseAppVersion } from './versions';
 
 // TODO: Implement automated version checks from this metaserver script.
 // It should check by cron if actual files are really available on all servers.
diff --git a/src/utils.ts b/src/versions.ts
similarity index 100%
rename from src/utils.ts
rename to src/versions.ts
diff --git a/test/utils.test.ts b/test/versions.test.ts
similarity index 97%
rename from test/utils.test.ts
rename to test/versions.test.ts
index 94d4239..c395eb5 100644
--- a/test/utils.test.ts
+++ b/test/versions.test.ts
@@ -1,5 +1,5 @@
 import { describe, expect, test } from '@jest/globals';
-import { parseDataVersion, parseAppVersion } from '../src/utils';
+import { parseDataVersion, parseAppVersion } from '../src/versions';
 
 describe('parseDataVersion', () => {
   test('220801', () => expect(parseDataVersion('220801')).toEqual(220801));
-- 
2.45.3