@fto-consult/expo-ui 6.64.15 → 6.64.17

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.
@@ -4,7 +4,7 @@ module.exports = function(api) {
4
4
  const $src = path.resolve(projectRoot,"src");
5
5
  const alias = {
6
6
  $src,
7
- $component : path.resolve($src,"component"),
7
+ $components : path.resolve($src,"components"),
8
8
  $navigation : path.resolve($src,"navigation"),
9
9
  $screens : path.resolve($src,"screens"),
10
10
  //...your custom module resolver alias, @see : https://www.npmjs.com/package/babel-plugin-module-resolver
@@ -5,7 +5,7 @@ import appConfig from "$capp/config";
5
5
 
6
6
  export default function HomeScreen(props){
7
7
  return <Screen {...props} style={[styles.container,props.style]}>
8
- <Label primary style={[styles.label]}>Hello world! {appConfig.name}, version {appConfig.version}</Label>
8
+ <Label primary style={[styles.label]}>Hello world {appConfig.name}, version {appConfig.version}!</Label>
9
9
  </Screen>
10
10
  }
11
11
 
package/metro.config.js CHANGED
@@ -29,7 +29,7 @@ module.exports = function(opts){
29
29
  if(isDev){
30
30
  const commonP = path.resolve(projectRoot,"node_modules","@fto-consult","common");
31
31
  if(fs.existsSync(commonP)){
32
- config.watchFolders.push();
32
+ config.watchFolders.push(commonP);
33
33
  }
34
34
  }
35
35
  // 2. Let Metro know where to resolve packages and in what order
@@ -39,7 +39,7 @@ module.exports = function(opts){
39
39
  nodeModulesPaths.unshift(nodeModulePath);
40
40
  }
41
41
  config.resolver.nodeModulesPaths = nodeModulesPaths;
42
- //config.projectRoot = projectRoot;
42
+ config.projectRoot = projectRoot;
43
43
  config.resolver.assetExts = [
44
44
  ...config.resolver.assetExts,
45
45
  ...assetExts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.64.15",
3
+ "version": "6.64.17",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {