miaoda-expo-devkit 0.1.1-beta.93 → 0.1.1-beta.95
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 +11 -1
- package/dist/stubs/lgui-control.js +0 -1
- package/package.json +1 -1
- package/pnpm-config.json +4 -0
package/biome-config.json
CHANGED
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"level": "error",
|
|
26
26
|
"options": {
|
|
27
27
|
"paths": {
|
|
28
|
-
"expo-barcode-scanner": "Deprecated in SDK 51+. Use expo-camera with barcode scanning instead."
|
|
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
30
|
}
|
|
30
31
|
}
|
|
31
32
|
}
|
package/dist/cli/lint.js
CHANGED
|
@@ -17199,6 +17199,16 @@ var oxlintConfig = (0, import_node_path.join)(devkitRoot, "oxlint-config.json");
|
|
|
17199
17199
|
var biomeConfig = (0, import_node_path.join)(devkitRoot, "biome-config.json");
|
|
17200
17200
|
var targets = process.argv.slice(2);
|
|
17201
17201
|
var lintTargets = targets.length > 0 ? targets : ["."];
|
|
17202
|
+
var oxlintIgnorePatterns = [
|
|
17203
|
+
"metro.config.js",
|
|
17204
|
+
"babel.config.js",
|
|
17205
|
+
".pnpmfile.cjs",
|
|
17206
|
+
"output/**",
|
|
17207
|
+
"supabase/**",
|
|
17208
|
+
"src/components/ui/**",
|
|
17209
|
+
".skills/**"
|
|
17210
|
+
];
|
|
17211
|
+
var oxlintIgnoreArgs = oxlintIgnorePatterns.flatMap((p) => ["--ignore-pattern", p]);
|
|
17202
17212
|
var results = [];
|
|
17203
17213
|
function run(name, cmd, args) {
|
|
17204
17214
|
const r = (0, import_node_child_process.spawnSync)(cmd, args, { stdio: "inherit" });
|
|
@@ -17292,7 +17302,7 @@ async function validateAppJsonSchema() {
|
|
|
17292
17302
|
return ok;
|
|
17293
17303
|
}
|
|
17294
17304
|
async function main() {
|
|
17295
|
-
run("oxlint", "oxlint", ["--config", oxlintConfig, ...lintTargets]);
|
|
17305
|
+
run("oxlint", "oxlint", ["--config", oxlintConfig, ...oxlintIgnoreArgs, ...lintTargets]);
|
|
17296
17306
|
run("biome", "biome", ["lint", "--config-path", biomeConfig, ...lintTargets]);
|
|
17297
17307
|
generateTypedRoutes();
|
|
17298
17308
|
run("tsc", "tsc", ["--noEmit"]);
|
package/package.json
CHANGED
package/pnpm-config.json
CHANGED