From f89801263d2ed67cbb0febdbd6bdfb1976c319bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Thu, 11 Apr 2024 16:53:13 +0800 Subject: [PATCH] build: npx only-allow pnpm --- package.json | 1 + src/manifest.json | 7 +++++-- src/pages.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3986c84..54c4dc4 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "build:quickapp-webview": "uni build -p quickapp-webview", "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei", "build:quickapp-webview-union": "uni build -p quickapp-webview-union", + "preinstall": "npx only-allow pnpm", "prepare": "node ./shell/postinstall.js & git init && husky install ", "type-check": "vue-tsc --noEmit" }, diff --git a/src/manifest.json b/src/manifest.json index 37837e0..2ef8961 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -37,7 +37,10 @@ ], "minSdkVersion": 30, "targetSdkVersion": 30, - "abiFilters": ["armeabi-v7a", "arm64-v8a"] + "abiFilters": [ + "armeabi-v7a", + "arm64-v8a" + ] }, "ios": {}, "sdkConfigs": {}, @@ -74,4 +77,4 @@ "base": "/" } } -} +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index e6056c1..8868db5 100644 --- a/src/pages.json +++ b/src/pages.json @@ -75,4 +75,4 @@ ] } ] -} +} \ No newline at end of file