From cbbeb3e7ea7d3eaeffdbc0a0d4680c98858897ab Mon Sep 17 00:00:00 2001 From: chufan Date: Wed, 16 Oct 2024 14:30:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4`ci`=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E6=9C=AC=E5=9C=B0=E5=90=AF=E5=8A=A8=E4=BD=BF?= =?UTF-8?q?=E7=94=A8`pnpm=20dev`=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- scripts/dev | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100755 scripts/dev diff --git a/package.json b/package.json index f858f1e..fae91e2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "clean": "npx fa clean --ignore-tips --dist --vite --all", "lint": "npx fa lint", "lint:fix": "npx fa lint --fix", - "dev": "npx vuepress dev docs", + "dev": "pnpm build:mark-map && npx vuepress dev docs", "build": "npx vuepress build docs --clean-temp --clean-cache", "build:proxy": "NEED_PROXY=true npx vuepress build docs --clean-temp --clean-cache", "build:mark-map": "./scripts/mark-map", diff --git a/scripts/dev b/scripts/dev deleted file mode 100755 index 320a3ae..0000000 --- a/scripts/dev +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env node -/** - * - * 本地启动 - * 例如: - * - ./scripts/dev - */ - -import {commandStandardExecutor} from '@142vip/utils' - -(async () => await commandStandardExecutor([ - 'pnpm build:mark-map', - 'pnpm dev' -]))()