build: npx only-allow pnpm

This commit is contained in:
菲鸽 2024-04-11 16:53:13 +08:00
parent 8a27b89b2a
commit f89801263d
3 changed files with 7 additions and 3 deletions

View File

@ -60,6 +60,7 @@
"build:quickapp-webview": "uni build -p quickapp-webview", "build:quickapp-webview": "uni build -p quickapp-webview",
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei", "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
"build:quickapp-webview-union": "uni build -p quickapp-webview-union", "build:quickapp-webview-union": "uni build -p quickapp-webview-union",
"preinstall": "npx only-allow pnpm",
"prepare": "node ./shell/postinstall.js & git init && husky install ", "prepare": "node ./shell/postinstall.js & git init && husky install ",
"type-check": "vue-tsc --noEmit" "type-check": "vue-tsc --noEmit"
}, },

View File

@ -37,7 +37,10 @@
], ],
"minSdkVersion": 30, "minSdkVersion": 30,
"targetSdkVersion": 30, "targetSdkVersion": 30,
"abiFilters": ["armeabi-v7a", "arm64-v8a"] "abiFilters": [
"armeabi-v7a",
"arm64-v8a"
]
}, },
"ios": {}, "ios": {},
"sdkConfigs": {}, "sdkConfigs": {},
@ -74,4 +77,4 @@
"base": "/" "base": "/"
} }
} }
} }

View File

@ -75,4 +75,4 @@
] ]
} }
] ]
} }