cabloy 5.1.16 → 5.1.20
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/{vona/.github/workflows/actions-cov-pg.yml → .github/workflows/vona-cov-pg.yml} +7 -9
- package/{vona/.github/workflows/project-test.yml → .github/workflows/vona-test-crud.yml} +12 -12
- package/{vona/.github/workflows/actions-test-mysql.yml → .github/workflows/vona-test-mysql.yml} +6 -3
- package/{vona/.github/workflows/actions-test-pg.yml → .github/workflows/vona-test-pg.yml} +6 -3
- package/{vona/.github/workflows/actions-test-sqlite3.yml → .github/workflows/vona-test-sqlite3.yml} +6 -3
- package/{vona/.github/workflows/actions-tsc.yml → .github/workflows/vona-tsc.yml} +6 -4
- package/.github/workflows/zova-ui.yml +39 -0
- package/package.json +5 -1
- package/scripts/init.ts +29 -6
- package/vona/docker-compose-original/docker-compose.original.yml +51 -0
- package/vona/env/.env.prod.docker +4 -1
- package/vona/packages-cli/cabloy-cli/package.json +1 -1
- package/vona/packages-cli/cabloy-cli/src/start.ts +7 -10
- package/vona/packages-cli/cabloy-cli/src/utils.ts +8 -0
- package/vona/packages-cli/cli/package.json +2 -1
- package/vona/packages-cli/cli/src/bin/vona.ts +15 -4
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/bean/cli.bin.test.ts +10 -1
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/pnpm-lock.yaml +9 -0
- package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/test-vona/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/test-vona/test/mail.test.ts +1 -1
- package/vona/src/suite-vendor/a-vona/package.json +1 -1
- package/zova/packages-cli/cli/package.json +3 -3
- package/zova/packages-cli/cli-set-front/package.json +2 -2
- package/zova/packages-zova/zova/package.json +2 -2
- package/zova/pnpm-lock.yaml +14 -14
- package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/package.json +2 -2
- package/vona/.github/workflows/docs-deploy.yml +0 -70
- package/vona/.vscode/extensions.json +0 -4
- package/vona/.vscode/settings.json +0 -52
- package/vona/.vscode/vona.code-snippets +0 -207
- package/vona/docker-compose.original.yml +0 -88
- package/zova/.github/workflows/actions-dev.yml +0 -24
- package/zova/.github/workflows/actions-ui.yml +0 -45
- package/zova/.github/workflows/deploy.yml +0 -72
- package/zova/.vscode/extensions.json +0 -9
- package/zova/.vscode/settings.json +0 -44
- package/zova/.vscode/zova.code-snippets +0 -227
- /package/vona/{docker-compose-dockerfile-app → docker-compose-original/docker-compose-dockerfile-app} +0 -0
package/zova/pnpm-lock.yaml
CHANGED
|
@@ -291,8 +291,8 @@ importers:
|
|
|
291
291
|
version: link:src/suite-vendor/a-cabloy/modules/rest-resource
|
|
292
292
|
devDependencies:
|
|
293
293
|
'@cabloy/cli':
|
|
294
|
-
specifier: ^3.1.
|
|
295
|
-
version: 3.1.
|
|
294
|
+
specifier: ^3.1.14
|
|
295
|
+
version: 3.1.14(vue@3.5.34(typescript@5.9.3))
|
|
296
296
|
'@cabloy/lint':
|
|
297
297
|
specifier: ^5.1.21
|
|
298
298
|
version: 5.1.21(@typescript-eslint/eslint-plugin@8.59.3(@typescript-eslint/parser@8.59.3(eslint@10.4.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.4.0(jiti@2.7.0))(typescript@5.9.3))(@typescript-eslint/rule-tester@8.59.3(eslint@10.4.0(jiti@2.7.0))(typescript@5.9.3))(@typescript-eslint/typescript-estree@8.59.3(typescript@5.9.3))(@typescript-eslint/utils@8.59.3(eslint@10.4.0(jiti@2.7.0))(typescript@5.9.3))(eslint@10.4.0(jiti@2.7.0))(oxfmt@0.45.0)(oxlint@1.65.0)(typescript@5.9.3)(vue-eslint-parser@10.4.0(eslint@10.4.0(jiti@2.7.0)))
|
|
@@ -369,8 +369,8 @@ importers:
|
|
|
369
369
|
packages-cli/cli:
|
|
370
370
|
dependencies:
|
|
371
371
|
'@cabloy/cli':
|
|
372
|
-
specifier: ^3.1.
|
|
373
|
-
version: 3.1.
|
|
372
|
+
specifier: ^3.1.14
|
|
373
|
+
version: 3.1.14(vue@3.5.34(typescript@5.9.3))
|
|
374
374
|
'@cabloy/process-helper':
|
|
375
375
|
specifier: ^3.0.0
|
|
376
376
|
version: 3.1.5
|
|
@@ -381,7 +381,7 @@ importers:
|
|
|
381
381
|
specifier: ^7.6.2
|
|
382
382
|
version: 7.8.0
|
|
383
383
|
zova-cli-set-front:
|
|
384
|
-
specifier: ^1.2.
|
|
384
|
+
specifier: ^1.2.68
|
|
385
385
|
version: link:../cli-set-front
|
|
386
386
|
devDependencies:
|
|
387
387
|
clean-package:
|
|
@@ -403,8 +403,8 @@ importers:
|
|
|
403
403
|
specifier: ^7.28.6
|
|
404
404
|
version: 7.28.6(@babel/core@7.29.0)
|
|
405
405
|
'@cabloy/cli':
|
|
406
|
-
specifier: ^3.1.
|
|
407
|
-
version: 3.1.
|
|
406
|
+
specifier: ^3.1.14
|
|
407
|
+
version: 3.1.14(vue@3.5.34(typescript@5.9.3))
|
|
408
408
|
'@cabloy/extend':
|
|
409
409
|
specifier: ^3.1.0
|
|
410
410
|
version: 3.2.5
|
|
@@ -839,7 +839,7 @@ importers:
|
|
|
839
839
|
specifier: ^5.1.42
|
|
840
840
|
version: link:../zova-core
|
|
841
841
|
zova-suite-a-zova:
|
|
842
|
-
specifier: ^5.1.
|
|
842
|
+
specifier: ^5.1.83
|
|
843
843
|
version: link:../../src/suite-vendor/a-zova
|
|
844
844
|
devDependencies:
|
|
845
845
|
clean-package:
|
|
@@ -1033,7 +1033,7 @@ importers:
|
|
|
1033
1033
|
specifier: ^5.1.23
|
|
1034
1034
|
version: link:modules/a-zod
|
|
1035
1035
|
zova-module-a-zova:
|
|
1036
|
-
specifier: ^5.1.
|
|
1036
|
+
specifier: ^5.1.54
|
|
1037
1037
|
version: link:modules/a-zova
|
|
1038
1038
|
|
|
1039
1039
|
src/suite-vendor/a-zova/modules/a-api:
|
|
@@ -1376,8 +1376,8 @@ importers:
|
|
|
1376
1376
|
version: link:../../../../../packages-utils/zova-jsx
|
|
1377
1377
|
devDependencies:
|
|
1378
1378
|
'@cabloy/cli':
|
|
1379
|
-
specifier: ^3.1.
|
|
1380
|
-
version: 3.1.
|
|
1379
|
+
specifier: ^3.1.14
|
|
1380
|
+
version: 3.1.14(vue@3.5.34(typescript@5.9.3))
|
|
1381
1381
|
'@types/luxon':
|
|
1382
1382
|
specifier: ^3.7.1
|
|
1383
1383
|
version: 3.7.1
|
|
@@ -1981,8 +1981,8 @@ packages:
|
|
|
1981
1981
|
'@bufbuild/protobuf@2.12.0':
|
|
1982
1982
|
resolution: {integrity: sha512-B/XlCaFIP8LOwzo+bz5uFzATYokcwCKQcghqnlfwSmM5eX/qTkvDBnDPs+gXtX/RyjxJ4DRikECcPJbyALA8FA==}
|
|
1983
1983
|
|
|
1984
|
-
'@cabloy/cli@3.1.
|
|
1985
|
-
resolution: {integrity: sha512-
|
|
1984
|
+
'@cabloy/cli@3.1.14':
|
|
1985
|
+
resolution: {integrity: sha512-Mxp4wHw9WL//Iw0TzQ81M1K6wMp34a2RS6PSbusWODuXUND+Sg21Ot6mZQE/zQiGboDTCaReGO0cpp60MBFDxw==}
|
|
1986
1986
|
|
|
1987
1987
|
'@cabloy/compose@2.1.5':
|
|
1988
1988
|
resolution: {integrity: sha512-fp2DGeZYzIuAw8BYMbYPB60T03Uo6ND/x++VLQKnDEllk6TCkRgoBFnM7D8n57Lwme7RgcvP13JLyujiBBTj2g==}
|
|
@@ -10331,7 +10331,7 @@ snapshots:
|
|
|
10331
10331
|
|
|
10332
10332
|
'@bufbuild/protobuf@2.12.0': {}
|
|
10333
10333
|
|
|
10334
|
-
'@cabloy/cli@3.1.
|
|
10334
|
+
'@cabloy/cli@3.1.14(vue@3.5.34(typescript@5.9.3))':
|
|
10335
10335
|
dependencies:
|
|
10336
10336
|
'@babel/parser': 7.29.3
|
|
10337
10337
|
'@cabloy/module-glob': 5.3.10
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-module-a-zova",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.54",
|
|
4
4
|
"gitHead": "09d901d17140a80ee0764211b441cda72fd94663",
|
|
5
5
|
"description": "zova",
|
|
6
6
|
"keywords": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"zova-jsx": "^1.1.48"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@cabloy/cli": "^3.1.
|
|
49
|
+
"@cabloy/cli": "^3.1.14",
|
|
50
50
|
"@types/luxon": "^3.7.1",
|
|
51
51
|
"clean-package": "^2.2.0",
|
|
52
52
|
"fs-extra": "^11.3.5",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-suite-a-zova",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.83",
|
|
4
4
|
"gitHead": "09d901d17140a80ee0764211b441cda72fd94663",
|
|
5
5
|
"description": "zova",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"zova-module-a-style": "^5.1.25",
|
|
33
33
|
"zova-module-a-table": "^5.1.27",
|
|
34
34
|
"zova-module-a-zod": "^5.1.23",
|
|
35
|
-
"zova-module-a-zova": "^5.1.
|
|
35
|
+
"zova-module-a-zova": "^5.1.54"
|
|
36
36
|
},
|
|
37
37
|
"title": "a-zova"
|
|
38
38
|
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Sample workflow for building and deploying a VitePress site to GitHub Pages
|
|
2
|
-
#
|
|
3
|
-
name: Deploy VitePress site to Pages
|
|
4
|
-
|
|
5
|
-
on:
|
|
6
|
-
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
|
|
7
|
-
# using the `master` branch as the default branch.
|
|
8
|
-
push:
|
|
9
|
-
branches: ['main']
|
|
10
|
-
pull_request:
|
|
11
|
-
branches: ['main']
|
|
12
|
-
|
|
13
|
-
# Allows you to run this workflow manually from the Actions tab
|
|
14
|
-
workflow_dispatch:
|
|
15
|
-
|
|
16
|
-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
17
|
-
permissions:
|
|
18
|
-
contents: read
|
|
19
|
-
pages: write
|
|
20
|
-
id-token: write
|
|
21
|
-
|
|
22
|
-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
|
23
|
-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
|
24
|
-
concurrency:
|
|
25
|
-
group: pages
|
|
26
|
-
cancel-in-progress: false
|
|
27
|
-
|
|
28
|
-
jobs:
|
|
29
|
-
# Build job
|
|
30
|
-
build:
|
|
31
|
-
runs-on: ubuntu-latest
|
|
32
|
-
steps:
|
|
33
|
-
- name: Checkout
|
|
34
|
-
uses: actions/checkout@v6
|
|
35
|
-
with:
|
|
36
|
-
fetch-depth: 0 # Not needed if lastUpdated is not enabled
|
|
37
|
-
- uses: pnpm/action-setup@v5 # Uncomment this if you're using pnpm
|
|
38
|
-
with:
|
|
39
|
-
version: 10.19.0
|
|
40
|
-
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
|
|
41
|
-
- name: Setup Node
|
|
42
|
-
uses: actions/setup-node@v6
|
|
43
|
-
with:
|
|
44
|
-
node-version: 24
|
|
45
|
-
cache: pnpm # or pnpm / yarn
|
|
46
|
-
- name: Setup Pages
|
|
47
|
-
uses: actions/configure-pages@v6
|
|
48
|
-
- name: Install dependencies
|
|
49
|
-
run: pnpm install --no-frozen-lockfile
|
|
50
|
-
working-directory: packages-docs
|
|
51
|
-
- name: Build with VitePress
|
|
52
|
-
run: npm run docs:build
|
|
53
|
-
working-directory: packages-docs
|
|
54
|
-
- name: Upload artifact
|
|
55
|
-
uses: actions/upload-pages-artifact@v4
|
|
56
|
-
with:
|
|
57
|
-
path: packages-docs/.vitepress/dist
|
|
58
|
-
|
|
59
|
-
# Deployment job
|
|
60
|
-
deploy:
|
|
61
|
-
environment:
|
|
62
|
-
name: github-pages
|
|
63
|
-
url: ${{ steps.deployment.outputs.page_url }}
|
|
64
|
-
needs: build
|
|
65
|
-
runs-on: ubuntu-latest
|
|
66
|
-
name: Deploy
|
|
67
|
-
steps:
|
|
68
|
-
- name: Deploy to GitHub Pages
|
|
69
|
-
id: deployment
|
|
70
|
-
uses: actions/deploy-pages@v5
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"editor.bracketPairColorization.enabled": true,
|
|
3
|
-
"editor.guides.bracketPairs": true,
|
|
4
|
-
// typescript
|
|
5
|
-
// "js/ts.experimental.useTsgo": true,
|
|
6
|
-
"js/ts.tsserver.automaticTypeAcquisition.enabled": true,
|
|
7
|
-
"js/ts.format.enabled": true,
|
|
8
|
-
"js/ts.implementationsCodeLens.enabled": true,
|
|
9
|
-
"js/ts.tsserver.useSyntaxServer": "auto",
|
|
10
|
-
"js/ts.validate.enabled": true,
|
|
11
|
-
"js/ts.suggest.autoImports": true,
|
|
12
|
-
"js/ts.suggest.includeCompletionsForImportStatements": true,
|
|
13
|
-
"js/ts.preferences.importModuleSpecifier": "shortest",
|
|
14
|
-
"js/ts.preferences.importModuleSpecifierEnding": "js",
|
|
15
|
-
"js/ts.preferences.includePackageJsonAutoImports": "on",
|
|
16
|
-
// oxfmt
|
|
17
|
-
"oxc.fmt.configPath": "oxfmt.config.ts",
|
|
18
|
-
"editor.defaultFormatter": "oxc.oxc-vscode",
|
|
19
|
-
"editor.formatOnSave": true,
|
|
20
|
-
// oxlint
|
|
21
|
-
"editor.codeActionsOnSave": {
|
|
22
|
-
"source.fixAll.oxc": "always"
|
|
23
|
-
},
|
|
24
|
-
"[typescriptreact]": {
|
|
25
|
-
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
26
|
-
},
|
|
27
|
-
"[typescript]": {
|
|
28
|
-
"editor.defaultFormatter": "oxc.oxc-vscode"
|
|
29
|
-
},
|
|
30
|
-
// associations
|
|
31
|
-
"files.associations": {
|
|
32
|
-
"*.js.ejs": "javascript",
|
|
33
|
-
"*.css.ejs": "css",
|
|
34
|
-
"*.less.ejs": "less",
|
|
35
|
-
"*.code-snippets": "text",
|
|
36
|
-
"docker-compose-dockerfile-app": "dockerfile"
|
|
37
|
-
},
|
|
38
|
-
// search
|
|
39
|
-
"search.exclude": {
|
|
40
|
-
"/.vscode/**": true,
|
|
41
|
-
"/coverage/**": true,
|
|
42
|
-
"/docs/**": true,
|
|
43
|
-
"**/dist/**": true,
|
|
44
|
-
"/src/backend/app/**": true,
|
|
45
|
-
"/src/backend/logs/**": true,
|
|
46
|
-
"/src/backend/run/**": true,
|
|
47
|
-
"**/node_modules": true
|
|
48
|
-
},
|
|
49
|
-
"search.useIgnoreFiles": false,
|
|
50
|
-
"textlint.autoFixOnSave": true,
|
|
51
|
-
"hide-my-secrets.hideSecrets": false
|
|
52
|
-
}
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* supported code snippets as follows:
|
|
3
|
-
* __init__
|
|
4
|
-
**/
|
|
5
|
-
{
|
|
6
|
-
"__init__": {
|
|
7
|
-
"scope": "typescript,typescriptreact",
|
|
8
|
-
"prefix": "init",
|
|
9
|
-
"body": ["protected __init__() {", " $0", "}"],
|
|
10
|
-
"description": "__init__",
|
|
11
|
-
},
|
|
12
|
-
"__dispose__": {
|
|
13
|
-
"scope": "typescript,typescriptreact",
|
|
14
|
-
"prefix": "dispose",
|
|
15
|
-
"body": ["protected async __dispose__() {", " $0", "}"],
|
|
16
|
-
"description": "__dispose__",
|
|
17
|
-
},
|
|
18
|
-
"aop.__init__": {
|
|
19
|
-
"scope": "typescript,typescriptreact",
|
|
20
|
-
"prefix": "aopinit",
|
|
21
|
-
"body": ["protected __init__: AopActionInit<ClassSome> = (_args, next, _receiver) => {", " next();", " $0", "}"],
|
|
22
|
-
"description": "aop.__init__",
|
|
23
|
-
},
|
|
24
|
-
"aop.__dispose__": {
|
|
25
|
-
"scope": "typescript,typescriptreact",
|
|
26
|
-
"prefix": "aopdispose",
|
|
27
|
-
"body": ["protected __dispose__: AopActionDispose<ClassSome> = async (_args, next, _receiver) => {", " $0", " await next();", "}"],
|
|
28
|
-
"description": "aop.__dispose__",
|
|
29
|
-
},
|
|
30
|
-
"aop.__get__": {
|
|
31
|
-
"scope": "typescript,typescriptreact",
|
|
32
|
-
"prefix": "aopget",
|
|
33
|
-
"body": ["protected __get__: AopActionGet<ClassSome> = (_prop, next, _receiver) => {", " const value = next();", " return value;", "}"],
|
|
34
|
-
"description": "aop.__get__",
|
|
35
|
-
},
|
|
36
|
-
"aop.__set__": {
|
|
37
|
-
"scope": "typescript,typescriptreact",
|
|
38
|
-
"prefix": "aopset",
|
|
39
|
-
"body": ["protected __set__: AopActionSet<ClassSome> = (_prop, value, next, _receiver) => {", " return next(value);", "}"],
|
|
40
|
-
"description": "aop.__set__",
|
|
41
|
-
},
|
|
42
|
-
"aop.__method__": {
|
|
43
|
-
"scope": "typescript,typescriptreact",
|
|
44
|
-
"prefix": "aopmethod",
|
|
45
|
-
"body": ["protected __method__: AopActionMethod<ClassSome> = (_method, _args, next, _receiver) => {", " $0", " return next();", "}"],
|
|
46
|
-
"description": "aop.__method__",
|
|
47
|
-
},
|
|
48
|
-
"aop.getter": {
|
|
49
|
-
"scope": "typescript,typescriptreact",
|
|
50
|
-
"prefix": "aopgetter",
|
|
51
|
-
"body": [
|
|
52
|
-
"protected __get_xxx__: AopActionGetter<ClassSome, 'xxx'> = function (next, _receiver) {",
|
|
53
|
-
" const value = next();",
|
|
54
|
-
" return value;",
|
|
55
|
-
"}",
|
|
56
|
-
],
|
|
57
|
-
"description": "aop.getter",
|
|
58
|
-
},
|
|
59
|
-
"aop.setter": {
|
|
60
|
-
"scope": "typescript,typescriptreact",
|
|
61
|
-
"prefix": "aopsetter",
|
|
62
|
-
"body": ["protected __set_xxx__: AopActionSetter<ClassSome, 'xxx'> = function (value, next, _receiver) {", " return next(value);", "}"],
|
|
63
|
-
"description": "aop.setter",
|
|
64
|
-
},
|
|
65
|
-
"aop.action": {
|
|
66
|
-
"scope": "typescript,typescriptreact",
|
|
67
|
-
"prefix": "aopaction",
|
|
68
|
-
"body": ["action: AopAction<ClassSome, 'action'> = async (_args, next, _receiver) => {", " $0", " return await next();", "}"],
|
|
69
|
-
"description": "aop.action",
|
|
70
|
-
},
|
|
71
|
-
"aop.actionsync": {
|
|
72
|
-
"scope": "typescript,typescriptreact",
|
|
73
|
-
"prefix": "aopactionsync",
|
|
74
|
-
"body": ["action: AopAction<ClassSome, 'action'> = (_args, next, _receiver) => {", " $0", " return next();", "}"],
|
|
75
|
-
"description": "aop.actionsync",
|
|
76
|
-
},
|
|
77
|
-
"aopmethod.get": {
|
|
78
|
-
"scope": "typescript,typescriptreact",
|
|
79
|
-
"prefix": "aopmethodget",
|
|
80
|
-
"body": ["get(_options: IDecoratorAopMethodOptions, next: NextSync, _receiver: any, _prop: string) {", " return next();", "}"],
|
|
81
|
-
"description": "aopmethod.get",
|
|
82
|
-
},
|
|
83
|
-
"aopmethod.set": {
|
|
84
|
-
"scope": "typescript,typescriptreact",
|
|
85
|
-
"prefix": "aopmethodset",
|
|
86
|
-
"body": [
|
|
87
|
-
"set(_options: IDecoratorAopMethodOptions, value: any, next: NextSync, _receiver: any, _prop: string): boolean {",
|
|
88
|
-
" return next(value);",
|
|
89
|
-
"}",
|
|
90
|
-
],
|
|
91
|
-
"description": "aopmethod.set",
|
|
92
|
-
},
|
|
93
|
-
"aopmagic.get": {
|
|
94
|
-
"scope": "typescript,typescriptreact",
|
|
95
|
-
"prefix": "aopmagicget",
|
|
96
|
-
"body": ["protected __get__(prop: string) {", " $0", "}"],
|
|
97
|
-
"description": "aopmagic.get",
|
|
98
|
-
},
|
|
99
|
-
"aopmagic.set": {
|
|
100
|
-
"scope": "typescript,typescriptreact",
|
|
101
|
-
"prefix": "aopmagicset",
|
|
102
|
-
"body": ["protected __set__(prop: string, value: any): boolean {", " $0", " return false;", "}"],
|
|
103
|
-
"description": "aopmagic.set",
|
|
104
|
-
},
|
|
105
|
-
"record.flavor": {
|
|
106
|
-
"scope": "typescript,typescriptreact",
|
|
107
|
-
"prefix": "recordflavor",
|
|
108
|
-
"body": ["declare module '@cabloy/module-info' {", " export interface VonaMetaFlavorExtend {", " $0: never;", " }", "}"],
|
|
109
|
-
"description": "record.flavor",
|
|
110
|
-
},
|
|
111
|
-
"record.loggerclient": {
|
|
112
|
-
"scope": "typescript,typescriptreact",
|
|
113
|
-
"prefix": "recordloggerclient",
|
|
114
|
-
"body": ["declare module 'vona' {", " export interface ILoggerClientRecord {", " $0: never;", " }", "}"],
|
|
115
|
-
"description": "record.loggerclient",
|
|
116
|
-
},
|
|
117
|
-
"record.loggerchild": {
|
|
118
|
-
"scope": "typescript,typescriptreact",
|
|
119
|
-
"prefix": "recordloggerchild",
|
|
120
|
-
"body": ["declare module 'vona' {", " export interface ILoggerChildRecord {", " $0: never;", " }", "}"],
|
|
121
|
-
"description": "record.loggerchild",
|
|
122
|
-
},
|
|
123
|
-
"record.redisclient": {
|
|
124
|
-
"scope": "typescript,typescriptreact",
|
|
125
|
-
"prefix": "recordredisclient",
|
|
126
|
-
"body": ["declare module 'vona-module-a-redis' {", " export interface IRedisClientRecord {", " $0: never;", " }", "}"],
|
|
127
|
-
"description": "record.redisclient",
|
|
128
|
-
},
|
|
129
|
-
"record.databaseclient": {
|
|
130
|
-
"scope": "typescript,typescriptreact",
|
|
131
|
-
"prefix": "recorddatabaseclient",
|
|
132
|
-
"body": ["declare module 'vona-module-a-orm' {", " export interface IDatabaseClientRecord {", " $0: never;", " }", "}"],
|
|
133
|
-
"description": "record.databaseclient",
|
|
134
|
-
},
|
|
135
|
-
"record.username": {
|
|
136
|
-
"scope": "typescript,typescriptreact",
|
|
137
|
-
"prefix": "recordusername",
|
|
138
|
-
"body": ["declare module 'vona-module-a-user' {", " export interface IUserNameRecord {", " $0: never;", " }", "}"],
|
|
139
|
-
"description": "record.username",
|
|
140
|
-
},
|
|
141
|
-
"record.rolename": {
|
|
142
|
-
"scope": "typescript,typescriptreact",
|
|
143
|
-
"prefix": "recordrolename",
|
|
144
|
-
"body": ["declare module 'vona-module-a-user' {", " export interface IRoleNameRecord {", " $0: never;", " }", "}"],
|
|
145
|
-
"description": "record.rolename",
|
|
146
|
-
},
|
|
147
|
-
"record.instance": {
|
|
148
|
-
"scope": "typescript,typescriptreact",
|
|
149
|
-
"prefix": "recordinstance",
|
|
150
|
-
"body": ["declare module 'vona' {", " export interface IInstanceRecord {", " $0: never;", " }", "}"],
|
|
151
|
-
"description": "record.instance",
|
|
152
|
-
},
|
|
153
|
-
"record.host": {
|
|
154
|
-
"scope": "typescript,typescriptreact",
|
|
155
|
-
"prefix": "recordhost",
|
|
156
|
-
"body": ["declare module 'vona' {", " export interface IHostRecord {", " $0: never;", " }", "}"],
|
|
157
|
-
"description": "record.host",
|
|
158
|
-
},
|
|
159
|
-
"record.menuItemLink": {
|
|
160
|
-
"scope": "typescript,typescriptreact",
|
|
161
|
-
"prefix": "recordmenuItemLink",
|
|
162
|
-
"body": ["declare module 'vona-module-a-menu' {", " export interface IMenuItemLinkRecord {", " $0: never;", " }", "}"],
|
|
163
|
-
"description": "record.menuItemLink",
|
|
164
|
-
},
|
|
165
|
-
"record.authclient": {
|
|
166
|
-
"scope": "typescript,typescriptreact",
|
|
167
|
-
"prefix": "recordauthclient",
|
|
168
|
-
"body": ["declare module 'vona-module-x-x' {", " export interface IAuthProvider_xxx_ClientRecord {", " $0: never;", " }", "}"],
|
|
169
|
-
"description": "record.authclient",
|
|
170
|
-
},
|
|
171
|
-
"record.locale": {
|
|
172
|
-
"scope": "typescript,typescriptreact",
|
|
173
|
-
"prefix": "recordlocale",
|
|
174
|
-
"body": ["declare module 'vona' {", " export interface ILocaleRecord {", " $0: never;", " }", "}"],
|
|
175
|
-
"description": "record.locale",
|
|
176
|
-
},
|
|
177
|
-
"record.mailclient": {
|
|
178
|
-
"scope": "typescript,typescriptreact",
|
|
179
|
-
"prefix": "recordmailclient",
|
|
180
|
-
"body": ["declare module 'vona-module-a-mail' {", " export interface IMailClientRecord {", " $0: never;", " }", "}"],
|
|
181
|
-
"description": "record.mailclient",
|
|
182
|
-
},
|
|
183
|
-
"record.jwtclient": {
|
|
184
|
-
"scope": "typescript,typescriptreact",
|
|
185
|
-
"prefix": "recordjwtclient",
|
|
186
|
-
"body": ["declare module 'vona-module-a-jwt' {", " export interface IJwtClientRecord {", " $0: never;", " }", "}"],
|
|
187
|
-
"description": "record.jwtclient",
|
|
188
|
-
},
|
|
189
|
-
"record.socketnamespace": {
|
|
190
|
-
"scope": "typescript,typescriptreact",
|
|
191
|
-
"prefix": "recordsocketnamespace",
|
|
192
|
-
"body": ["declare module 'vona-module-a-socket' {", " export interface ISocketNamespaceRecord {", " $0: never;", " }", "}"],
|
|
193
|
-
"description": "record.socketnamespace",
|
|
194
|
-
},
|
|
195
|
-
"record.socketevent": {
|
|
196
|
-
"scope": "typescript,typescriptreact",
|
|
197
|
-
"prefix": "recordsocketevent",
|
|
198
|
-
"body": ["declare module 'vona-module-a-socket' {", " export interface ISocketEventRecord {", " $0: never;", " }", "}"],
|
|
199
|
-
"description": "record.socketevent",
|
|
200
|
-
},
|
|
201
|
-
"record.ssrsitepublicpath": {
|
|
202
|
-
"scope": "typescript,typescriptreact",
|
|
203
|
-
"prefix": "recordssrsitepublicpath",
|
|
204
|
-
"body": ["declare module 'vona-module-a-ssr' {", " export interface ISsrSitePublicPathRecord {", " $0: never;", " }", "}"],
|
|
205
|
-
"description": "record.ssrsitepublicpath",
|
|
206
|
-
},
|
|
207
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
version: '3.7'
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
app:
|
|
5
|
-
depends_on:
|
|
6
|
-
- pg
|
|
7
|
-
- mysql
|
|
8
|
-
- redis
|
|
9
|
-
build:
|
|
10
|
-
context: .
|
|
11
|
-
dockerfile: docker-compose-dockerfile-app
|
|
12
|
-
restart: always
|
|
13
|
-
ports:
|
|
14
|
-
- '7202:7102'
|
|
15
|
-
volumes:
|
|
16
|
-
- ./docker-compose/output/dist/docker:/opt/node/app/dist/docker
|
|
17
|
-
- ./docker-compose/output/app/.vona:/root/.vona
|
|
18
|
-
command:
|
|
19
|
-
[
|
|
20
|
-
./scripts/wait-for-it.sh,
|
|
21
|
-
'pg:5432',
|
|
22
|
-
'mysql:3306',
|
|
23
|
-
'redis:6379',
|
|
24
|
-
-s,
|
|
25
|
-
--,
|
|
26
|
-
./scripts/app-init.sh,
|
|
27
|
-
]
|
|
28
|
-
|
|
29
|
-
nginx:
|
|
30
|
-
image: nginx:latest
|
|
31
|
-
depends_on:
|
|
32
|
-
- app
|
|
33
|
-
restart: always
|
|
34
|
-
ports:
|
|
35
|
-
- '80:80'
|
|
36
|
-
volumes:
|
|
37
|
-
- ./docker-compose/output/app/.vona:/usr/share/nginx/app/.vona
|
|
38
|
-
- ./docker-compose/logs/nginx:/var/log/nginx
|
|
39
|
-
- ./docker-compose/config/nginx/conf.d:/etc/nginx/conf.d
|
|
40
|
-
|
|
41
|
-
pg:
|
|
42
|
-
image: postgres:17
|
|
43
|
-
restart: always
|
|
44
|
-
ports:
|
|
45
|
-
- '35432:5432'
|
|
46
|
-
# set shared memory limit when using docker compose
|
|
47
|
-
shm_size: 128mb
|
|
48
|
-
# or set shared memory limit when deploy via swarm stack
|
|
49
|
-
volumes:
|
|
50
|
-
- ./docker-compose/data/pg:/var/lib/postgresql/data
|
|
51
|
-
environment:
|
|
52
|
-
POSTGRES_DB: vona
|
|
53
|
-
POSTGRES_USER: postgres
|
|
54
|
-
POSTGRES_PASSWORD: '<placeholder>'
|
|
55
|
-
|
|
56
|
-
mysql:
|
|
57
|
-
image: mysql:8.1
|
|
58
|
-
command:
|
|
59
|
-
- --default-authentication-plugin=mysql_native_password
|
|
60
|
-
- --character-set-server=utf8mb4
|
|
61
|
-
- --collation-server=utf8mb4_general_ci
|
|
62
|
-
- --skip-host-cache
|
|
63
|
-
- --skip-name-resolve
|
|
64
|
-
- --slow_query_log=1
|
|
65
|
-
- --long_query_time=0.5
|
|
66
|
-
- --log-queries-not-using-indexes=1
|
|
67
|
-
- --lower_case_table_names=1
|
|
68
|
-
restart: always
|
|
69
|
-
ports:
|
|
70
|
-
- '33306:3306'
|
|
71
|
-
volumes:
|
|
72
|
-
- ./docker-compose/data/mysql:/var/lib/mysql
|
|
73
|
-
environment:
|
|
74
|
-
MYSQL_ROOT_PASSWORD: '<placeholder>'
|
|
75
|
-
MYSQL_DATABASE: vona
|
|
76
|
-
MYSQL_USER: web_user
|
|
77
|
-
MYSQL_PASSWORD: '<placeholder>'
|
|
78
|
-
security_opt:
|
|
79
|
-
- seccomp:unconfined
|
|
80
|
-
|
|
81
|
-
redis:
|
|
82
|
-
image: redis:latest
|
|
83
|
-
command: [redis-server, --appendonly, yes]
|
|
84
|
-
restart: always
|
|
85
|
-
ports:
|
|
86
|
-
- '36379:6379'
|
|
87
|
-
volumes:
|
|
88
|
-
- ./docker-compose/data/redis:/data
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
name: actions-dev
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
jobs:
|
|
7
|
-
unittest:
|
|
8
|
-
strategy:
|
|
9
|
-
fail-fast: false
|
|
10
|
-
matrix:
|
|
11
|
-
node-version: [24]
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v6
|
|
15
|
-
- uses: actions/setup-node@v6
|
|
16
|
-
with:
|
|
17
|
-
node-version: ${{ matrix.node-version }}
|
|
18
|
-
- uses: pnpm/action-setup@v5
|
|
19
|
-
with:
|
|
20
|
-
version: 10.19.0
|
|
21
|
-
- run: cp package.original.json package.json
|
|
22
|
-
- run: npm run init
|
|
23
|
-
- name: build
|
|
24
|
-
run: npm run build
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
name: actions-ui
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
jobs:
|
|
7
|
-
unittest:
|
|
8
|
-
strategy:
|
|
9
|
-
fail-fast: false
|
|
10
|
-
matrix:
|
|
11
|
-
node-version: [24]
|
|
12
|
-
project-template: ['empty', 'quasar', 'vuetify']
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v6
|
|
16
|
-
- uses: actions/setup-node@v6
|
|
17
|
-
with:
|
|
18
|
-
node-version: ${{ matrix.node-version }}
|
|
19
|
-
- uses: pnpm/action-setup@v5
|
|
20
|
-
with:
|
|
21
|
-
version: 10.19.0
|
|
22
|
-
- run: pnpm install --force --no-frozen-lockfile
|
|
23
|
-
- run: pnpm add -g zova-cli
|
|
24
|
-
- run: zova :create:project ${{ matrix.project-template }}-${{ matrix.node-version }} --template=${{ matrix.project-template }}
|
|
25
|
-
- name: pnpm install
|
|
26
|
-
run: pnpm install --force --no-frozen-lockfile
|
|
27
|
-
working-directory: ${{ matrix.project-template }}-${{ matrix.node-version }}
|
|
28
|
-
- name: suite
|
|
29
|
-
run: zova :create:suite test-demo
|
|
30
|
-
working-directory: ${{ matrix.project-template }}-${{ matrix.node-version }}
|
|
31
|
-
- name: module
|
|
32
|
-
run: zova :create:module test-demo --suite=test-demo --ci
|
|
33
|
-
working-directory: ${{ matrix.project-template }}-${{ matrix.node-version }}
|
|
34
|
-
- name: pnpm install --force
|
|
35
|
-
run: pnpm install --force --no-frozen-lockfile
|
|
36
|
-
working-directory: ${{ matrix.project-template }}-${{ matrix.node-version }}
|
|
37
|
-
- name: page
|
|
38
|
-
run: zova :create:page first --module=test-demo
|
|
39
|
-
working-directory: ${{ matrix.project-template }}-${{ matrix.node-version }}
|
|
40
|
-
- name: component
|
|
41
|
-
run: zova :create:component child --module=test-demo
|
|
42
|
-
working-directory: ${{ matrix.project-template }}-${{ matrix.node-version }}
|
|
43
|
-
- name: npm run build
|
|
44
|
-
run: npm run build
|
|
45
|
-
working-directory: ${{ matrix.project-template }}-${{ matrix.node-version }}
|