@publier/native 0.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/README.md +1 -0
- package/dist/index.d.mts +635 -0
- package/dist/index.mjs +1 -0
- package/index.d.ts +179 -0
- package/index.js +733 -0
- package/package.json +64 -0
- package/publier-native.linux-x64-gnu.node +0 -0
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@publier/native",
|
|
3
|
+
"version": "0.10.1",
|
|
4
|
+
"license": "UNLICENSED",
|
|
5
|
+
"description": "Publier native bindings — build, content, and OpenAPI utilities.",
|
|
6
|
+
"_filesRationale": "explicit napi/binary list: index.js + index.d.ts + .node binary names are exact public contract",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"main": "./index.js",
|
|
9
|
+
"types": "./index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"index.js",
|
|
13
|
+
"index.d.ts",
|
|
14
|
+
"publier-native.linux-x64-gnu.node"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.mts",
|
|
19
|
+
"import": "./dist/index.mjs",
|
|
20
|
+
"require": "./index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"napi": {
|
|
24
|
+
"binaryName": "publier-native",
|
|
25
|
+
"targets": [
|
|
26
|
+
"x86_64-unknown-linux-gnu"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"satori": ">=0.10.0",
|
|
31
|
+
"@resvg/resvg-js": ">=2.0.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependenciesMeta": {
|
|
34
|
+
"satori": {
|
|
35
|
+
"optional": true
|
|
36
|
+
},
|
|
37
|
+
"@resvg/resvg-js": {
|
|
38
|
+
"optional": true
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@napi-rs/cli": "^3.6.2",
|
|
43
|
+
"@types/node": "^22",
|
|
44
|
+
"tsdown": "^0.22.0",
|
|
45
|
+
"typescript": "^6.0.3"
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
},
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "https://github.com/Publier/releases.git",
|
|
53
|
+
"directory": "packages/native"
|
|
54
|
+
},
|
|
55
|
+
"scripts": {
|
|
56
|
+
"build": "napi build --platform --release && pnpm run gen-ts && tsdown && node scripts/strip-dts-comments.mjs",
|
|
57
|
+
"build:debug": "napi build --platform && pnpm run gen-ts && tsdown && node scripts/strip-dts-comments.mjs",
|
|
58
|
+
"dev": "tsdown --watch",
|
|
59
|
+
"gen-ts": "node scripts/gen-ts-wrapper.mjs",
|
|
60
|
+
"gen-ts:check": "node scripts/gen-ts-wrapper.mjs --check",
|
|
61
|
+
"check-types": "tsc --noEmit",
|
|
62
|
+
"test": "cd ../.. && pnpm --filter @publier/native exec cargo test --no-default-features"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
Binary file
|