diff --git a/build.sh b/build.sh index aa754dc..b75143c 100755 --- a/build.sh +++ b/build.sh @@ -14,9 +14,8 @@ set -euo pipefail -SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" -WEB_DIR="${SCRIPT_DIR}/sources" -MANIFEST="${SCRIPT_DIR}/components.yml" +WEB_DIR="$(cd "$(dirname "$0")" && pwd)" +MANIFEST="${WEB_DIR}/components.yml" COMPONENTS_DIR="${WEB_DIR}/components" OUTPUT="${WEB_DIR}/components.json" LOCKFILE="${WEB_DIR}/components.lock.json" diff --git a/sources/components.lock.json b/components.lock.json similarity index 65% rename from sources/components.lock.json rename to components.lock.json index fb87b46..8b520f0 100644 --- a/sources/components.lock.json +++ b/components.lock.json @@ -3,6 +3,6 @@ "name": "side-nav", "repo": "https://git.g3e.fr/syonad/syn-side-nav", "ref": "main", - "commit": "bf6bbe78a9d361b96168b05d94e560a381283121" + "commit": "c885959a6f3ff14b677fb104b72dc707d0fc1c66" } ] diff --git a/sources/components/.keep b/components/.keep similarity index 100% rename from sources/components/.keep rename to components/.keep diff --git a/sources/config.json b/config.json similarity index 100% rename from sources/config.json rename to config.json diff --git a/sources/core/config.js b/core/config.js similarity index 100% rename from sources/core/config.js rename to core/config.js diff --git a/sources/core/menu.js b/core/menu.js similarity index 100% rename from sources/core/menu.js rename to core/menu.js diff --git a/sources/core/registry.js b/core/registry.js similarity index 100% rename from sources/core/registry.js rename to core/registry.js diff --git a/sources/core/router.js b/core/router.js similarity index 100% rename from sources/core/router.js rename to core/router.js diff --git a/sources/favicon.svg b/favicon.svg similarity index 100% rename from sources/favicon.svg rename to favicon.svg diff --git a/sources/index.html b/index.html similarity index 100% rename from sources/index.html rename to index.html diff --git a/sources/pages/dashboard/dashboard.css b/pages/dashboard/dashboard.css similarity index 100% rename from sources/pages/dashboard/dashboard.css rename to pages/dashboard/dashboard.css diff --git a/sources/pages/dashboard/dashboard.js b/pages/dashboard/dashboard.js similarity index 100% rename from sources/pages/dashboard/dashboard.js rename to pages/dashboard/dashboard.js diff --git a/sources/pages/dashboard/index.html b/pages/dashboard/index.html similarity index 100% rename from sources/pages/dashboard/index.html rename to pages/dashboard/index.html diff --git a/sources/pages/dashboard/manifest.json b/pages/dashboard/manifest.json similarity index 100% rename from sources/pages/dashboard/manifest.json rename to pages/dashboard/manifest.json diff --git a/sources/icons.json b/sources/icons.json deleted file mode 100644 index 6ee6944..0000000 --- a/sources/icons.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "dashboard": "" -} diff --git a/sources/vendor/.keep b/vendor/.keep similarity index 100% rename from sources/vendor/.keep rename to vendor/.keep