Add mock GPS simulator and configurable location sources

This commit is contained in:
2026-03-24 14:24:53 +08:00
parent 0295893b56
commit 2cf0bb76b4
16 changed files with 2575 additions and 122 deletions

24
package-lock.json generated
View File

@@ -7,6 +7,9 @@
"": {
"name": "miniprogram-ts-quickstart",
"version": "1.0.0",
"dependencies": {
"ws": "^8.18.3"
},
"devDependencies": {
"miniprogram-api-typings": "^2.8.3-1",
"typescript": "^5.9.3"
@@ -32,6 +35,27 @@
"engines": {
"node": ">=14.17"
}
},
"node_modules/ws": {
"version": "8.20.0",
"resolved": "https://registry.npmmirror.com/ws/-/ws-8.20.0.tgz",
"integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==",
"license": "MIT",
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": ">=5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
"optional": true
},
"utf-8-validate": {
"optional": true
}
}
}
}
}