ai-speedometer 2.0.5 → 2.1.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/dist/ai-speedometer +11 -4
- package/package.json +5 -3
- package/scripts/shebang +6 -0
package/dist/ai-speedometer
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
#!/
|
|
1
|
+
#!/bin/sh -
|
|
2
|
+
':'; /*-
|
|
3
|
+
test1=$(bun --version 2>&1) && exec bun "$0" "$@"
|
|
4
|
+
test2=$(node --version 2>&1) && exec node "$0" "$@"
|
|
5
|
+
exec printf '%s\n' "$test1" "$test2" 1>&2
|
|
6
|
+
*/
|
|
2
7
|
// @bun
|
|
3
8
|
var __defProp = Object.defineProperty;
|
|
4
9
|
var __export = (target, all) => {
|
|
@@ -2149,14 +2154,15 @@ var package_default;
|
|
|
2149
2154
|
var init_package = __esm(() => {
|
|
2150
2155
|
package_default = {
|
|
2151
2156
|
name: "ai-speedometer",
|
|
2152
|
-
version: "2.0
|
|
2157
|
+
version: "2.1.0",
|
|
2153
2158
|
description: "A comprehensive CLI tool for benchmarking AI models across multiple providers with parallel execution and professional metrics",
|
|
2154
2159
|
bin: {
|
|
2155
2160
|
"ai-speedometer": "dist/ai-speedometer",
|
|
2156
2161
|
aispeed: "dist/ai-speedometer"
|
|
2157
2162
|
},
|
|
2158
2163
|
engines: {
|
|
2159
|
-
bun: ">=1.0.0"
|
|
2164
|
+
bun: ">=1.0.0",
|
|
2165
|
+
node: ">=18.0.0"
|
|
2160
2166
|
},
|
|
2161
2167
|
scripts: {
|
|
2162
2168
|
start: "bun src/index.ts",
|
|
@@ -2165,7 +2171,7 @@ var init_package = __esm(() => {
|
|
|
2165
2171
|
"test:watch": "bun test --watch",
|
|
2166
2172
|
"test:update": "bun test --update-snapshots",
|
|
2167
2173
|
typecheck: "bun tsc --noEmit",
|
|
2168
|
-
build: "bun build src/index.ts --outdir dist --target bun --external '@opentui/core' --external '@opentui/react' --external 'react' --external 'react-reconciler' &&
|
|
2174
|
+
build: "bun build src/index.ts --outdir dist --target bun --external '@opentui/core' --external '@opentui/react' --external 'react' --external 'react-reconciler' && cat scripts/shebang dist/index.js > dist/ai-speedometer && chmod +x dist/ai-speedometer && rm dist/index.js",
|
|
2169
2175
|
prepublishOnly: "bun run build"
|
|
2170
2176
|
},
|
|
2171
2177
|
keywords: [
|
|
@@ -2196,6 +2202,7 @@ var init_package = __esm(() => {
|
|
|
2196
2202
|
files: [
|
|
2197
2203
|
"dist/",
|
|
2198
2204
|
"docs/",
|
|
2205
|
+
"scripts/",
|
|
2199
2206
|
"README.md",
|
|
2200
2207
|
"ai-benchmark-config.json.template"
|
|
2201
2208
|
],
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-speedometer",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "A comprehensive CLI tool for benchmarking AI models across multiple providers with parallel execution and professional metrics",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ai-speedometer": "dist/ai-speedometer",
|
|
7
7
|
"aispeed": "dist/ai-speedometer"
|
|
8
8
|
},
|
|
9
9
|
"engines": {
|
|
10
|
-
"bun": ">=1.0.0"
|
|
10
|
+
"bun": ">=1.0.0",
|
|
11
|
+
"node": ">=18.0.0"
|
|
11
12
|
},
|
|
12
13
|
"scripts": {
|
|
13
14
|
"start": "bun src/index.ts",
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"test:watch": "bun test --watch",
|
|
17
18
|
"test:update": "bun test --update-snapshots",
|
|
18
19
|
"typecheck": "bun tsc --noEmit",
|
|
19
|
-
"build": "bun build src/index.ts --outdir dist --target bun --external '@opentui/core' --external '@opentui/react' --external 'react' --external 'react-reconciler' &&
|
|
20
|
+
"build": "bun build src/index.ts --outdir dist --target bun --external '@opentui/core' --external '@opentui/react' --external 'react' --external 'react-reconciler' && cat scripts/shebang dist/index.js > dist/ai-speedometer && chmod +x dist/ai-speedometer && rm dist/index.js",
|
|
20
21
|
"prepublishOnly": "bun run build"
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"files": [
|
|
48
49
|
"dist/",
|
|
49
50
|
"docs/",
|
|
51
|
+
"scripts/",
|
|
50
52
|
"README.md",
|
|
51
53
|
"ai-benchmark-config.json.template"
|
|
52
54
|
],
|