Skip to content

Commit d02b525

Browse files
dennisamelinglovell
authored andcommitted
Publish sharp-libvips-win32-arm64 package to npm
1 parent 382dcf1 commit d02b525

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

npm/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"linux-ppc64",
1515
"linux-s390x",
1616
"linux-x64",
17+
"win32-arm64",
1718
"win32-ia32",
1819
"win32-x64"
1920
]

npm/populate.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ PLATFORMS=$(ls platforms --ignore=win32*)
5656
for platform in $PLATFORMS; do
5757
download_extract "$platform"
5858
done
59-
download_extract "win32-ia32"
60-
download_extract "win32-x64"
59+
for platform in arm64v8 ia32 x64; do
60+
download_extract "win32-$platform"
61+
done
6162

6263
# Common header and source files
6364
cp -r npm/linux-x64/{include,versions.json,THIRD-PARTY-NOTICES.md} npm/dev/

npm/win32-arm64/package.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "@img/sharp-libvips-win32-arm64",
3+
"version": "1.1.0",
4+
"description": "Prebuilt libvips and dependencies for use with sharp on Windows 64-bit ARM",
5+
"author": "Lovell Fuller <npm@lovell.info>",
6+
"homepage": "https://sharp.pixelplumbing.com",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/lovell/sharp-libvips.git",
10+
"directory": "npm/win32-arm64"
11+
},
12+
"license": "LGPL-3.0-or-later",
13+
"funding": {
14+
"url": "https://opencollective.com/libvips"
15+
},
16+
"preferUnplugged": true,
17+
"publishConfig": {
18+
"access": "public"
19+
},
20+
"files": [
21+
"lib",
22+
"versions.json"
23+
],
24+
"type": "commonjs",
25+
"exports": {
26+
"./lib": "./lib/index.js",
27+
"./package": "./package.json",
28+
"./versions": "./versions.json"
29+
}
30+
}

0 commit comments

Comments
 (0)