expo-module-template 10.13.0 → 10.13.1

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/$package.json CHANGED
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@types/react": "^18.0.25",
34
34
  "expo-module-scripts": "^3.4.1",
35
- "expo-modules-core": "^1.11.9"
35
+ "expo-modules-core": "^1.11.10"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "expo": "*",
@@ -1,19 +1,6 @@
1
- const path = require('path');
2
1
  module.exports = function (api) {
3
2
  api.cache(true);
4
3
  return {
5
4
  presets: ['babel-preset-expo'],
6
- plugins: [
7
- [
8
- 'module-resolver',
9
- {
10
- extensions: ['.tsx', '.ts', '.js', '.json'],
11
- alias: {
12
- // For development, we want to alias the library to the source
13
- '<%- project.slug %>': path.join(__dirname, '..', 'src', 'index.ts'),
14
- },
15
- },
16
- ],
17
- ],
18
5
  };
19
6
  };
@@ -18,6 +18,10 @@ config.resolver.nodeModulesPaths = [
18
18
  path.resolve(__dirname, '../node_modules'),
19
19
  ];
20
20
 
21
+ config.resolver.extraNodeModules = {
22
+ '<%- project.slug %>': '..',
23
+ };
24
+
21
25
  config.watchFolders = [path.resolve(__dirname, '..')];
22
26
 
23
27
  config.transformer.getTransformOptions = async () => ({
@@ -27,4 +31,4 @@ config.transformer.getTransformOptions = async () => ({
27
31
  },
28
32
  });
29
33
 
30
- module.exports = config;
34
+ module.exports = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-module-template",
3
- "version": "10.13.0",
3
+ "version": "10.13.1",
4
4
  "description": "ExpoModuleTemplate standalone module",
5
5
  "scripts": {},
6
6
  "keywords": [
@@ -22,5 +22,5 @@
22
22
  "dependencies": {},
23
23
  "devDependencies": {},
24
24
  "peerDependencies": {},
25
- "gitHead": "01bef8630cd9fd913bb465afd010d6030a9ca38f"
25
+ "gitHead": "df3c6bd5050c474cd998f5cf8add4bc087b69d68"
26
26
  }