@lovrabet/rabetbase-cli 2.0.7 → 2.0.9
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/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/doc.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/add.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/remote.js +1 -1
- package/lib/commands/app/remove.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app/use.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/new.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/links.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init/index.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/update.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/non-interactive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/init.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -0
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/save.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -0
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -0
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -0
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/copy-directory.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/rules-cdn.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/package.json +7 -4
package/lib/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4bea68,_0x23cc1){var _0x1fa492=a137_0x2679,_0x166ed0=_0x4bea68();while(!![]){try{var _0xb14a70=parseInt(_0x1fa492(0x15d))/0x1*(-parseInt(_0x1fa492(0x161))/0x2)+-parseInt(_0x1fa492(0x15c))/0x3+parseInt(_0x1fa492(0x162))/0x4*(parseInt(_0x1fa492(0x15e))/0x5)+-parseInt(_0x1fa492(0x158))/0x6+-parseInt(_0x1fa492(0x160))/0x7*(parseInt(_0x1fa492(0x159))/0x8)+parseInt(_0x1fa492(0x15b))/0x9*(parseInt(_0x1fa492(0x15f))/0xa)+parseInt(_0x1fa492(0x15a))/0xb;if(_0xb14a70===_0x23cc1)break;else _0x166ed0['push'](_0x166ed0['shift']());}catch(_0x595879){_0x166ed0['push'](_0x166ed0['shift']());}}}(a137_0x17b4,0xb587b));function a137_0x17b4(){var _0x564fbf=['3418096bJihDc','69936uKDEyp','768432kvSMFU','18866144PqFFYp','9620307CeNnUv','431580YTvjmu','1394732kJTKbZ','5TGxIkx','10hMWDzI','98uOlZHS','2nLlCTA'];a137_0x17b4=function(){return _0x564fbf;};return a137_0x17b4();}import{VERSION}from'../generated/build-info.js';function a137_0x2679(_0xd703a2,_0x4d3c85){_0xd703a2=_0xd703a2-0x158;var _0x17b4bf=a137_0x17b4();var _0x267983=_0x17b4bf[_0xd703a2];return _0x267983;}export function getCliVersion(){return VERSION;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a138_0x3517(){var _0xe55649=['431248GTVmRD','5582bChgDR','5131504dDnNHQ','2678480KNiEOA','126dcBGiw','3454158gyPRWQ','3mPUtGs','421rAGSmG','7HKCrdA','3192BfedEO','2883740EiKSgN','15037amTxxF'];a138_0x3517=function(){return _0xe55649;};return a138_0x3517();}(function(_0x3fd770,_0x122c64){var _0x3355df=a138_0x14c3,_0x10355b=_0x3fd770();while(!![]){try{var _0xea5d2a=parseInt(_0x3355df(0x177))/0x1*(-parseInt(_0x3355df(0x17d))/0x2)+-parseInt(_0x3355df(0x176))/0x3*(-parseInt(_0x3355df(0x17e))/0x4)+parseInt(_0x3355df(0x17a))/0x5+-parseInt(_0x3355df(0x175))/0x6*(parseInt(_0x3355df(0x178))/0x7)+parseInt(_0x3355df(0x17c))/0x8*(parseInt(_0x3355df(0x180))/0x9)+parseInt(_0x3355df(0x17f))/0xa+parseInt(_0x3355df(0x17b))/0xb*(-parseInt(_0x3355df(0x179))/0xc);if(_0xea5d2a===_0x122c64)break;else _0x10355b['push'](_0x10355b['shift']());}catch(_0x41c819){_0x10355b['push'](_0x10355b['shift']());}}}(a138_0x3517,0xbb756));function a138_0x14c3(_0xf1d0e5,_0x52a84f){_0xf1d0e5=_0xf1d0e5-0x175;var _0x35173a=a138_0x3517();var _0x14c34e=_0x35173a[_0xf1d0e5];return _0x14c34e;}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x54469d,_0x3d8743){setActiveCookie(_0x54469d);try{return await _0x3d8743();}finally{clearActiveCookie();}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lovrabet/rabetbase-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"prebuild": "node scripts/generate-build-info.js",
|
|
20
|
-
"build": "rm -rf lib && tsc && javascript-obfuscator lib --output lib",
|
|
20
|
+
"build": "rm -rf lib && tsc && tsc-alias && javascript-obfuscator lib --output lib",
|
|
21
21
|
"prebuild:dev": "node scripts/generate-build-info.js",
|
|
22
|
-
"build:dev": "rm -rf lib && tsc",
|
|
22
|
+
"build:dev": "rm -rf lib && tsc && tsc-alias",
|
|
23
23
|
"start": "tsc --watch",
|
|
24
24
|
"sync-template": "node scripts/sync-template.js",
|
|
25
25
|
"beta-release": "sh scripts/update-beta-version.sh && bun run build && git push && git push origin --tag && bun publish --tag beta",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"test:ui": "vitest --ui",
|
|
31
31
|
"test:watch": "vitest --watch",
|
|
32
32
|
"test:unit": "vitest run test/unit",
|
|
33
|
+
"test:app": "vitest run test/unit/commands/app-shared.test.ts test/unit/commands/app-add.test.ts test/unit/commands/app-remove.test.ts test/unit/commands/app-use.test.ts test/unit/commands/app-list.test.ts test/unit/commands/app-remote.test.ts",
|
|
33
34
|
"test:integration": "vitest run test/integration",
|
|
34
35
|
"test:e2e": "vitest run test/e2e",
|
|
35
36
|
"test:e2e:daily": "RABETBASE_E2E_DAILY=1 vitest run test/e2e/daily-app-smoke.test.ts",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"execa": "^9.6.0",
|
|
58
59
|
"listr": "^0.14.3",
|
|
59
60
|
"meow": "^13.2.0",
|
|
61
|
+
"node-jq": "^6.3.1",
|
|
60
62
|
"ora": "^9.3.0",
|
|
61
63
|
"prettier": "^3.6.2",
|
|
62
64
|
"semver": "^7.7.3",
|
|
@@ -70,7 +72,8 @@
|
|
|
70
72
|
"@vitest/ui": "^3.2.4",
|
|
71
73
|
"c8": "^10.1.3",
|
|
72
74
|
"javascript-obfuscator": "^5.4.1",
|
|
75
|
+
"tsc-alias": "^1.8.10",
|
|
73
76
|
"typescript": "latest",
|
|
74
77
|
"vitest": "^3.2.4"
|
|
75
78
|
}
|
|
76
|
-
}
|
|
79
|
+
}
|