From 9bbb9aebeec2e7cb0f26b81acb44d44095d8065a Mon Sep 17 00:00:00 2001 From: ssortia Date: Mon, 1 Jul 2024 17:35:05 +0300 Subject: [PATCH] refactor helpers & fixes --- .gitignore | 4 ++++ index.js | 2 ++ package.json | 2 +- DateHelper.mjs => src/DateHelper.js | 0 FormatHelper.mjs => src/FormatHelper.js | 0 5 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 index.js rename DateHelper.mjs => src/DateHelper.js (100%) rename FormatHelper.mjs => src/FormatHelper.js (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54298a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules/ + +# Output of 'npm pack' +*.tgz \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..72cc1b8 --- /dev/null +++ b/index.js @@ -0,0 +1,2 @@ +export { default as FormatHelper } from "./src/FormatHelper.js"; +export { default as DateHelper } from "./src/DateHelper.js"; diff --git a/package.json b/package.json index 31fcf92..3f9ab1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ilb/helpers", - "version": "1.0.1", + "version": "1.0.2", "type": "module", "dependencies": { "moment": "^2.29.4" diff --git a/DateHelper.mjs b/src/DateHelper.js similarity index 100% rename from DateHelper.mjs rename to src/DateHelper.js diff --git a/FormatHelper.mjs b/src/FormatHelper.js similarity index 100% rename from FormatHelper.mjs rename to src/FormatHelper.js