@ooneex/cli 1.23.0 → 1.23.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/dist/index.js +4 -4
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5178,7 +5178,7 @@ _oo_modules() {
|
|
|
5178
5178
|
_oo_route_names() {
|
|
5179
5179
|
local -a names
|
|
5180
5180
|
if [[ -d modules ]]; then
|
|
5181
|
-
names=(\${(@f)"$(command grep -rh 'name:' modules/*/src/controllers/*Controller.ts 2>/dev/null | sed -n 's/.*name: "\\([^"]*\\)".*/\\1/p' | sort -u)"})
|
|
5181
|
+
names=(\${(@f)"$(command grep -rh 'name:' modules/*/src/controllers/*Controller.ts 2>/dev/null | sed -n 's/.*name: "\\([^"]*\\.[^"]*\\)".*/\\1/p' | sort -u)"})
|
|
5182
5182
|
compadd -a names
|
|
5183
5183
|
fi
|
|
5184
5184
|
}
|
|
@@ -5360,7 +5360,7 @@ _ooneex_modules() {
|
|
|
5360
5360
|
_ooneex_route_names() {
|
|
5361
5361
|
local -a names
|
|
5362
5362
|
if [[ -d modules ]]; then
|
|
5363
|
-
names=(\${(@f)"$(command grep -rh 'name:' modules/*/src/controllers/*Controller.ts 2>/dev/null | sed -n 's/.*name: "\\([^"]*\\)".*/\\1/p' | sort -u)"})
|
|
5363
|
+
names=(\${(@f)"$(command grep -rh 'name:' modules/*/src/controllers/*Controller.ts 2>/dev/null | sed -n 's/.*name: "\\([^"]*\\.[^"]*\\)".*/\\1/p' | sort -u)"})
|
|
5364
5364
|
compadd -a names
|
|
5365
5365
|
fi
|
|
5366
5366
|
}
|
|
@@ -6055,7 +6055,7 @@ class MakeBenchmarkCommand {
|
|
|
6055
6055
|
benchmark.connections = 10;
|
|
6056
6056
|
benchmark.duration = 10;
|
|
6057
6057
|
const jsonContent = JSON.stringify(benchmark, null, 2);
|
|
6058
|
-
const benchmarkFileName = `${
|
|
6058
|
+
const benchmarkFileName = `${name}.bench.json`;
|
|
6059
6059
|
const filePath = join9(controllersDir, benchmarkFileName);
|
|
6060
6060
|
await Bun.write(filePath, `${jsonContent}
|
|
6061
6061
|
`);
|
|
@@ -22109,4 +22109,4 @@ SeedRunCommand = __legacyDecorateClassTS([
|
|
|
22109
22109
|
// src/index.ts
|
|
22110
22110
|
await run();
|
|
22111
22111
|
|
|
22112
|
-
//# debugId=
|
|
22112
|
+
//# debugId=D640C7F1FE3A516464756E2164756E21
|