xrootd 0.2.2 → 1.0.0-beta.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.
Files changed (62) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/LICENSE +189 -0
  3. package/README.md +333 -96
  4. package/dist/index.d.mts +620 -821
  5. package/dist/index.mjs +1554 -723
  6. package/package.json +65 -83
  7. package/LICENSE-GPLv3 +0 -674
  8. package/LICENSE-MIT +0 -7
  9. package/dist/index.cjs +0 -817
  10. package/dist/index.d.cts +0 -864
  11. package/libs/darwin-arm64/libXrdCl.6.dylib +0 -0
  12. package/libs/darwin-arm64/libXrdCrypto.6.dylib +0 -0
  13. package/libs/darwin-arm64/libXrdCryptossl-6.so +0 -0
  14. package/libs/darwin-arm64/libXrdSec-6.so +0 -0
  15. package/libs/darwin-arm64/libXrdSecProt-6.so +0 -0
  16. package/libs/darwin-arm64/libXrdSeckrb5-6.so +0 -0
  17. package/libs/darwin-arm64/libXrdSecpwd-6.so +0 -0
  18. package/libs/darwin-arm64/libXrdSecsss-6.so +0 -0
  19. package/libs/darwin-arm64/libXrdSecunix-6.so +0 -0
  20. package/libs/darwin-arm64/libXrdSecztn-6.so +0 -0
  21. package/libs/darwin-arm64/libXrdUtils.6.dylib +0 -0
  22. package/libs/darwin-arm64/libXrdXml.6.dylib +0 -0
  23. package/libs/darwin-x64/libXrdCl.6.dylib +0 -0
  24. package/libs/darwin-x64/libXrdCrypto.6.dylib +0 -0
  25. package/libs/darwin-x64/libXrdCryptossl-6.so +0 -0
  26. package/libs/darwin-x64/libXrdSec-6.so +0 -0
  27. package/libs/darwin-x64/libXrdSecProt-6.so +0 -0
  28. package/libs/darwin-x64/libXrdSeckrb5-6.so +0 -0
  29. package/libs/darwin-x64/libXrdSecpwd-6.so +0 -0
  30. package/libs/darwin-x64/libXrdSecsss-6.so +0 -0
  31. package/libs/darwin-x64/libXrdSecunix-6.so +0 -0
  32. package/libs/darwin-x64/libXrdSecztn-6.so +0 -0
  33. package/libs/darwin-x64/libXrdUtils.6.dylib +0 -0
  34. package/libs/darwin-x64/libXrdXml.6.dylib +0 -0
  35. package/libs/linux-arm64/libXrdCl.so.6 +0 -0
  36. package/libs/linux-arm64/libXrdCrypto.so.6 +0 -0
  37. package/libs/linux-arm64/libXrdCryptossl-6.so +0 -0
  38. package/libs/linux-arm64/libXrdSec-6.so +0 -0
  39. package/libs/linux-arm64/libXrdSecProt-6.so +0 -0
  40. package/libs/linux-arm64/libXrdSeckrb5-6.so +0 -0
  41. package/libs/linux-arm64/libXrdSecpwd-6.so +0 -0
  42. package/libs/linux-arm64/libXrdSecsss-6.so +0 -0
  43. package/libs/linux-arm64/libXrdSecunix-6.so +0 -0
  44. package/libs/linux-arm64/libXrdSecztn-6.so +0 -0
  45. package/libs/linux-arm64/libXrdUtils.so.6 +0 -0
  46. package/libs/linux-arm64/libXrdXml.so.6 +0 -0
  47. package/libs/linux-x64/libXrdCl.so.6 +0 -0
  48. package/libs/linux-x64/libXrdCrypto.so.6 +0 -0
  49. package/libs/linux-x64/libXrdCryptossl-6.so +0 -0
  50. package/libs/linux-x64/libXrdSec-6.so +0 -0
  51. package/libs/linux-x64/libXrdSecProt-6.so +0 -0
  52. package/libs/linux-x64/libXrdSeckrb5-6.so +0 -0
  53. package/libs/linux-x64/libXrdSecpwd-6.so +0 -0
  54. package/libs/linux-x64/libXrdSecsss-6.so +0 -0
  55. package/libs/linux-x64/libXrdSecunix-6.so +0 -0
  56. package/libs/linux-x64/libXrdSecztn-6.so +0 -0
  57. package/libs/linux-x64/libXrdUtils.so.6 +0 -0
  58. package/libs/linux-x64/libXrdXml.so.6 +0 -0
  59. package/prebuilds/darwin-arm64/xrootd.node +0 -0
  60. package/prebuilds/darwin-x64/xrootd.node +0 -0
  61. package/prebuilds/linux-arm64/xrootd.node +0 -0
  62. package/prebuilds/linux-x64/xrootd.node +0 -0
