@maplibre/maplibre-react-native 10.0.0-alpha.13 → 10.0.0-alpha.14

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
@@ -6,6 +6,12 @@ PR Title ([#123](link to my pr))
6
6
 
7
7
  ```
8
8
 
9
+ ## 10.0.0-alpha.14
10
+
11
+ fix: [disable library code signing](<[#447](https://github.com/maplibre/maplibre-react-native/pull/447)>)
12
+
13
+ feat: [feat: yarn monorepo](<[#441](https://github.com/maplibre/maplibre-react-native/pull/441)>)
14
+
9
15
  ## 10.0.0-alpha.13
10
16
 
11
17
  fix: [fix: setMaxAnimationFps on null](<[#440](https://github.com/maplibre/maplibre-react-native/pull/440)>)
@@ -1,2 +1,2 @@
1
- connection.project.dir=../../example/android
1
+ connection.project.dir=../../packages/react-native-app/android
2
2
  eclipse.preferences.version=1
@@ -656,7 +656,8 @@
656
656
  CLANG_WARN_SUSPICIOUS_MOVE = YES;
657
657
  CLANG_WARN_UNREACHABLE_CODE = YES;
658
658
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
659
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
659
+ CODE_SIGN_IDENTITY = "";
660
+ CODE_SIGNING_REQUIRED = NO;
660
661
  COPY_PHASE_STRIP = NO;
661
662
  DEBUG_INFORMATION_FORMAT = dwarf;
662
663
  ENABLE_STRICT_OBJC_MSGSEND = YES;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maplibre/maplibre-react-native",
3
3
  "description": "A MapLibre GL Native plugin for creating maps in React Native",
4
- "version": "10.0.0-alpha.13",
4
+ "version": "10.0.0-alpha.14",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -100,6 +100,9 @@
100
100
  "react-test-renderer": "^18.2.0",
101
101
  "typescript": "^5.3.3"
102
102
  },
103
+ "resolutions": {
104
+ "typescript": "5.5.3"
105
+ },
103
106
  "jest": {
104
107
  "preset": "react-native",
105
108
  "collectCoverageFrom": [
@@ -137,5 +140,9 @@
137
140
  "prettier/prettier": "error"
138
141
  }
139
142
  },
140
- "packageManager": "yarn@4.1.0"
143
+ "packageManager": "yarn@4.1.0",
144
+ "workspaces": [
145
+ "apps/*",
146
+ "packages/*"
147
+ ]
141
148
  }
@@ -3,7 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.setExcludedArchitectures = exports.addMapLibreInstallerBlock = exports.addInstallerBlock = exports.applyCocoaPodsModifications = void 0;
6
+ exports.applyCocoaPodsModifications = applyCocoaPodsModifications;
7
+ exports.addInstallerBlock = addInstallerBlock;
8
+ exports.addMapLibreInstallerBlock = addMapLibreInstallerBlock;
9
+ exports.setExcludedArchitectures = setExcludedArchitectures;
7
10
  const config_plugins_1 = require("@expo/config-plugins");
8
11
  const generateCode_1 = require("@expo/config-plugins/build/utils/generateCode");
9
12
  const fs_1 = require("fs");
@@ -47,7 +50,6 @@ function applyCocoaPodsModifications(contents) {
47
50
  src = addMapLibreInstallerBlock(src, "post");
48
51
  return src;
49
52
  }
50
- exports.applyCocoaPodsModifications = applyCocoaPodsModifications;
51
53
  function addInstallerBlock(src, blockName) {
52
54
  const matchBlock = new RegExp(`${blockName}_install do \\|installer\\|`);
53
55
  const tag = `${blockName}_installer`;
@@ -76,7 +78,6 @@ function addInstallerBlock(src, blockName) {
76
78
  comment: "#",
77
79
  }).contents;
78
80
  }
79
- exports.addInstallerBlock = addInstallerBlock;
80
81
  function addMapLibreInstallerBlock(src, blockName) {
81
82
  return (0, generateCode_1.mergeContents)({
82
83
  tag: `@maplibre/maplibre-react-native-${blockName}_installer`,
@@ -87,7 +88,6 @@ function addMapLibreInstallerBlock(src, blockName) {
87
88
  comment: "#",
88
89
  }).contents;
89
90
  }
90
- exports.addMapLibreInstallerBlock = addMapLibreInstallerBlock;
91
91
  /**
92
92
  * Exclude building for arm64 on simulator devices in the pbxproj project.
93
93
  * Without this, production builds targeting simulators will fail.
@@ -106,21 +106,6 @@ function setExcludedArchitectures(project) {
106
106
  }
107
107
  return project;
108
108
  }
109
- exports.setExcludedArchitectures = setExcludedArchitectures;
110
- const withoutSignatures = (config) => {
111
- const shellScript = `if [ "$XCODE_VERSION_MAJOR" = "1500" ]; then
112
- echo "Remove signature files (Xcode 15 workaround)";
113
- rm -rf "$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature";
114
- fi`;
115
- return (0, config_plugins_1.withXcodeProject)(config, async (config) => {
116
- const xcodeProject = config.modResults;
117
- xcodeProject.addBuildPhase([], "PBXShellScriptBuildPhase", "Remove signature files (Xcode 15 workaround)", null, {
118
- shellPath: "/bin/sh",
119
- shellScript,
120
- });
121
- return config;
122
- });
123
- };
124
109
  const withExcludedSimulatorArchitectures = (c) => {
125
110
  return (0, config_plugins_1.withXcodeProject)(c, (config) => {
126
111
  config.modResults = setExcludedArchitectures(config.modResults);
@@ -128,7 +113,7 @@ const withExcludedSimulatorArchitectures = (c) => {
128
113
  });
129
114
  };
130
115
  const withMapLibre = (config) => {
131
- config = withoutSignatures(withExcludedSimulatorArchitectures(config));
116
+ config = withExcludedSimulatorArchitectures(config);
132
117
  return withCocoaPodsInstallerBlocks(config);
133
118
  };
134
119
  exports.default = (0, config_plugins_1.createRunOncePlugin)(withMapLibre, pkg.name, pkg.version);