cabloy 5.1.15 → 5.1.19

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.
Files changed (196) hide show
  1. package/{vona/.github/workflows/actions-cov-pg.yml → .github/workflows/vona-cov-pg.yml} +7 -9
  2. package/{vona/.github/workflows/project-test.yml → .github/workflows/vona-test-crud.yml} +12 -12
  3. package/{vona/.github/workflows/actions-test-mysql.yml → .github/workflows/vona-test-mysql.yml} +6 -3
  4. package/{vona/.github/workflows/actions-test-pg.yml → .github/workflows/vona-test-pg.yml} +6 -3
  5. package/{vona/.github/workflows/actions-test-sqlite3.yml → .github/workflows/vona-test-sqlite3.yml} +6 -3
  6. package/{vona/.github/workflows/actions-tsc.yml → .github/workflows/vona-tsc.yml} +6 -4
  7. package/.github/workflows/zova-ui.yml +39 -0
  8. package/.gitignore +0 -0
  9. package/CHANGELOG.md +8 -0
  10. package/LICENSE +0 -0
  11. package/package.json +26 -26
  12. package/scripts/init.ts +29 -6
  13. package/scripts/upgrade.ts +5 -5
  14. package/vona/README.md +0 -0
  15. package/vona/README.zh-CN.md +0 -0
  16. package/vona/docker-compose-original/docker-compose.original.yml +51 -0
  17. package/vona/env/.env.prod.docker +4 -1
  18. package/vona/packages-cli/cabloy-cli/LICENSE +0 -0
  19. package/vona/packages-cli/cabloy-cli/README.md +0 -0
  20. package/vona/packages-cli/cabloy-cli/package.json +1 -1
  21. package/vona/packages-cli/cabloy-cli/src/start.ts +7 -10
  22. package/vona/packages-cli/cabloy-cli/src/utils.ts +8 -0
  23. package/vona/packages-cli/cli/LICENSE +0 -0
  24. package/vona/packages-cli/cli/README.md +0 -0
  25. package/vona/packages-cli/cli/package.json +2 -1
  26. package/vona/packages-cli/cli/src/bin/vona.ts +15 -4
  27. package/vona/packages-cli/cli-set-api/LICENSE +0 -0
  28. package/vona/packages-cli/cli-set-api/README.md +0 -0
  29. package/vona/packages-cli/cli-set-api/cli/templates/create/module/boilerplate/_package.json +0 -0
  30. package/vona/packages-cli/cli-set-api/cli/templates/create/module/boilerplate/src/index.ts_ +0 -0
  31. package/vona/packages-cli/cli-set-api/cli/templates/create/suite/modules/.gitkeep +0 -0
  32. package/vona/packages-cli/cli-set-api/package.json +1 -1
  33. package/vona/packages-cli/cli-set-api/src/lib/bean/cli.bin.test.ts +10 -1
  34. package/vona/packages-utils/babel-plugin-vona-bean-module/README.md +0 -0
  35. package/vona/packages-utils/babel-plugin-vona-bean-module/package.json +0 -0
  36. package/vona/packages-utils/cascade-extend/LICENSE +0 -0
  37. package/vona/packages-utils/cascade-extend/README.md +0 -0
  38. package/vona/packages-utils/cascade-extend/package.json +0 -0
  39. package/vona/packages-utils/compose/README.md +0 -0
  40. package/vona/packages-utils/compose/package.json +0 -0
  41. package/vona/packages-utils/deps/README.md +0 -0
  42. package/vona/packages-utils/deps/package.json +0 -0
  43. package/vona/packages-utils/dotenv/README.md +0 -0
  44. package/vona/packages-utils/dotenv/package.json +0 -0
  45. package/vona/packages-utils/extend/README.md +0 -0
  46. package/vona/packages-utils/extend/package.json +0 -0
  47. package/vona/packages-utils/json5/README.md +0 -0
  48. package/vona/packages-utils/json5/package.json +0 -0
  49. package/vona/packages-utils/localeutil/README.md +0 -0
  50. package/vona/packages-utils/localeutil/package.json +0 -0
  51. package/vona/packages-utils/module-glob/README.md +0 -0
  52. package/vona/packages-utils/module-glob/package.json +0 -0
  53. package/vona/packages-utils/module-info-pro/README.md +0 -0
  54. package/vona/packages-utils/module-info-pro/package.json +0 -0
  55. package/vona/packages-utils/password-hash-salt/LICENSE +0 -0
  56. package/vona/packages-utils/password-hash-salt/README.md +0 -0
  57. package/vona/packages-utils/password-hash-salt/package.json +0 -0
  58. package/vona/packages-utils/process-helper/README.md +0 -0
  59. package/vona/packages-utils/process-helper/package.json +0 -0
  60. package/vona/packages-utils/socket/package.json +0 -0
  61. package/vona/packages-utils/table-identity/LICENSE +0 -0
  62. package/vona/packages-utils/table-identity/README.md +0 -0
  63. package/vona/packages-utils/table-identity/package.json +0 -0
  64. package/vona/packages-utils/utils/README.md +0 -0
  65. package/vona/packages-utils/utils/package.json +0 -0
  66. package/vona/packages-utils/zod-errors-custom/package.json +0 -0
  67. package/vona/packages-utils/zod-openapi/package.json +0 -0
  68. package/vona/packages-utils/zod-query/package.json +0 -0
  69. package/vona/packages-vona/vona/LICENSE +0 -0
  70. package/vona/packages-vona/vona/README.md +0 -0
  71. package/vona/packages-vona/vona/README.zh-CN.md +0 -0
  72. package/vona/packages-vona/vona/package.json +1 -1
  73. package/vona/packages-vona/vona-core/package.json +0 -0
  74. package/vona/packages-vona/vona-core/src/index.ts +0 -0
  75. package/vona/packages-vona/vona-core/src/lib/bean/resource/error/errorClass.ts +0 -0
  76. package/vona/packages-vona/vona-core/src/lib/bean/resource/error/errorInternal.ts +0 -0
  77. package/vona/packages-vona/vona-core/src/lib/core/context.ts +0 -0
  78. package/vona/packages-vona/vona-core/src/lib/core/meta.ts +0 -0
  79. package/vona/packages-vona/vona-core/src/lib/locale/zh-cn.ts +0 -0
  80. package/vona/packages-vona/vona-core/src/lib/module/config.ts +0 -0
  81. package/vona/packages-vona/vona-core/src/lib/module/constant.ts +0 -0
  82. package/vona/packages-vona/vona-core/src/lib/module/errors.ts +0 -0
  83. package/vona/packages-vona/vona-core/src/lib/module/loader.ts +0 -0
  84. package/vona/packages-vona/vona-core/src/lib/module/locales.ts +0 -0
  85. package/vona/packages-vona/vona-core/src/lib/module/module.ts +0 -0
  86. package/vona/packages-vona/vona-core/src/lib/utils/util.ts +0 -0
  87. package/vona/packages-vona/vona-mock/README.md +0 -0
  88. package/vona/packages-vona/vona-mock/package.json +0 -0
  89. package/vona/packages-vona/vona-shared/LICENSE +0 -0
  90. package/vona/packages-vona/vona-shared/package.json +0 -0
  91. package/vona/pnpm-lock.yaml +9 -0
  92. package/vona/scripts/release.sh +0 -0
  93. package/vona/src/suite-vendor/a-auth/modules/a-auth/src/lib/strategyMock.ts +0 -0
  94. package/vona/src/suite-vendor/a-cabloy/modules/a-status/package.json +0 -0
  95. package/vona/src/suite-vendor/a-cabloy/modules/a-status/src/model/status.ts +0 -0
  96. package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
  97. package/vona/src/suite-vendor/a-vona/modules/a-instance/package.json +0 -0
  98. package/vona/src/suite-vendor/a-vona/modules/a-instance/src/index.ts +0 -0
  99. package/vona/src/suite-vendor/a-vona/modules/a-version/package.json +0 -0
  100. package/vona/src/suite-vendor/a-vona/modules/a-version/src/config/errors.ts +0 -0
  101. package/vona/src/suite-vendor/a-vona/modules/a-version/src/config/locale/zh-cn.ts +0 -0
  102. package/vona/src/suite-vendor/a-vona/modules/a-version/src/index.ts +0 -0
  103. package/vona/src/suite-vendor/a-vona/modules/test-vona/package.json +1 -1
  104. package/vona/src/suite-vendor/a-vona/modules/test-vona/test/mail.test.ts +1 -1
  105. package/vona/src/suite-vendor/a-vona/package.json +1 -1
  106. package/zova/packages-cli/cli/LICENSE +0 -0
  107. package/zova/packages-cli/cli/README.md +0 -0
  108. package/zova/packages-cli/cli/package.json +3 -3
  109. package/zova/packages-cli/cli-set-front/LICENSE +0 -0
  110. package/zova/packages-cli/cli-set-front/README.md +0 -0
  111. package/zova/packages-cli/cli-set-front/cli/templates/create/module/boilerplate/_package.json +0 -0
  112. package/zova/packages-cli/cli-set-front/cli/templates/create/module/boilerplate/src/index.ts_ +0 -0
  113. package/zova/packages-cli/cli-set-front/cli/templates/create/suite/modules/.gitkeep +0 -0
  114. package/zova/packages-cli/cli-set-front/package.json +2 -2
  115. package/zova/packages-utils/babel-plugin-zova-bean-module/LICENSE +0 -0
  116. package/zova/packages-utils/babel-plugin-zova-bean-module/README.md +0 -0
  117. package/zova/packages-utils/babel-plugin-zova-bean-module/package.json +0 -0
  118. package/zova/packages-utils/babel-plugin-zova-bean-use/LICENSE +0 -0
  119. package/zova/packages-utils/babel-plugin-zova-bean-use/README.md +0 -0
  120. package/zova/packages-utils/babel-plugin-zova-bean-use/package.json +0 -0
  121. package/zova/packages-utils/babel-plugin-zova-behavior/LICENSE +0 -0
  122. package/zova/packages-utils/babel-plugin-zova-behavior/README.md +0 -0
  123. package/zova/packages-utils/babel-plugin-zova-behavior/package.json +0 -0
  124. package/zova/packages-utils/babel-plugin-zova-component/LICENSE +0 -0
  125. package/zova/packages-utils/babel-plugin-zova-component/README.md +0 -0
  126. package/zova/packages-utils/babel-plugin-zova-component/package.json +0 -0
  127. package/zova/packages-utils/logger/LICENSE +0 -0
  128. package/zova/packages-utils/logger/README.md +0 -0
  129. package/zova/packages-utils/logger/package.json +0 -0
  130. package/zova/packages-utils/mutate-on-copy/LICENSE +0 -0
  131. package/zova/packages-utils/mutate-on-copy/README.md +0 -0
  132. package/zova/packages-utils/mutate-on-copy/package.json +0 -0
  133. package/zova/packages-utils/quasar-app-extension-zova/LICENSE +0 -0
  134. package/zova/packages-utils/word-utils/LICENSE +0 -0
  135. package/zova/packages-utils/word-utils/README.md +0 -0
  136. package/zova/packages-utils/word-utils/package.json +0 -0
  137. package/zova/packages-utils/zova-jsx/LICENSE +0 -0
  138. package/zova/packages-utils/zova-jsx/package.json +0 -0
  139. package/zova/packages-utils/zova-openapi/LICENSE +0 -0
  140. package/zova/packages-utils/zova-openapi/package.json +0 -0
  141. package/zova/packages-utils/zova-vite/LICENSE +0 -0
  142. package/zova/packages-utils/zova-vite/README.md +0 -0
  143. package/zova/packages-utils/zova-vite/package.json +0 -0
  144. package/zova/packages-zova/zova/LICENSE +0 -0
  145. package/zova/packages-zova/zova/package.json +2 -2
  146. package/zova/packages-zova/zova-core/LICENSE +0 -0
  147. package/zova/packages-zova/zova-core/README.md +0 -0
  148. package/zova/packages-zova/zova-core/package.json +0 -0
  149. package/zova/packages-zova/zova-core/src/bean/resource/error/errorClass.ts +0 -0
  150. package/zova/packages-zova/zova-core/src/bean/resource/error/errorInternal.ts +0 -0
  151. package/zova/pnpm-lock.yaml +14 -14
  152. package/zova/scripts/release.sh +0 -0
  153. package/zova/src/suite/a-home/modules/home-index/package.json +0 -0
  154. package/zova/src/suite/a-home/modules/home-index/src/routes.ts +0 -0
  155. package/zova/src/suite-vendor/a-cabloy/LICENSE +0 -0
  156. package/zova/src/suite-vendor/a-cabloy/modules/rest-resource/LICENSE +0 -0
  157. package/zova/src/suite-vendor/a-zova/LICENSE +0 -0
  158. package/zova/src/suite-vendor/a-zova/modules/a-api/LICENSE +0 -0
  159. package/zova/src/suite-vendor/a-zova/modules/a-app/LICENSE +0 -0
  160. package/zova/src/suite-vendor/a-zova/modules/a-bean/LICENSE +0 -0
  161. package/zova/src/suite-vendor/a-zova/modules/a-behavior/LICENSE +0 -0
  162. package/zova/src/suite-vendor/a-zova/modules/a-behaviors/LICENSE +0 -0
  163. package/zova/src/suite-vendor/a-zova/modules/a-boundary/LICENSE +0 -0
  164. package/zova/src/suite-vendor/a-zova/modules/a-command/LICENSE +0 -0
  165. package/zova/src/suite-vendor/a-zova/modules/a-fetch/LICENSE +0 -0
  166. package/zova/src/suite-vendor/a-zova/modules/a-form/LICENSE +0 -0
  167. package/zova/src/suite-vendor/a-zova/modules/a-icon/LICENSE +0 -0
  168. package/zova/src/suite-vendor/a-zova/modules/a-interceptor/LICENSE +0 -0
  169. package/zova/src/suite-vendor/a-zova/modules/a-logger/LICENSE +0 -0
  170. package/zova/src/suite-vendor/a-zova/modules/a-meta/LICENSE +0 -0
  171. package/zova/src/suite-vendor/a-zova/modules/a-model/LICENSE +0 -0
  172. package/zova/src/suite-vendor/a-zova/modules/a-openapi/LICENSE +0 -0
  173. package/zova/src/suite-vendor/a-zova/modules/a-router/LICENSE +0 -0
  174. package/zova/src/suite-vendor/a-zova/modules/a-routerstack/LICENSE +0 -0
  175. package/zova/src/suite-vendor/a-zova/modules/a-routertabs/LICENSE +0 -0
  176. package/zova/src/suite-vendor/a-zova/modules/a-ssr/LICENSE +0 -0
  177. package/zova/src/suite-vendor/a-zova/modules/a-ssrhmr/LICENSE +0 -0
  178. package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/LICENSE +0 -0
  179. package/zova/src/suite-vendor/a-zova/modules/a-style/LICENSE +0 -0
  180. package/zova/src/suite-vendor/a-zova/modules/a-table/LICENSE +0 -0
  181. package/zova/src/suite-vendor/a-zova/modules/a-zod/LICENSE +0 -0
  182. package/zova/src/suite-vendor/a-zova/modules/a-zova/LICENSE +0 -0
  183. package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +2 -2
  184. package/zova/src/suite-vendor/a-zova/package.json +2 -2
  185. package/vona/.github/workflows/docs-deploy.yml +0 -70
  186. package/vona/.vscode/extensions.json +0 -4
  187. package/vona/.vscode/settings.json +0 -52
  188. package/vona/.vscode/vona.code-snippets +0 -207
  189. package/vona/docker-compose.original.yml +0 -88
  190. package/zova/.github/workflows/actions-dev.yml +0 -24
  191. package/zova/.github/workflows/actions-ui.yml +0 -45
  192. package/zova/.github/workflows/deploy.yml +0 -72
  193. package/zova/.vscode/extensions.json +0 -9
  194. package/zova/.vscode/settings.json +0 -44
  195. package/zova/.vscode/zova.code-snippets +0 -227
  196. /package/vona/{docker-compose-dockerfile-app → docker-compose-original/docker-compose-dockerfile-app} +0 -0
