From 666ae90e652ad42c65d8eee0ea6505d70c0b8e50 Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 4 Dec 2023 20:46:14 +0800 Subject: [PATCH] fix: use postinstall script to install typings --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ecda922..8309ce1 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Vue Ecosystem CI", "scripts": { "preinstall": "npx only-allow pnpm", + "postinstall": "pnpm install --dir typings", "prepare": "pnpm exec simple-git-hooks", "lint": "eslint --ignore-path .gitignore '**/*.ts'", "lint:fix": "pnpm lint --fix",