@neon-rs/cli 0.1.68 → 0.1.70

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.
Files changed (2) hide show
  1. package/index.js +1 -4
  2. package/package.json +8 -8
package/index.js CHANGED
@@ -40397,11 +40397,8 @@ class Dist {
40397
40397
  });
40398
40398
  let file = null;
40399
40399
  for await (const msg of reader) {
40400
- if (msg.isCompilerArtifact() && msg.crateName() === this._crateName) {
40400
+ if (!file && msg.isCompilerArtifact() && msg.crateName() === this._crateName) {
40401
40401
  file = msg.findFileByCrateType('cdylib');
40402
- if (!file) {
40403
- throw new Error(`No artifacts were generated for crate ${this._crateName}`);
40404
- }
40405
40402
  }
40406
40403
  }
40407
40404
  if (!file) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon-rs/cli",
3
- "version": "0.1.68",
3
+ "version": "0.1.70",
4
4
  "description": "Command-line build tool for Neon modules.",
5
5
  "type": "module",
6
6
  "exports": "./index.js",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "homepage": "https://github.com/dherman/neon-rs#readme",
29
29
  "optionalDependencies": {
30
- "@cargo-messages/android-arm-eabi": "0.1.67",
31
- "@cargo-messages/darwin-arm64": "0.1.67",
32
- "@cargo-messages/darwin-x64": "0.1.67",
33
- "@cargo-messages/linux-arm-gnueabihf": "0.1.67",
34
- "@cargo-messages/linux-x64-gnu": "0.1.67",
35
- "@cargo-messages/win32-arm64-msvc": "0.1.67",
36
- "@cargo-messages/win32-x64-msvc": "0.1.67"
30
+ "@cargo-messages/android-arm-eabi": "0.1.69",
31
+ "@cargo-messages/darwin-arm64": "0.1.69",
32
+ "@cargo-messages/darwin-x64": "0.1.69",
33
+ "@cargo-messages/linux-arm-gnueabihf": "0.1.69",
34
+ "@cargo-messages/linux-x64-gnu": "0.1.69",
35
+ "@cargo-messages/win32-arm64-msvc": "0.1.69",
36
+ "@cargo-messages/win32-x64-msvc": "0.1.69"
37
37
  }
38
38
  }