@@ -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,4 +0,0 @@
1
- {
2
- "recommendations": ["cabloy.vona-vscode", "oxc.oxc-vscode"],
3
- "unwantedRecommendations": []
4
- }
@@ -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 }}
@@ -1,72 +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
-
11
- # Allows you to run this workflow manually from the Actions tab
12
- workflow_dispatch:
13
-
14
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15
- permissions:
16
- contents: read
17
- pages: write
18
- id-token: write
19
-
20
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22
- concurrency:
23
- group: pages
24
- cancel-in-progress: false
25
-
26
- jobs:
27
- # Build job
28
- build:
29
- runs-on: ubuntu-latest
30
- steps:
31
- - name: Checkout
32
- uses: actions/checkout@v6
33
- with:
34
- fetch-depth: 0 # Not needed if lastUpdated is not enabled
35
- - uses: pnpm/action-setup@v5 # Uncomment this if you're using pnpm
36
- with:
37
- version: 10.19.0
38
- # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
39
- - name: Setup Node
40
- uses: actions/setup-node@v6
41
- with:
42
- node-version: 24
43
- cache: pnpm # or pnpm / yarn
44
- - name: Setup Pages
45
- uses: actions/configure-pages@v6
46
- - run: cp package.original.json package.json
47
- - run: npm run init
48
- - name: Install dependencies docs
49
- run: pnpm install --no-frozen-lockfile
50
- working-directory: packages-docs
51
- - name: Build with VitePress
52
- run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
53
- working-directory: packages-docs
54
- - name: Build with zova-demo
55
- run: npm run build:githubpages
56
- - name: Upload artifact
57
- uses: actions/upload-pages-artifact@v4
58
- with:
59
- path: packages-docs/.vitepress/dist
60
-
61
- # Deployment job
62
- deploy:
63
- environment:
64
- name: github-pages
65
- url: ${{ steps.deployment.outputs.page_url }}
66
- needs: build
67
- runs-on: ubuntu-latest
68
- name: Deploy
69
- steps:
70
- - name: Deploy to GitHub Pages
71
- id: deployment
72
- uses: actions/deploy-pages@v5
@@ -1,9 +0,0 @@
1
- {
2
- "recommendations": [
3
- "cabloy.zova-vscode",
4
- "oxc.oxc-vscode",
5
- "csstools.postcss",
6
- "bradlc.vscode-tailwindcss"
7
- ],
8
- "unwantedRecommendations": []
9
- }
@@ -1,44 +0,0 @@
1
- {
2
- "editor.bracketPairColorization.enabled": true,
3
- "editor.guides.bracketPairs": true,
4
- // tailwindCSS
5
- "tailwindCSS.experimental.classRegex": [
6
- ["classes\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
7
- ],
8
- // typescript
9
- "js/ts.tsserver.automaticTypeAcquisition.enabled": true,
10
- "js/ts.format.enabled": true,
11
- "js/ts.implementationsCodeLens.enabled": true,
12
- "js/ts.tsserver.useSyntaxServer": "auto",
13
- "js/ts.validate.enabled": true,
14
- "js/ts.suggest.autoImports": true,
15
- "js/ts.suggest.includeCompletionsForImportStatements": true,
16
- "js/ts.preferences.importModuleSpecifier": "shortest",
17
- "js/ts.preferences.importModuleSpecifierEnding": "js",
18
- "js/ts.preferences.includePackageJsonAutoImports": "on",
19
- // oxfmt
20
- "oxc.fmt.configPath": "oxfmt.config.ts",
21
- "editor.defaultFormatter": "oxc.oxc-vscode",
22
- "editor.formatOnSave": true,
23
- // oxlint
24
- "editor.codeActionsOnSave": {
25
- "source.fixAll.oxc": "always"
26
- },
27
- "[typescriptreact]": {
28
- "editor.defaultFormatter": "oxc.oxc-vscode"
29
- },
30
- "[typescript]": {
31
- "editor.defaultFormatter": "oxc.oxc-vscode"
32
- },
33
- // associations
34
- "files.associations": {
35
- "*.ejs": "html",
36
- "*.code-snippets": "text",
37
- "docker-compose-dockerfile-app": "dockerfile"
38
- },
39
- // watcher
40
- "files.watcherExclude": {
41
- "node_modules": true
42
- },
43
- "textlint.autoFixOnSave": true
44
- }