expo-module-scripts 4.1.1 → 4.1.2

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/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 4.1.2 — 2025-04-14
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 4.1.1 — 2025-04-09
14
18
 
15
19
  _This version does not introduce any user-facing changes._
package/eslintrc.base.js CHANGED
@@ -11,6 +11,24 @@ module.exports = {
11
11
  files: ['./*.config.js', './.*rc.js'],
12
12
  extends: ['universe/node'],
13
13
  },
14
+
15
+ {
16
+ files: ['*.ts', '*.tsx', '*.d.ts'],
17
+ rules: {
18
+ // NOTE: This is already handled by TypeScript itself
19
+ // Turning this on blocks legitimate type overloads
20
+ // TODO(@kitten): Please move this to universe
21
+ 'no-redeclare': 'off',
22
+ '@typescript-eslint/no-redeclare': 'off',
23
+
24
+ // NOTE: Handled by TypeScript
25
+ // TODO(@kitten): Please move this to universe
26
+ 'no-unused-expressions': 'off',
27
+ 'no-unused-vars': 'off',
28
+ '@typescript-eslint/no-unused-expressions': 'off',
29
+ '@typescript-eslint/no-unused-vars': 'off',
30
+ }
31
+ },
14
32
  ],
15
33
  rules: {
16
34
  'no-restricted-imports': [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-module-scripts",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "A private package for various tasks for Expo module packages like compiling and testing",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -35,16 +35,16 @@
35
35
  "@tsconfig/node18": "^18.2.2",
36
36
  "@types/jest": "^29.2.1",
37
37
  "babel-plugin-dynamic-import-node": "^2.3.3",
38
- "babel-preset-expo": "~13.1.1",
38
+ "babel-preset-expo": "~13.1.3",
39
39
  "commander": "^12.1.0",
40
40
  "eslint-config-universe": "^14.2.0",
41
41
  "glob": "^10.4.2",
42
- "jest-expo": "~53.0.0-preview.1",
42
+ "jest-expo": "~53.0.0-preview.2",
43
43
  "jest-snapshot-prettier": "npm:prettier@^2",
44
44
  "jest-watch-typeahead": "2.2.1",
45
45
  "resolve-workspace-root": "^2.0.0",
46
46
  "ts-jest": "~29.0.4",
47
47
  "typescript": "^5.8.3"
48
48
  },
49
- "gitHead": "1914bb35d23af23078da37e70988261844436505"
49
+ "gitHead": "335e9312f5caf634097354a230f0d4bbbfb9b0ba"
50
50
  }
@@ -1,25 +1,40 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "esnext",
3
+ // Typings
4
4
  "lib": ["dom", "DOM.Iterable", "esnext"],
5
- "jsx": "react-native",
6
- "moduleResolution": "node",
7
- "esModuleInterop": true,
8
5
  "types": ["jest", "jest-require"],
9
6
  "typeRoots": [
10
7
  "./ts-declarations",
11
8
  "./node_modules/@types",
12
9
  "../../node_modules/@types",
13
10
  ],
11
+
12
+ // Target and resolution options
13
+ "jsx": "react-native",
14
+ "target": "esnext",
15
+ "moduleResolution": "bundler",
16
+ "module": "esnext",
17
+ "moduleDetection": "force",
18
+ "esModuleInterop": true,
19
+
20
+ // Output options
14
21
  "sourceMap": true,
15
22
  "declaration": true,
16
23
  "declarationMap": true,
17
24
  "inlineSources": true,
18
- "strictNullChecks": true,
19
- "strictPropertyInitialization": true,
20
- "strictFunctionTypes": true,
25
+
21
26
  "skipLibCheck": true,
22
- "noImplicitThis": true,
23
- "noImplicitReturns": true
27
+
28
+ // Strictness flags
29
+ "strict": true,
30
+ "noFallthroughCasesInSwitch": true,
31
+ // TODO: Enable in the future
32
+ "noPropertyAccessFromIndexSignature": false,
33
+ "noImplicitReturns": true,
34
+
35
+ // Best practice warnings
36
+ "noUnusedLocals": true,
37
+ // TODO: Enable in the future
38
+ "noUnusedParameters": false,
24
39
  }
25
40
  }
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "moduleResolution": "node",
3
+ "moduleResolution": "bundler",
4
4
  "strict": true,
5
5
  "types": []
6
6
  }