From 7133e750cc8814cc852212a43647edb8bbf335da Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Mon, 26 Aug 2024 07:35:01 +0200 Subject: [PATCH] Rename utilities directory to utils. --- esbuild.config.js | 2 +- package.json | 2 +- {utilities => utils}/loghighlight.js | 0 {utilities => utils}/logviewer.js | 0 {utilities => utils}/svr_new.js | 0 {utilities => utils}/svrpasswd.js | 0 6 files changed, 2 insertions(+), 2 deletions(-) rename {utilities => utils}/loghighlight.js (100%) rename {utilities => utils}/logviewer.js (100%) rename {utilities => utils}/svr_new.js (100%) rename {utilities => utils}/svrpasswd.js (100%) diff --git a/esbuild.config.js b/esbuild.config.js index f7215db..415f914 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -133,7 +133,7 @@ esbuild.build({ esbuildCopyPlugin.copy({ resolveFrom: __dirname, assets: { - from: ["./utilities/**/*"], + from: ["./utils/**/*"], to: ["./dist"], } }), diff --git a/package.json b/package.json index b119f41..2351ed2 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "node esbuild.config.js", "dev": "npm run build && npm run start", - "lint": "eslint --no-error-on-unmatched-pattern src/**/*.js src/*.js tests/**/*.test.js tests/**/*.js utilities/**/*.js", + "lint": "eslint --no-error-on-unmatched-pattern src/**/*.js src/*.js tests/**/*.test.js tests/**/*.js utils/**/*.js", "lint:fix": "npm run lint -- --fix", "start": "node dist/svr.js", "test": "jest" diff --git a/utilities/loghighlight.js b/utils/loghighlight.js similarity index 100% rename from utilities/loghighlight.js rename to utils/loghighlight.js diff --git a/utilities/logviewer.js b/utils/logviewer.js similarity index 100% rename from utilities/logviewer.js rename to utils/logviewer.js diff --git a/utilities/svr_new.js b/utils/svr_new.js similarity index 100% rename from utilities/svr_new.js rename to utils/svr_new.js diff --git a/utilities/svrpasswd.js b/utils/svrpasswd.js similarity index 100% rename from utilities/svrpasswd.js rename to utils/svrpasswd.js