From bdcb0739c47dd6bcce6bf9b99d4ddd75f4bbe631 Mon Sep 17 00:00:00 2001 From: Fine Archs Date: Mon, 6 Nov 2023 00:37:57 +0900 Subject: [PATCH] submodules might be failing because of preinstall? --- README.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c86fa69 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +`git clone`の後、`npm install`の前に`npm run submodules`を実行すること。 diff --git a/package.json b/package.json index 8814575..9b63bb0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "vite", "build": "vue-tsc && vite build", "serve": "vite preview", - "preinstall": "npm run submodules && npm run build-develop && npm run build-next", + "preinstall": "npm run build-develop && npm run build-next", "submodules": "git submodule update --init --depth=1", "build-develop": "cd develop && npm ci && npm run build", "build-next": "cd next && npm ci && npm run build",