relay-compiler 13.0.0-rc.0 → 13.0.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -13,8 +13,10 @@
13
13
  const path = require('path');
14
14
 
15
15
  let binary;
16
- if (process.platform === 'darwin') {
16
+ if (process.platform === 'darwin' && process.arch === 'x64') {
17
17
  binary = path.join(__dirname, 'macos-x64', 'relay');
18
+ } else if (process.platform === 'darwin' && process.arch === 'arm64') {
19
+ binary = path.join(__dirname, 'macos-arm64', 'relay');
18
20
  } else if (process.platform === 'linux' && process.arch === 'x64') {
19
21
  binary = path.join(__dirname, 'linux-x64', 'relay');
20
22
  } else if (process.platform === 'win32' && process.arch === 'x64') {
package/linux-x64/relay CHANGED
Binary file
Binary file
package/macos-x64/relay CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relay-compiler",
3
3
  "description": "A compiler tool for building GraphQL-driven applications.",
4
- "version": "13.0.0-rc.0",
4
+ "version": "13.0.0-rc.1",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
package/win-x64/relay.exe CHANGED
Binary file