@fto-consult/expo-ui 1.0.27 → 1.0.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.
@@ -25,6 +25,6 @@ module.exports = function({config,isNext,nodeModulesPath,base,dir}){
25
25
  }
26
26
  });
27
27
  }
28
- config.plugins.push(require("./circular-dependencies"));
28
+ config.plugins.push(require("@fto-consult/common/circular-dependencies"));
29
29
  return config;
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -60,7 +60,7 @@
60
60
  "@emotion/native": "^11.10.0",
61
61
  "@expo/metro-config": "^0.4.0",
62
62
  "@expo/webpack-config": "^0.17.2",
63
- "@fto-consult/common": "^1.1.4",
63
+ "@fto-consult/common": "^1.1.6",
64
64
  "@gorhom/portal": "^1.0.14",
65
65
  "@react-native-async-storage/async-storage": "~1.17.3",
66
66
  "@react-native-community/netinfo": "9.3.0",
@@ -70,7 +70,6 @@
70
70
  "babel-plugin-inline-dotenv": "^1.7.0",
71
71
  "babel-plugin-root-import": "^6.6.0",
72
72
  "babel-plugin-transform-inline-environment-variables": "^0.4.4",
73
- "circular-dependency-plugin": "^5.2.2",
74
73
  "dotenv": "^16.0.3",
75
74
  "expo": "^46.0.15",
76
75
  "expo-camera": "~12.3.0",
@@ -1,24 +0,0 @@
1
- const CircularDependencyPlugin = require("circular-dependency-plugin");
2
- module.exports = new CircularDependencyPlugin({
3
- exclude: /node_modules/,
4
- failOnError: true,
5
- allowAsyncCycles: false,
6
- cwd: process.cwd(),
7
- // allow import cycles that include an asyncronous import,
8
- // e.g. via import(/* webpackMode: "weak" */ './file.js')
9
- allowAsyncCycles: false,
10
- // `onStart` is called before the cycle detection starts
11
- onStart({ compilation }) {
12
- console.log('\nstart detecting webpack modules cycles');
13
- },
14
- // `onDetected` is called for each module that is cyclical
15
- onDetected({ module: webpackModuleRecord, paths, compilation }) {
16
- // `paths` will be an Array of the relative module paths that make up the cycle
17
- // `module` will be the module record generated by webpack that caused the cycle
18
- compilation.errors.push(new Error(paths.join(' -> ')))
19
- },
20
- // `onEnd` is called before the cycle detection ends
21
- onEnd({ compilation }) {
22
- console.log('\nend detecting webpack modules cycles');
23
- },
24
- });