rescript-relay 0.0.0-test-rust-compiler-8db81763 → 0.0.0-test-rust-compiler-d2204036

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rescript-relay",
3
- "version": "0.0.0-test-rust-compiler-8db81763",
3
+ "version": "0.0.0-test-rust-compiler-d2204036",
4
4
  "main": "src/RescriptRelay.res",
5
5
  "license": "MIT",
6
6
  "author": "Gabriel Nordeborn",
package/postinstall.js CHANGED
@@ -14,9 +14,9 @@ var platform = process.platform;
14
14
 
15
15
  function getRelayCompilerPlatformSuffix() {
16
16
  if (process.platform === "darwin" && process.arch === "x64") {
17
- return "darwin-x64";
17
+ return "macos-x64";
18
18
  } else if (process.platform === "darwin" && process.arch === "arm64") {
19
- return "darwin-arm64";
19
+ return "macos-arm64";
20
20
  } else if (process.platform === "linux" && process.arch === "x64") {
21
21
  return "linux-x64";
22
22
  }
@@ -119,8 +119,8 @@ function removeInitialBinaries() {
119
119
  fs.unlinkSync(path.join(__dirname, "ppx-darwin"));
120
120
  fs.unlinkSync(path.join(__dirname, "ppx-linux"));
121
121
  fs.unlinkSync(path.join(__dirname, "relay-compiler-linux-x86"));
122
- fs.unlinkSync(path.join(__dirname, "relay-compiler-darwin-x86"));
123
- fs.unlinkSync(path.join(__dirname, "relay-compiler-darwin-arm64"));
122
+ fs.unlinkSync(path.join(__dirname, "relay-compiler-macos-x86"));
123
+ fs.unlinkSync(path.join(__dirname, "relay-compiler-macos-arm64"));
124
124
  }
125
125
 
126
126
  switch (platform) {