This commit is contained in:
2026-04-28 17:16:00 +02:00
parent 0191347312
commit 3cc11b68de
15 changed files with 115 additions and 153 deletions
+2
View File
@@ -5,6 +5,7 @@ set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3
exit 1;
}
# depends on
declare -r lint='bs/lint'
declare -r rollup='node_modules/.bin/rollup'
declare -r analyze='bs/analyze'
declare -r config='rollup.config.js'
@@ -20,6 +21,7 @@ help(){
main(){
help "${@}"
$lint
rm -rf "$dist"
$rollup -c $config "${@}"
$analyze --exclude "$dist"
+12
View File
@@ -0,0 +1,12 @@
#!/bin/env bash
set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3Ml53kvc
. bs/.common || {
echo 'Please run this script from the project root directory' >&2;
exit 1;
}
declare -r tmp=/tmp/lit-router-extended
declare -r pkg=./node_modules/@lit-labs/router
git clone git@github.com:klauss194/lit-router-extended.git --depth 1 "$tmp"
cp "$tmp"/* "$pkg"
rm -rf "$tmp"