package/package.json CHANGED
@@ -1,83 +1,65 @@
1
- {
2
- "name": "xrootd",
3
- "version": "0.2.2",
4
- "description": "Prebuilt Node.js Native Addon for XRootD, allowing JS access to EOS file systems",
5
- "type": "module",
6
- "exports": {
7
- "require": {
8
- "types": "./dist/index.d.cts",
9
- "default": "./dist/index.cjs"
10
- },
11
- "import": {
12
- "types": "./dist/index.d.mts",
13
- "default": "./dist/index.mjs"
14
- }
15
- },
16
- "main": "dist/index.cjs",
17
- "types": "dist/index.d.cts",
18
- "module": "dist/index.mjs",
19
- "license": "MIT AND GPL-3.0-or-later",
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/Wu-Yijun/xrootd.git"
23
- },
24
- "bugs": {
25
- "url": "https://github.com/Wu-Yijun/xrootd/issues"
26
- },
27
- "keywords": [
28
- "xrootd",
29
- "eos",
30
- "hep",
31
- "native-addon",
32
- "napi",
33
- "c++",
34
- "bindings"
35
- ],
36
- "author": "Aluria",
37
- "publishConfig": {
38
- "access": "public"
39
- },
40
- "engines": {
41
- "node": ">=20.0.0"
42
- },
43
- "files": [
44
- "libs",
45
- "prebuilds",
46
- "dist",
47
- "package.json",
48
- "README.md",
49
- "LICENSE-GPLv3",
50
- "LICENSE-MIT"
51
- ],
52
- "dependencies": {
53
- "node-gyp-build": "^4.8.0"
54
- },
55
- "devDependencies": {
56
- "@types/node": "^25.8.0",
57
- "node-addon-api": "^8.7.0",
58
- "prebuildify": "^6.0.0",
59
- "tsdown": "^0.22.0",
60
- "typescript": "^6.0.0",
61
- "unrun": "^0.3.0"
62
- },
63
- "os": [
64
- "linux",
65
- "darwin"
66
- ],
67
- "cpu": [
68
- "x64",
69
- "arm64"
70
- ],
71
- "gypfile": false,
72
- "scripts": {
73
- "build:tsc": "tsc --noEmit",
74
- "build:ts": "tsdown",
75
- "build:addon": "node-gyp rebuild",
76
- "build:binaries": "prebuildify --napi --strip",
77
- "build": "pnpm run build:addon && pnpm run build:binaries && pnpm run build:tsc && pnpm run build:ts",
78
- "build:clean": "rm -r ./build && pnpm run build",
79
- "pack": "mkdir -p packages && pnpm pack --pack-destination ./packages",
80
- "test:prepare": "unrun ./tests/prepare/main.ts",
81
- "test": "unrun tests/native.mjs && unrun tests/url.ts && unrun tests/fs.ts"
82
- }
83
- }
1
+ {
2
+ "name": "xrootd",
3
+ "version": "1.0.0-beta.1",
4
+ "description": "A TypeScript client library for the XRootD protocol",
5
+ "main": "dist/index.mjs",
6
+ "types": "dist/index.d.mts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.mts",
10
+ "import": "./dist/index.mjs"
11
+ }
12
+ },
13
+ "scripts": {
14
+ "preinstall": "npx only-allow pnpm",
15
+ "build": "tsdown",
16
+ "dev": "tsdown --watch",
17
+ "typecheck": "tsc --noEmit",
18
+ "lint": "tsc --noEmit",
19
+ "test": "node --experimental-strip-types --test src/**/*.test.ts",
20
+ "test:e2e": "node --experimental-strip-types --test tests/e2e/**/*.test.ts",
21
+ "test:integration": "node --experimental-strip-types --test tests/integration/**/*.test.ts",
22
+ "test:all": "pnpm test && pnpm test:integration && pnpm test:e2e ",
23
+ "mock-server:up": "docker compose up -d",
24
+ "mock-server:down": "docker compose down",
25
+ "mock-server:logs": "docker compose logs -f xrootd-mock",
26
+ "mock-server:verify": "node --experimental-strip-types scripts/verify-mock-server.ts"
27
+ },
28
+ "keywords": [
29
+ "xrootd",
30
+ "xroot",
31
+ "eos",
32
+ "client",
33
+ "high-energy-physics",
34
+ "data-transfer",
35
+ "storage",
36
+ "protocol"
37
+ ],
38
+ "author": "Aluria",
39
+ "homepage": "https://github.com/Wu-Yijun/xrootd-ts",
40
+ "repository": {
41
+ "type": "git",
42
+ "url": "git+https://github.com/Wu-Yijun/xrootd-ts.git"
43
+ },
44
+ "bugs": {
45
+ "url": "https://github.com/Wu-Yijun/xrootd-ts/issues"
46
+ },
47
+ "packageManager": "pnpm@11.5.2",
48
+ "license": "LGPL-3.0-or-later",
49
+ "type": "module",
50
+ "engines": {
51
+ "node": ">=22"
52
+ },
53
+ "files": [
54
+ "dist/index.mjs",
55
+ "dist/index.d.mts",
56
+ "LICENSE",
57
+ "README.md",
58
+ "CHANGELOG.md"
59
+ ],
60
+ "devDependencies": {
61
+ "@types/node": "^26.0.1",
62
+ "tsdown": "^0.22.3",
63
+ "typescript": "^6.0.3"
64
+ }
65
+ }