miaoda-expo-devkit 0.1.1-beta.27 → 0.1.1-beta.29

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 CHANGED
@@ -1,4 +1,15 @@
1
1
  {
2
+ "vcs": {
3
+ "enabled": true,
4
+ "clientKind": "git",
5
+ "useIgnoreFile": true
6
+ },
7
+ "files": {
8
+ "includes": [
9
+ "src/**/*.{js,jsx,ts,tsx,css,scss}",
10
+ "tailwind.config.js"
11
+ ]
12
+ },
2
13
  "linter": {
3
14
  "enabled": true,
4
15
  "rules": {
@@ -10,5 +21,17 @@
10
21
  },
11
22
  "formatter": {
12
23
  "enabled": false
13
- }
24
+ },
25
+ "overrides": [
26
+ {
27
+ "includes": ["tailwind.config.js"],
28
+ "linter": {
29
+ "rules": {
30
+ "style": {
31
+ "noCommonJs": "off"
32
+ }
33
+ }
34
+ }
35
+ }
36
+ ]
14
37
  }
package/dist/cli/lint.js CHANGED
@@ -8,7 +8,7 @@ var devkitRoot = (0, import_node_path.resolve)(__dirname, "../..");
8
8
  var oxlintConfig = (0, import_node_path.join)(devkitRoot, "oxlint-config.json");
9
9
  var biomeConfig = (0, import_node_path.join)(devkitRoot, "biome-config.json");
10
10
  var targets = process.argv.slice(2);
11
- var lintTargets = targets.length > 0 ? targets : ["src/"];
11
+ var lintTargets = targets.length > 0 ? targets : ["."];
12
12
  var failed = false;
13
13
  var oxlint = (0, import_node_child_process.spawnSync)("oxlint", ["--config", oxlintConfig, ...lintTargets], {
14
14
  stdio: "inherit"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miaoda-expo-devkit",
3
- "version": "0.1.1-beta.27",
3
+ "version": "0.1.1-beta.29",
4
4
  "description": "Expo 应用开发工具集:Sentry DSN 替换 stub、错误/网络捕获、Metro 符号化",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",