Commit 0961d22f3e0203996ee0993e69cd947649f3f327
Fix things
- Update pkg-fetch - Fix error - Add install.sh to packagecel committed on 5/12/2020, 1:11:14 AM
Parent: e1a1630f31c55420ca08a2a8e36296e3c202f1b1
Files changed
README.md | changed |
lib/walker.js | changed |
package.json | changed |
README.md | ||
---|---|---|
@@ -27,9 +27,9 @@ | ||
27 | 27 … | |
28 | 28 … | Install using [ssb-npm](%iqhz/sQCZCSp91JYAqfQPzHuDYrjw1geKPf1wJ1CvlA=.sha256): |
29 | 29 … | |
30 | 30 … | ```sh |
31 | -ssb-npm install -g ssb-pkg --branch %oOTvQZfr4k4oJmTJmO7e630scKI+hvU8GhUI7AIj8uU=.sha256 | |
31 … | +ssb-npm install -g ssb-pkg --branch %oOTvQZfr4k4oJmTJmO7e630scKI+hvU8GhUI7AIj8uU=.sha256,%myy9ODF0DaQUTOR3Mi79BAckYZ/gKyk8x64TtEu/zLo=.sha256 | |
32 | 32 … | ``` |
33 | 33 … | |
34 | 34 … | After installing it, run `ssb-pkg --help` without arguments to see list of options. |
35 | 35 … |
lib/walker.js | |||
---|---|---|---|
@@ -575,13 +575,13 @@ | |||
575 | 575 … | } | |
576 | 576 … | }) | |
577 | 577 … | if (!foundNativeModule) { | |
578 | 578 … | throw new Error('Missing native module for ' | |
579 | - + platformArch + ' (' + Object.keys(nodeRanges).join(', ') + ')') | ||
579 … | + + platformArch + ' (' + majorRange + ')') | ||
580 | 580 … | } | |
581 | 581 … | if (!foundSharedLib) { | |
582 | 582 … | throw new Error('Missing shared library for ' | |
583 | - + platformArch + ' (' + Object.keys(nodeRanges).join(', ') + ')') | ||
583 … | + + platformArch + ' (' + majorRange + ')') | ||
584 | 584 … | } | |
585 | 585 … | filesToAdd.map(function (name) { | |
586 | 586 … | return path.join(dir, name) | |
587 | 587 … | }).filter(function (file) { |
package.json | ||
---|---|---|
@@ -13,9 +13,10 @@ | ||
13 | 13 … | }, |
14 | 14 … | "files": [ |
15 | 15 … | "lib-es5/*.js", |
16 | 16 … | "dictionary/*.js", |
17 | - "prelude/*.js" | |
17 … | + "prelude/*.js", | |
18 … | + "prelude/*.sh" | |
18 | 19 … | ], |
19 | 20 … | "babel": { |
20 | 21 … | "plugins": [ |
21 | 22 … | "@babel/plugin-transform-async-to-generator", |
@@ -41,9 +42,9 @@ | ||
41 | 42 … | "globby": "^11.0.0", |
42 | 43 … | "into-stream": "^5.1.1", |
43 | 44 … | "minimist": "^1.2.5", |
44 | 45 … | "multistream": "^2.1.1", |
45 | - "pkg-fetch": "^2.6.7", | |
46 … | + "pkg-fetch": "^2.6.8", | |
46 | 47 … | "progress": "^2.0.3", |
47 | 48 … | "resolve": "^1.15.1", |
48 | 49 … | "stream-meter": "^1.0.4" |
49 | 50 … | }, |
Built with git-ssb-web