speedkey 0.1.0 → 0.1.2
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/package.json +142 -133
package/package.json
CHANGED
|
@@ -1,136 +1,145 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"build-ts/**",
|
|
22
|
-
"README.md",
|
|
23
|
-
"LICENSE"
|
|
24
|
-
],
|
|
25
|
-
"type": "commonjs",
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/avifenesh/speedkey.git"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/avifenesh/speedkey",
|
|
31
|
-
"author": "Valkey GLIDE Maintainers",
|
|
32
|
-
"license": "Apache-2.0",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"long": "5",
|
|
35
|
-
"protobufjs": "7"
|
|
36
|
-
},
|
|
37
|
-
"keywords": [
|
|
38
|
-
"valkey",
|
|
39
|
-
"redis",
|
|
40
|
-
"client",
|
|
41
|
-
"driver",
|
|
42
|
-
"database",
|
|
43
|
-
"napi",
|
|
44
|
-
"typescript",
|
|
45
|
-
"rust",
|
|
46
|
-
"cross-platform",
|
|
47
|
-
"cluster",
|
|
48
|
-
"standalone",
|
|
49
|
-
"high-availability",
|
|
50
|
-
"performance",
|
|
51
|
-
"open-source",
|
|
52
|
-
"fault-tolerant",
|
|
53
|
-
"distributed",
|
|
54
|
-
"scalable",
|
|
55
|
-
"resilient",
|
|
56
|
-
"valkey-glide"
|
|
57
|
-
],
|
|
58
|
-
"scripts": {
|
|
59
|
-
"clean:build": "shx rm -rf build-ts dist/*/target rust-client/target rust-client/speedkey.*.node src/speedkey.*.node build/*.tsbuildinfo",
|
|
60
|
-
"clean": "shx rm -rf build-ts dist/*/target node_modules rust-client/node_modules */node_modules rust-client/target glide-logs rust-client/speedkey.*.node src/speedkey.*.node rust-client/index.* src/ProtobufMessage.* *.tsbuildinfo test-report*.html yarn.lock package-lock.json rust-client/package-lock.json rust-client/Cargo.lock",
|
|
61
|
-
"prebuild": "npm install && npm run clean:build",
|
|
62
|
-
"build": "npm run build-protobuf && npm run build:rust-client && npm run build:ts",
|
|
63
|
-
"build:release": "npm run prereq && npm run build-protobuf && npm run build:rust-client:release && npm run build:ts",
|
|
64
|
-
"build:benchmark": "npm run prereq && npm run build-protobuf && npm run build:rust-client:benchmark && npm run build:ts",
|
|
65
|
-
"build:rust-client": "cd rust-client && npm run build:dev",
|
|
66
|
-
"build:rust-client:release": "cd rust-client && npm run build:release",
|
|
67
|
-
"build:rust-client:benchmark": "cd rust-client && npm run build:benchmark",
|
|
68
|
-
"build:ts": "tsc",
|
|
69
|
-
"build:ts:release": "tsc --stripInternal",
|
|
70
|
-
"build-protobuf": "shx mkdir -p build-ts && pbjs -t static-module -w commonjs --no-verify --no-convert -o build-ts/ProtobufMessage.js ../glide-core/src/protobuf/*.proto && pbts -o build-ts/ProtobufMessage.d.ts build-ts/ProtobufMessage.js && replace \"this\\.encode\\(message, writer\\)\\.ldelim\" \"this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim\" build-ts/ProtobufMessage.js",
|
|
71
|
-
"test": "npm run build-test-utils && jest --verbose --testPathIgnorePatterns=ServerModules",
|
|
72
|
-
"test:debug": "npm run build-test-utils && jest --runInBand",
|
|
73
|
-
"test:minimum": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern=\"^(.(?!(GlideJson|GlideFt|pubsub|kill)))*$\"",
|
|
74
|
-
"test:modules": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern=\"(GlideJson|GlideFt)\"",
|
|
75
|
-
"build-test-utils": "cd ../utils && npm i && npm run build",
|
|
76
|
-
"repl": "ts-node --project tsconfig.json",
|
|
77
|
-
"lint": "npm run install-linting && eslint -c ../eslint.config.mjs && npm run prettier:check",
|
|
78
|
-
"lint:fix": "npm run install-linting && eslint -c ../eslint.config.mjs --fix && npm run prettier:format",
|
|
79
|
-
"install-linting": "cd .. && npm install",
|
|
80
|
-
"prettier:check": "prettier --check . --ignore-unknown \"!**/*.{js,d.ts}\"",
|
|
81
|
-
"prettier:format": "prettier --write . --ignore-unknown \"!**/*.{js,d.ts}\"",
|
|
82
|
-
"staged": "lint-staged",
|
|
83
|
-
"prereq": "npm install",
|
|
84
|
-
"artifacts": "napi artifacts",
|
|
85
|
-
"docs": "npm run build && ./docs/build-docs"
|
|
86
|
-
},
|
|
87
|
-
"devDependencies": {
|
|
88
|
-
"@jest/globals": "29",
|
|
89
|
-
"@types/jest": "29",
|
|
90
|
-
"@types/minimist": "1",
|
|
91
|
-
"@types/node": "24",
|
|
92
|
-
"@types/semver": "7",
|
|
93
|
-
"@types/uuid": "11",
|
|
94
|
-
"find-free-port": "2",
|
|
95
|
-
"lint-staged": "16",
|
|
96
|
-
"jest": "29",
|
|
97
|
-
"jest-html-reporter": "4",
|
|
98
|
-
"protobufjs-cli": "1",
|
|
99
|
-
"replace": "1",
|
|
100
|
-
"semver": "7",
|
|
101
|
-
"shx": "0.3",
|
|
102
|
-
"ts-jest": "29",
|
|
103
|
-
"ts-node": "10",
|
|
104
|
-
"typedoc": "0.28",
|
|
105
|
-
"typedoc-plugin-markdown": "4",
|
|
106
|
-
"typescript": "5",
|
|
107
|
-
"uuid": "13"
|
|
108
|
-
},
|
|
109
|
-
"lint-staged": {
|
|
110
|
-
"*.@(js|ts|tsx)": [
|
|
111
|
-
"npx eslint -c ../eslint.config.mjs --fix"
|
|
112
|
-
],
|
|
113
|
-
"*.@(js|ts|tsx|yml|yaml|md|json)": [
|
|
114
|
-
"prettier --write"
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"publishConfig": {
|
|
118
|
-
"registry": "https://registry.npmjs.org/",
|
|
119
|
-
"access": "public"
|
|
120
|
-
},
|
|
121
|
-
"engines": {
|
|
122
|
-
"node": ">=20"
|
|
123
|
-
},
|
|
124
|
-
"napi": {
|
|
125
|
-
"binaryName": "speedkey",
|
|
126
|
-
"targets": [
|
|
127
|
-
"x86_64-apple-darwin",
|
|
128
|
-
"aarch64-apple-darwin",
|
|
129
|
-
"x86_64-unknown-linux-gnu",
|
|
130
|
-
"aarch64-unknown-linux-gnu",
|
|
131
|
-
"x86_64-unknown-linux-musl",
|
|
132
|
-
"aarch64-unknown-linux-musl",
|
|
133
|
-
"x86_64-pc-windows-msvc"
|
|
134
|
-
]
|
|
2
|
+
"name": "speedkey",
|
|
3
|
+
"description": "Experimental Valkey/Redis client based on valkey-glide core (testing only)",
|
|
4
|
+
"main": "build-ts/index.js",
|
|
5
|
+
"module": "build-ts/index.js",
|
|
6
|
+
"types": "build-ts/index.d.ts",
|
|
7
|
+
"version": "0.1.2",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": {
|
|
11
|
+
"types": "./build-ts/index.d.ts",
|
|
12
|
+
"default": "./build-ts/index.js"
|
|
13
|
+
},
|
|
14
|
+
"require": {
|
|
15
|
+
"types": "./build-ts/index.d.ts",
|
|
16
|
+
"default": "./build-ts/index.js"
|
|
17
|
+
}
|
|
135
18
|
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"build-ts/**",
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"type": "commonjs",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/avifenesh/speedkey.git"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/avifenesh/speedkey",
|
|
31
|
+
"author": "Valkey GLIDE Maintainers",
|
|
32
|
+
"license": "Apache-2.0",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"long": "5",
|
|
35
|
+
"protobufjs": "7"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"valkey",
|
|
39
|
+
"redis",
|
|
40
|
+
"client",
|
|
41
|
+
"driver",
|
|
42
|
+
"database",
|
|
43
|
+
"napi",
|
|
44
|
+
"typescript",
|
|
45
|
+
"rust",
|
|
46
|
+
"cross-platform",
|
|
47
|
+
"cluster",
|
|
48
|
+
"standalone",
|
|
49
|
+
"high-availability",
|
|
50
|
+
"performance",
|
|
51
|
+
"open-source",
|
|
52
|
+
"fault-tolerant",
|
|
53
|
+
"distributed",
|
|
54
|
+
"scalable",
|
|
55
|
+
"resilient",
|
|
56
|
+
"valkey-glide"
|
|
57
|
+
],
|
|
58
|
+
"scripts": {
|
|
59
|
+
"clean:build": "shx rm -rf build-ts dist/*/target rust-client/target rust-client/speedkey.*.node src/speedkey.*.node build/*.tsbuildinfo",
|
|
60
|
+
"clean": "shx rm -rf build-ts dist/*/target node_modules rust-client/node_modules */node_modules rust-client/target glide-logs rust-client/speedkey.*.node src/speedkey.*.node rust-client/index.* src/ProtobufMessage.* *.tsbuildinfo test-report*.html yarn.lock package-lock.json rust-client/package-lock.json rust-client/Cargo.lock",
|
|
61
|
+
"prebuild": "npm install && npm run clean:build",
|
|
62
|
+
"build": "npm run build-protobuf && npm run build:rust-client && npm run build:ts",
|
|
63
|
+
"build:release": "npm run prereq && npm run build-protobuf && npm run build:rust-client:release && npm run build:ts",
|
|
64
|
+
"build:benchmark": "npm run prereq && npm run build-protobuf && npm run build:rust-client:benchmark && npm run build:ts",
|
|
65
|
+
"build:rust-client": "cd rust-client && npm run build:dev",
|
|
66
|
+
"build:rust-client:release": "cd rust-client && npm run build:release",
|
|
67
|
+
"build:rust-client:benchmark": "cd rust-client && npm run build:benchmark",
|
|
68
|
+
"build:ts": "tsc",
|
|
69
|
+
"build:ts:release": "tsc --stripInternal",
|
|
70
|
+
"build-protobuf": "shx mkdir -p build-ts && pbjs -t static-module -w commonjs --no-verify --no-convert -o build-ts/ProtobufMessage.js ../glide-core/src/protobuf/*.proto && pbts -o build-ts/ProtobufMessage.d.ts build-ts/ProtobufMessage.js && replace \"this\\.encode\\(message, writer\\)\\.ldelim\" \"this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim\" build-ts/ProtobufMessage.js",
|
|
71
|
+
"test": "npm run build-test-utils && jest --verbose --testPathIgnorePatterns=ServerModules",
|
|
72
|
+
"test:debug": "npm run build-test-utils && jest --runInBand",
|
|
73
|
+
"test:minimum": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern=\"^(.(?!(GlideJson|GlideFt|pubsub|kill)))*$\"",
|
|
74
|
+
"test:modules": "npm run build-test-utils && jest --verbose --runInBand --testNamePattern=\"(GlideJson|GlideFt)\"",
|
|
75
|
+
"build-test-utils": "cd ../utils && npm i && npm run build",
|
|
76
|
+
"repl": "ts-node --project tsconfig.json",
|
|
77
|
+
"lint": "npm run install-linting && eslint -c ../eslint.config.mjs && npm run prettier:check",
|
|
78
|
+
"lint:fix": "npm run install-linting && eslint -c ../eslint.config.mjs --fix && npm run prettier:format",
|
|
79
|
+
"install-linting": "cd .. && npm install",
|
|
80
|
+
"prettier:check": "prettier --check . --ignore-unknown \"!**/*.{js,d.ts}\"",
|
|
81
|
+
"prettier:format": "prettier --write . --ignore-unknown \"!**/*.{js,d.ts}\"",
|
|
82
|
+
"staged": "lint-staged",
|
|
83
|
+
"prereq": "npm install",
|
|
84
|
+
"artifacts": "napi artifacts",
|
|
85
|
+
"docs": "npm run build && ./docs/build-docs"
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@jest/globals": "29",
|
|
89
|
+
"@types/jest": "29",
|
|
90
|
+
"@types/minimist": "1",
|
|
91
|
+
"@types/node": "24",
|
|
92
|
+
"@types/semver": "7",
|
|
93
|
+
"@types/uuid": "11",
|
|
94
|
+
"find-free-port": "2",
|
|
95
|
+
"lint-staged": "16",
|
|
96
|
+
"jest": "29",
|
|
97
|
+
"jest-html-reporter": "4",
|
|
98
|
+
"protobufjs-cli": "1",
|
|
99
|
+
"replace": "1",
|
|
100
|
+
"semver": "7",
|
|
101
|
+
"shx": "0.3",
|
|
102
|
+
"ts-jest": "29",
|
|
103
|
+
"ts-node": "10",
|
|
104
|
+
"typedoc": "0.28",
|
|
105
|
+
"typedoc-plugin-markdown": "4",
|
|
106
|
+
"typescript": "5",
|
|
107
|
+
"uuid": "13"
|
|
108
|
+
},
|
|
109
|
+
"lint-staged": {
|
|
110
|
+
"*.@(js|ts|tsx)": [
|
|
111
|
+
"npx eslint -c ../eslint.config.mjs --fix"
|
|
112
|
+
],
|
|
113
|
+
"*.@(js|ts|tsx|yml|yaml|md|json)": [
|
|
114
|
+
"prettier --write"
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
"publishConfig": {
|
|
118
|
+
"registry": "https://registry.npmjs.org/",
|
|
119
|
+
"access": "public"
|
|
120
|
+
},
|
|
121
|
+
"engines": {
|
|
122
|
+
"node": ">=20"
|
|
123
|
+
},
|
|
124
|
+
"napi": {
|
|
125
|
+
"binaryName": "speedkey",
|
|
126
|
+
"targets": [
|
|
127
|
+
"x86_64-apple-darwin",
|
|
128
|
+
"aarch64-apple-darwin",
|
|
129
|
+
"x86_64-unknown-linux-gnu",
|
|
130
|
+
"aarch64-unknown-linux-gnu",
|
|
131
|
+
"x86_64-unknown-linux-musl",
|
|
132
|
+
"aarch64-unknown-linux-musl",
|
|
133
|
+
"x86_64-pc-windows-msvc"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"optionalDependencies": {
|
|
137
|
+
"speedkey-darwin-arm64": "0.1.2",
|
|
138
|
+
"speedkey-darwin-x64": "0.1.2",
|
|
139
|
+
"speedkey-linux-arm64-gnu": "0.1.2",
|
|
140
|
+
"speedkey-linux-arm64-musl": "0.1.2",
|
|
141
|
+
"speedkey-linux-x64-gnu": "0.1.2",
|
|
142
|
+
"speedkey-linux-x64-musl": "0.1.2",
|
|
143
|
+
"speedkey-win32-x64-msvc": "0.1.2"
|
|
144
|
+
}
|
|
136
145
|
}
|