@sleeperhq/mini-core 1.9.8 → 2.0.0

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/bin/build_mini.js CHANGED
@@ -146,7 +146,7 @@ const main = async () => {
146
146
  }
147
147
 
148
148
  if (projectName !== fallback) {
149
- await spawnProcess(`yarn react-native-rename "${projectName}" --skipGitStatusCheck`, "rename command exited with non-zero code");
149
+ await spawnProcess(`yarn react-native-rename "${projectName}" --skipAllGitChecks`, "rename command exited with non-zero code");
150
150
  setProjectName(projectName);
151
151
  }
152
152
 
@@ -17,7 +17,7 @@
17
17
  "@react-navigation/native": "6.1.3",
18
18
  "@react-navigation/stack": "6.3.12",
19
19
  "@shopify/flash-list": "1.4.1",
20
- "@sleeperhq/mini-core": "1.9.8",
20
+ "@sleeperhq/mini-core": "2.0.0",
21
21
  "amazon-cognito-identity-js": "6.3.2",
22
22
  "crypto-js": "3.3.0",
23
23
  "decimal.js-light": "2.5.1",
@@ -97,7 +97,7 @@
97
97
  "rn-prompt": "1.0.4"
98
98
  },
99
99
  "overrides": {
100
- "@callstack/repack": "2.7.0",
100
+ "@callstack/repack": "3.1.0",
101
101
  "@react-native-async-storage/async-storage": "1.15.15",
102
102
  "@react-native-community/audio-toolkit": "2.0.3",
103
103
  "react-native-chart-kit": "6.7.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleeperhq/mini-core",
3
- "version": "1.9.8",
3
+ "version": "2.0.0",
4
4
  "description": "Core library frameworks for developing Sleeper Mini Apps.",
5
5
  "main": "index.ts",
6
6
  "types": "index.d.ts",
@@ -45,8 +45,8 @@
45
45
  "babel-loader": "9.1.2",
46
46
  "react-native-fast-image": "https://github.com/blitzstudios/react-native-fast-image.git#release/1.2",
47
47
  "react-native-interactable": "https://github.com/blitzstudios/react-native-interactable#release/1.1",
48
- "react-native-linear-gradient": "2.5.6",
49
- "react-native-rename": "^3.2.12",
48
+ "react-native-linear-gradient": "2.8.3",
49
+ "react-native-rename": "blitzstudios/react-native-rename.git#react-native-rename-v3.2.14-gitpkg",
50
50
  "react-refresh": "0.14.0",
51
51
  "regenerator-runtime": "0.13.11",
52
52
  "rx": "4.1.0",
package/webpack.config.js CHANGED
@@ -45,7 +45,7 @@ module.exports = env => {
45
45
  const dev = mode === 'development';
46
46
 
47
47
  const sharedDeps = Object.keys(dependencies).reduce((acc, key) => {
48
- acc[key] = {singleton: true, eager: dev, requiredVersion: dependencies[key]};
48
+ acc[key] = { eager: dev, requiredVersion: dependencies[key] };
49
49
  return acc;
50
50
  }, {});
51
51