Skip to content

Commit 1f35665

Browse files
committed
ci: update only-allow yarn
1 parent c90160c commit 1f35665

File tree

5 files changed

+46
-7061
lines changed

5 files changed

+46
-7061
lines changed

demos/with-uniapp-vue2/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"test:h5": "cross-env UNI_PLATFORM=h5 jest -i",
4848
"test:ios": "cross-env UNI_PLATFORM=app-plus UNI_OS_NAME=ios jest -i",
4949
"test:mp-baidu": "cross-env UNI_PLATFORM=mp-baidu jest -i",
50-
"test:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin jest -i"
50+
"test:mp-weixin": "cross-env UNI_PLATFORM=mp-weixin jest -i",
51+
"preinstall": "npx only-allow yarn"
5152
},
5253
"dependencies": {
5354
"@dcloudio/uni-app": "^2.0.2-4070520250711001",
@@ -99,6 +100,7 @@
99100
"babel-plugin-import": "^1.11.0",
100101
"cross-env": "^7.0.2",
101102
"jest": "^25.4.0",
103+
"only-allow": "^1.2.1",
102104
"postcss-comment": "^2.0.0",
103105
"typescript": "~4.5.5",
104106
"vue-template-compiler": ">= 2.6.14 < 2.7"

demos/with-uniapp-vue2/yarn.lock

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2642,7 +2642,7 @@
26422642
resolved "https://registry.npmmirror.com/@vue/shared/-/shared-3.5.18.tgz#529f24a88d3ed678d50fd5c07455841fbe8ac95e"
26432643
integrity sha512-cZy8Dq+uuIXbxCZpuLd2GJdeSO/lIzIspC2WtkqIpje5QyFbvLaI5wZtdUjLHjGZrlVX6GilejatWwVYYRc8tA==
26442644

2645-
"@vue/vue-loader-v15@npm:vue-loader@^15.9.7", vue-loader@^15.6.4:
2645+
"@vue/vue-loader-v15@npm:vue-loader@^15.9.7":
26462646
version "15.11.1"
26472647
resolved "https://registry.npmmirror.com/vue-loader/-/vue-loader-15.11.1.tgz#dee91169211276ed43c5715caef88a56b1f497b0"
26482648
integrity sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==
@@ -8365,6 +8365,13 @@ onetime@^5.1.0, onetime@^5.1.2:
83658365
dependencies:
83668366
mimic-fn "^2.1.0"
83678367

8368+
only-allow@^1.2.1:
8369+
version "1.2.1"
8370+
resolved "https://registry.yarnpkg.com/only-allow/-/only-allow-1.2.1.tgz#8f18abd72bf531bc0e59fcfcfca590c425a5ad29"
8371+
integrity sha512-M7CJbmv7UCopc0neRKdzfoGWaVZC+xC1925GitKH9EAqYFzX9//25Q7oX4+jw0tiCCj+t5l6VZh8UPH23NZkMA==
8372+
dependencies:
8373+
which-pm-runs "^1.1.0"
8374+
83688375
only@~0.0.2:
83698376
version "0.0.2"
83708377
resolved "https://registry.npmmirror.com/only/-/only-0.0.2.tgz#2afde84d03e50b9a8edc444e30610a70295edfb4"
@@ -11134,6 +11141,17 @@ vue-hot-reload-api@^2.3.0:
1113411141
resolved "https://registry.npmmirror.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
1113511142
integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==
1113611143

11144+
vue-loader@^15.6.4:
11145+
version "15.11.1"
11146+
resolved "https://registry.npmmirror.com/vue-loader/-/vue-loader-15.11.1.tgz#dee91169211276ed43c5715caef88a56b1f497b0"
11147+
integrity sha512-0iw4VchYLePqJfJu9s62ACWUXeSqM30SQqlIftbYWM3C+jpPcEHKSPUZBLjSF9au4HTHQ/naF6OGnO3Q/qGR3Q==
11148+
dependencies:
11149+
"@vue/component-compiler-utils" "^3.1.0"
11150+
hash-sum "^1.0.2"
11151+
loader-utils "^1.1.0"
11152+
vue-hot-reload-api "^2.3.0"
11153+
vue-style-loader "^4.1.0"
11154+
1113711155
vue-loader@^17.0.0:
1113811156
version "17.4.2"
1113911157
resolved "https://registry.npmmirror.com/vue-loader/-/vue-loader-17.4.2.tgz#f87f0d8adfcbbe8623de9eba1979d41ba223c6da"
@@ -11487,6 +11505,11 @@ which-module@^2.0.0:
1148711505
resolved "https://registry.npmmirror.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409"
1148811506
integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==
1148911507

11508+
which-pm-runs@^1.1.0:
11509+
version "1.1.0"
11510+
resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.1.0.tgz#35ccf7b1a0fce87bd8b92a478c9d045785d3bf35"
11511+
integrity sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==
11512+
1149011513
which-typed-array@^1.1.16:
1149111514
version "1.1.19"
1149211515
resolved "https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.19.tgz#df03842e870b6b88e117524a4b364b6fc689f956"

demos/with-uniapp-vue3/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"build:quickapp-webview": "uni build -p quickapp-webview",
3333
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
3434
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
35-
"type-check": "vue-tsc --noEmit"
35+
"type-check": "vue-tsc --noEmit",
36+
"preinstall": "npx only-allow yarn"
3637
},
3738
"dependencies": {
3839
"@dcloudio/uni-app": "3.0.0-4030620241128001",
@@ -62,6 +63,7 @@
6263
"@dcloudio/vite-plugin-uni": "3.0.0-4030620241128001",
6364
"@vue/runtime-core": "^3.4.21",
6465
"@vue/tsconfig": "^0.1.3",
66+
"only-allow": "^1.2.1",
6567
"typescript": "^4.9.4",
6668
"vite": "5.2.8",
6769
"vue-tsc": "^1.0.24"

0 commit comments

Comments
 (0)