miaoda-expo-devkit 0.1.1-beta.97 → 0.1.1-beta.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/biome-config.json +2 -1
- package/dist/cli/lint.js +0 -10
- package/dist/rules/no-expo-audio-compat.js +2041 -0
- package/oxlint-config.json +2 -0
- package/package.json +1 -1
- package/pnpm-config.json +4 -0
package/biome-config.json
CHANGED
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"options": {
|
|
27
27
|
"paths": {
|
|
28
28
|
"expo-barcode-scanner": "Deprecated in SDK 51+. Use expo-camera with barcode scanning instead.",
|
|
29
|
-
"expo-background-fetch": "Deprecated. Use expo-background-task instead."
|
|
29
|
+
"expo-background-fetch": "Deprecated. Use expo-background-task instead.",
|
|
30
|
+
"expo-av": "Removed in SDK 55. Use expo-video for video and expo-audio for audio instead."
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
}
|
package/dist/cli/lint.js
CHANGED
|
@@ -17452,16 +17452,6 @@ async function validateAppJsonSchema() {
|
|
|
17452
17452
|
const schema = { type: "object", properties: app_config_schema_v55_default };
|
|
17453
17453
|
const validator = new import_schemer.default(schema, { rootDir: projectRoot });
|
|
17454
17454
|
let ok = true;
|
|
17455
|
-
if (!exp?.scheme && !exp?.ios?.scheme) {
|
|
17456
|
-
console.error(
|
|
17457
|
-
`
|
|
17458
|
-
[app.json required fields missing]
|
|
17459
|
-
${appJsonPath}: 'expo.scheme' is required
|
|
17460
|
-
type: string | string[] (each item must match /^[a-z][a-z0-9+.-]*$/)
|
|
17461
|
-
example: "miaoda" or ["miaoda", "com.baidu.miaoda"]`
|
|
17462
|
-
);
|
|
17463
|
-
ok = false;
|
|
17464
|
-
}
|
|
17465
17455
|
try {
|
|
17466
17456
|
await validator.validateSchemaAsync(exp);
|
|
17467
17457
|
} catch (e) {
|