From 125b4762811fbb3753bd5dfad0cac0374b2e023b Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin Date: Wed, 1 Nov 2023 10:55:30 +0800 Subject: [PATCH] dev: update convenient git props for projects --- .gitmodules | 4 ++++ package.json | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.gitmodules b/.gitmodules index 29d966ae..06c3711f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -12,8 +12,12 @@ url = https://github.com/Enter-tainer/typst-preview.git branch = main fetchRecurseSubmodules = false + update=none + ignore=all [submodule "projects/typst-book"] path = projects/typst-book url = https://github.com/Myriad-Dreamin/typst-book.git branch = main fetchRecurseSubmodules = false + update=none + ignore=all diff --git a/package.json b/package.json index 1184181c..788e3f07 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,8 @@ "prepublish-packages": "turbo run prepublish", "publish:dry": "turbo run prepublish publish:dry", "publish:lib": "turbo run prepublish publish:lib", + "// clone-proj example": "yarn run clone-proj projects/typst-book", + "clone-proj": "git submodule update --init --checkout assets/fonts", "md": "yarn run md0 && yarn run md1 && yarn run md2 && yarn run md3", "md0": "cargo run --bin typst-ts-cli -- compile --workspace . --entry ./github-pages/docs/ir-features.typ --format=svg", "md1": "cargo run --bin typst-ts-cli -- compile --workspace . --entry ./github-pages/docs/ir-features.dark.typ --format=svg",