add lexicon repo as submodule

This commit is contained in:
Badtz 2025-03-28 16:06:50 -07:00
parent e876d5846e
commit 504a63293d
4 changed files with 8 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,7 +1,7 @@
node_modules
# Types
/util/lexicons
/util/anylists
/src/types
# Output

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "util/anylists"]
path = util/anylists
url = ssh://forgejo@winry.woach.me:922/Julia/anylists.git

1
util/anylists Submodule

@ -0,0 +1 @@
Subproject commit 90fa6148a5e48ee6b95ddfe74eb3818dfef71528

View file

@ -1,7 +1,9 @@
#!bin/bash
git submodule update --remote
pnpm exec lex-cli generate \
./util/lexicons/me/woach/**/*.json \
./util/anylists/lexicons/me/woach/**/*.json \
-o ./src/types/lexicons.ts \
--description "Contains type declarations for woach.me lexicons"