@oras-project/oci-client 0.18.0-alpha.0
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/LICENSE +201 -0
- package/README.md +313 -0
- package/index.d.ts +678 -0
- package/index.js +818 -0
- package/package.json +103 -0
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@oras-project/oci-client",
|
|
3
|
+
"version": "0.18.0-alpha.0",
|
|
4
|
+
"description": "Node.js bindings for rust-oci-client - OCI Distribution client",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"bindings",
|
|
7
|
+
"container",
|
|
8
|
+
"distribution",
|
|
9
|
+
"docker",
|
|
10
|
+
"napi",
|
|
11
|
+
"oci",
|
|
12
|
+
"registry",
|
|
13
|
+
"rust"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/oras-project/rust-oci-client-node#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/oras-project/rust-oci-client-node/issues"
|
|
18
|
+
},
|
|
19
|
+
"license": "Apache-2.0",
|
|
20
|
+
"author": "The ORAS Authors",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/oras-project/rust-oci-client-node.git"
|
|
24
|
+
},
|
|
25
|
+
"workspaces": [
|
|
26
|
+
"testing"
|
|
27
|
+
],
|
|
28
|
+
"files": [
|
|
29
|
+
"index.d.ts",
|
|
30
|
+
"index.js"
|
|
31
|
+
],
|
|
32
|
+
"main": "index.js",
|
|
33
|
+
"types": "index.d.ts",
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public",
|
|
36
|
+
"registry": "https://registry.npmjs.org/"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"artifacts": "napi artifacts",
|
|
40
|
+
"build": "yarn sync-version --check && napi build --platform --release && yarn fix-const-enums",
|
|
41
|
+
"build:debug": "yarn sync-version --check && napi build --platform && yarn fix-const-enums",
|
|
42
|
+
"fix-const-enums": "node scripts/fix-const-enums.js",
|
|
43
|
+
"format": "oxfmt . && cargo fmt --all",
|
|
44
|
+
"lint": "oxlint .",
|
|
45
|
+
"prepublishOnly": "napi prepublish -t npm --no-gh-release",
|
|
46
|
+
"test": "ava",
|
|
47
|
+
"version": "napi version",
|
|
48
|
+
"sync-version": "node scripts/sync-version.js",
|
|
49
|
+
"bump": "cargo set-version \"$@\" && node scripts/sync-version.js && yarn install"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@napi-rs/cli": "^3.10.4",
|
|
53
|
+
"@oxc-node/core": "^0.1.3",
|
|
54
|
+
"@types/node": "^20.0.0",
|
|
55
|
+
"ava": "^8.0.1",
|
|
56
|
+
"oxfmt": "^0.70.0",
|
|
57
|
+
"oxlint": "^1.83.0",
|
|
58
|
+
"typescript": "^5.9.2"
|
|
59
|
+
},
|
|
60
|
+
"napi": {
|
|
61
|
+
"binaryName": "oci-client",
|
|
62
|
+
"targets": [
|
|
63
|
+
"x86_64-pc-windows-msvc",
|
|
64
|
+
"x86_64-apple-darwin",
|
|
65
|
+
"x86_64-unknown-linux-gnu",
|
|
66
|
+
"x86_64-unknown-linux-musl",
|
|
67
|
+
"aarch64-unknown-linux-gnu",
|
|
68
|
+
"aarch64-apple-darwin",
|
|
69
|
+
"aarch64-unknown-linux-musl",
|
|
70
|
+
"s390x-unknown-linux-gnu",
|
|
71
|
+
"powerpc64le-unknown-linux-gnu"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
"ava": {
|
|
75
|
+
"environmentVariables": {
|
|
76
|
+
"OXC_TSCONFIG_PATH": "./__test__/tsconfig.json"
|
|
77
|
+
},
|
|
78
|
+
"extensions": [
|
|
79
|
+
"ts"
|
|
80
|
+
],
|
|
81
|
+
"nodeArguments": [
|
|
82
|
+
"--import",
|
|
83
|
+
"@oxc-node/core/register"
|
|
84
|
+
],
|
|
85
|
+
"timeout": "2m",
|
|
86
|
+
"workerThreads": false
|
|
87
|
+
},
|
|
88
|
+
"engines": {
|
|
89
|
+
"node": ">= 22"
|
|
90
|
+
},
|
|
91
|
+
"packageManager": "yarn@4.12.0",
|
|
92
|
+
"optionalDependencies": {
|
|
93
|
+
"@oras-project/oci-client-win32-x64-msvc": "0.18.0-alpha.0",
|
|
94
|
+
"@oras-project/oci-client-darwin-x64": "0.18.0-alpha.0",
|
|
95
|
+
"@oras-project/oci-client-linux-x64-gnu": "0.18.0-alpha.0",
|
|
96
|
+
"@oras-project/oci-client-linux-x64-musl": "0.18.0-alpha.0",
|
|
97
|
+
"@oras-project/oci-client-linux-arm64-gnu": "0.18.0-alpha.0",
|
|
98
|
+
"@oras-project/oci-client-darwin-arm64": "0.18.0-alpha.0",
|
|
99
|
+
"@oras-project/oci-client-linux-arm64-musl": "0.18.0-alpha.0",
|
|
100
|
+
"@oras-project/oci-client-linux-s390x-gnu": "0.18.0-alpha.0",
|
|
101
|
+
"@oras-project/oci-client-linux-ppc64-gnu": "0.18.0-alpha.0"
|
|
102
|
+
}
|
|
103
|
+
}
|