@temporalio/core-bridge 1.10.0 → 1.10.1

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": "@temporalio/core-bridge",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Temporal.io SDK Core<>Node bridge",
5
5
  "main": "index.js",
6
6
  "types": "lib/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "author": "Temporal Technologies Inc. <sdk@temporal.io>",
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@temporalio/common": "1.10.0",
25
+ "@temporalio/common": "1.10.1",
26
26
  "arg": "^5.0.2",
27
27
  "cargo-cp-artifact": "^0.1.8",
28
28
  "which": "^4.0.0"
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "39d702af7ae5d7e33ee90651292aa77fa07d33ca"
55
+ "gitHead": "a39419f4f9398bd69cc313700af75aea268f80b1"
56
56
  }
package/scripts/build.js CHANGED
@@ -55,6 +55,10 @@ const forceBuild = args['--force'];
55
55
  const buildRelease = args['--release'] || process.env.BUILD_CORE_RELEASE !== undefined;
56
56
 
57
57
  function compile(requestedTarget) {
58
+ if (!fs.existsSync('sdk-core/Cargo.toml')) {
59
+ throw new Error('Missing sdk-core/Cargo.toml. Did you forget to run `git submodule update --init --recursive`?');
60
+ }
61
+
58
62
  const target = requestedTarget ?? getPrebuiltTargetName();
59
63
  console.log('Compiling bridge', { target, buildRelease });
60
64