« get me outta code hell

util -> common-util - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-01-26 17:28:01 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-01-26 17:28:01 -0400
commit725a33ef50e836553c89a6576f5d281978fe7c47 (patch)
treeaea7906ffa1a24bbbd7b1bd405e20e2a05d9b95b
parentd987efdf3f5e60ad81a5d243629208818cdf8211 (diff)
util -> common-util
-rw-r--r--package.json10
-rw-r--r--src/common-util/colors.js (renamed from src/util/colors.js)0
-rw-r--r--src/common-util/search-spec.js (renamed from src/util/search-spec.js)0
-rw-r--r--src/common-util/serialize.js (renamed from src/util/serialize.js)0
-rw-r--r--src/common-util/sort.js (renamed from src/util/sort.js)0
-rw-r--r--src/common-util/sugar.js (renamed from src/util/sugar.js)0
-rw-r--r--src/common-util/wiki-data.js (renamed from src/util/wiki-data.js)0
-rw-r--r--src/web-routes.js2
8 files changed, 6 insertions, 6 deletions
diff --git a/package.json b/package.json
index b5d8a298..73bd40a1 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
     "imports": {
         "#aggregate": "./src/aggregate.js",
         "#cacheable-object": "./src/data/cacheable-object.js",
-        "#colors": "./src/util/colors.js",
+        "#colors": "./src/common-util/colors.js",
         "#composite": "./src/data/composite.js",
         "#composite/control-flow": "./src/data/composite/control-flow/index.js",
         "#composite/data": "./src/data/composite/data/index.js",
@@ -42,10 +42,10 @@
         "#replacer": "./src/replacer.js",
         "#reverse": "./src/reverse.js",
         "#search": "./src/search.js",
-        "#search-spec": "./src/util/search-spec.js",
+        "#search-spec": "./src/common-util/search-spec.js",
         "#serialize": "./src/data/serialize.js",
-        "#sort": "./src/util/sort.js",
-        "#sugar": "./src/util/sugar.js",
+        "#sort": "./src/common-util/sort.js",
+        "#sugar": "./src/common-util/sugar.js",
         "#test-lib": "./test/lib/index.js",
         "#thing": "./src/data/thing.js",
         "#things": "./src/data/things/index.js",
@@ -53,7 +53,7 @@
         "#urls": "./src/urls.js",
         "#validators": "./src/validators.js",
         "#web-routes": "./src/web-routes.js",
-        "#wiki-data": "./src/util/wiki-data.js",
+        "#wiki-data": "./src/common-util/wiki-data.js",
         "#yaml": "./src/data/yaml.js"
     },
     "engines": {
diff --git a/src/util/colors.js b/src/common-util/colors.js
index 7298c46a..7298c46a 100644
--- a/src/util/colors.js
+++ b/src/common-util/colors.js
diff --git a/src/util/search-spec.js b/src/common-util/search-spec.js
index 3d05c021..3d05c021 100644
--- a/src/util/search-spec.js
+++ b/src/common-util/search-spec.js
diff --git a/src/util/serialize.js b/src/common-util/serialize.js
index eb18a759..eb18a759 100644
--- a/src/util/serialize.js
+++ b/src/common-util/serialize.js
diff --git a/src/util/sort.js b/src/common-util/sort.js
index ea1e024a..ea1e024a 100644
--- a/src/util/sort.js
+++ b/src/common-util/sort.js
diff --git a/src/util/sugar.js b/src/common-util/sugar.js
index 90d47b7c..90d47b7c 100644
--- a/src/util/sugar.js
+++ b/src/common-util/sugar.js
diff --git a/src/util/wiki-data.js b/src/common-util/wiki-data.js
index f97ecd63..f97ecd63 100644
--- a/src/util/wiki-data.js
+++ b/src/common-util/wiki-data.js
diff --git a/src/web-routes.js b/src/web-routes.js
index 762b26c3..b93607d6 100644
--- a/src/web-routes.js
+++ b/src/web-routes.js
@@ -34,7 +34,7 @@ export const stationaryCodeRoutes = [
   },
 
   {
-    from: path.join(codeSrcPath, 'util'),
+    from: path.join(codeSrcPath, 'common-util'),
     to: ['staticSharedUtil.root'],
     statically: 'copy',
   },