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.
Files changed (42) 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/package.json +5 -1
  9. package/scripts/init.ts +29 -6
  10. package/vona/docker-compose-original/docker-compose.original.yml +51 -0
  11. package/vona/env/.env.prod.docker +4 -1
  12. package/vona/packages-cli/cabloy-cli/package.json +1 -1
  13. package/vona/packages-cli/cabloy-cli/src/start.ts +7 -10
  14. package/vona/packages-cli/cabloy-cli/src/utils.ts +8 -0
  15. package/vona/packages-cli/cli/package.json +2 -1
  16. package/vona/packages-cli/cli/src/bin/vona.ts +15 -4
  17. package/vona/packages-cli/cli-set-api/package.json +1 -1
  18. package/vona/packages-cli/cli-set-api/src/lib/bean/cli.bin.test.ts +10 -1
  19. package/vona/packages-vona/vona/package.json +1 -1
  20. package/vona/pnpm-lock.yaml +9 -0
  21. package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
  22. package/vona/src/suite-vendor/a-vona/modules/test-vona/package.json +1 -1
  23. package/vona/src/suite-vendor/a-vona/modules/test-vona/test/mail.test.ts +1 -1
  24. package/vona/src/suite-vendor/a-vona/package.json +1 -1
  25. package/zova/packages-cli/cli/package.json +3 -3
  26. package/zova/packages-cli/cli-set-front/package.json +2 -2
  27. package/zova/packages-zova/zova/package.json +2 -2
  28. package/zova/pnpm-lock.yaml +14 -14
  29. package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +2 -2
  30. package/zova/src/suite-vendor/a-zova/package.json +2 -2
  31. package/vona/.github/workflows/docs-deploy.yml +0 -70
  32. package/vona/.vscode/extensions.json +0 -4
  33. package/vona/.vscode/settings.json +0 -52
  34. package/vona/.vscode/vona.code-snippets +0 -207
  35. package/vona/docker-compose.original.yml +0 -88
  36. package/zova/.github/workflows/actions-dev.yml +0 -24
  37. package/zova/.github/workflows/actions-ui.yml +0 -45
  38. package/zova/.github/workflows/deploy.yml +0 -72
  39. package/zova/.vscode/extensions.json +0 -9
  40. package/zova/.vscode/settings.json +0 -44
  41. package/zova/.vscode/zova.code-snippets +0 -227
  42. /package/vona/{docker-compose-dockerfile-app → docker-compose-original/docker-compose-dockerfile-app} +0 -0
@@ -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
- }
@@ -1,227 +0,0 @@
1
- /**
2
- * supported code snippets as follows:
3
- * __init__ __dispose__
4
- **/
5
- {
6
- "__init__": {
7
- "scope": "typescript,typescriptreact",
8
- "prefix": "init",
9
- "body": ["protected async __init__() {", " $0", "}"],
10
- "description": "__init__",
11
- },
12
- "__dispose__": {
13
- "scope": "typescript,typescriptreact",
14
- "prefix": "dispose",
15
- "body": ["protected __dispose__() {", " $0", "}"],
16
- "description": "__dispose__",
17
- },
18
- "aop.__init__": {
19
- "scope": "typescript,typescriptreact",
20
- "prefix": "aopinit",
21
- "body": [
22
- "protected __init__: AopActionInit<ClassSome> = async (_args, next, _receiver) => {",
23
- " await next();",
24
- " $0",
25
- "}"
26
- ],
27
- "description": "aop.__init__"
28
- },
29
- "aop.__dispose__": {
30
- "scope": "typescript,typescriptreact",
31
- "prefix": "aopdispose",
32
- "body": [
33
- "protected __dispose__: AopActionDispose<ClassSome> = (_args, next, _receiver) => {",
34
- " $0",
35
- " next();",
36
- "}"
37
- ],
38
- "description": "aop.__dispose__"
39
- },
40
- "aop.__get__": {
41
- "scope": "typescript,typescriptreact",
42
- "prefix": "aopget",
43
- "body": [
44
- "protected __get__: AopActionGet<ClassSome> = (_prop, next, _receiver) => {",
45
- " const value = next();",
46
- " return value;",
47
- "}"
48
- ],
49
- "description": "aop.__get__"
50
- },
51
- "aop.__set__": {
52
- "scope": "typescript,typescriptreact",
53
- "prefix": "aopset",
54
- "body": [
55
- "protected __set__: AopActionSet<ClassSome> = (_prop, value, next, _receiver) => {",
56
- " return next(value);",
57
- "}"
58
- ],
59
- "description": "aop.__set__"
60
- },
61
- "aop.__method__": {
62
- "scope": "typescript,typescriptreact",
63
- "prefix": "aopmethod",
64
- "body": [
65
- "protected __method__: AopActionMethod<ClassSome> = (_method, _args, next, _receiver) => {",
66
- " $0",
67
- " return next();",
68
- "}"
69
- ],
70
- "description": "aop.__method__"
71
- },
72
- "aop.getter": {
73
- "scope": "typescript,typescriptreact",
74
- "prefix": "aopgetter",
75
- "body": [
76
- "protected __get_xxx__: AopActionGetter<ClassSome, 'xxx'> = function (next, _receiver) {",
77
- " const value = next();",
78
- " return value;",
79
- "}"
80
- ],
81
- "description": "aop.getter"
82
- },
83
- "aop.setter": {
84
- "scope": "typescript,typescriptreact",
85
- "prefix": "aopsetter",
86
- "body": [
87
- "protected __set_xxx__: AopActionSetter<ClassSome, 'xxx'> = function (value, next, _receiver) {",
88
- " return next(value);",
89
- "}"
90
- ],
91
- "description": "aop.setter"
92
- },
93
- "aop.action": {
94
- "scope": "typescript,typescriptreact",
95
- "prefix": "aopaction",
96
- "body": [
97
- "action: AopAction<ClassSome, 'action'> = async (_args, next, _receiver) => {",
98
- " $0",
99
- " return await next();",
100
- "}"
101
- ],
102
- "description": "aop.action"
103
- },
104
- "aop.actionsync": {
105
- "scope": "typescript,typescriptreact",
106
- "prefix": "aopactionsync",
107
- "body": [
108
- "action: AopAction<ClassSome, 'action'> = (_args, next, _receiver) => {",
109
- " $0",
110
- " return next();",
111
- "}"
112
- ],
113
- "description": "aop.actionsync"
114
- },
115
- "aop.actionrender": {
116
- "scope": "typescript,typescriptreact",
117
- "prefix": "aopactionrender",
118
- "body": [
119
- "protected render: AopActionRender<ClassSome> = (_args, next, _receiver) => {",
120
- " const result = next();",
121
- " return result;",
122
- "}"
123
- ],
124
- "description": "aop.actionrender"
125
- },
126
- "aopmethod.get": {
127
- "scope": "typescript,typescriptreact",
128
- "prefix": "aopmethodget",
129
- "body": [
130
- "get(_options: IDecoratorAopMethodOptions, next: NextSync, _receiver: any, _prop: string) {",
131
- " return next();",
132
- "}"
133
- ],
134
- "description": "aopmethod.get"
135
- },
136
- "aopmethod.set": {
137
- "scope": "typescript,typescriptreact",
138
- "prefix": "aopmethodset",
139
- "body": [
140
- "set(_options: IDecoratorAopMethodOptions, value: any, next: NextSync, _receiver: any, _prop: string): boolean {",
141
- " return next(value);",
142
- "}"
143
- ],
144
- "description": "aopmethod.set"
145
- },
146
- "aopmagic.get": {
147
- "scope": "typescript,typescriptreact",
148
- "prefix": "aopmagicget",
149
- "body": [
150
- "protected __get__(prop: string) {",
151
- " $0",
152
- "}"
153
- ],
154
- "description": "aopmagic.get"
155
- },
156
- "aopmagic.set": {
157
- "scope": "typescript,typescriptreact",
158
- "prefix": "aopmagicset",
159
- "body": [
160
- "protected __set__(prop: string, value: any): boolean {",
161
- " $0",
162
- " return false;",
163
- "}"
164
- ],
165
- "description": "aopmagic.set"
166
- },
167
- "record.flavor": {
168
- "scope": "typescript,typescriptreact",
169
- "prefix": "recordflavor",
170
- "body": [
171
- "declare module '@cabloy/module-info' {",
172
- " export interface ZovaMetaFlavorExtend {",
173
- " $0: never;",
174
- " }",
175
- "}"
176
- ],
177
- "description": "record.flavor"
178
- },
179
- "record.appmode": {
180
- "scope": "typescript,typescriptreact",
181
- "prefix": "recordappmode",
182
- "body": [
183
- "declare module '@cabloy/module-info' {",
184
- " export interface ZovaMetaAppModeExtend {",
185
- " $0: never;",
186
- " }",
187
- "}"
188
- ],
189
- "description": "record.appmode"
190
- },
191
- "record.loggerclient": {
192
- "scope": "typescript,typescriptreact",
193
- "prefix": "recordloggerclient",
194
- "body": [
195
- "declare module 'zova' {",
196
- " export interface ILoggerClientRecord {",
197
- " $0: never;",
198
- " }",
199
- "}"
200
- ],
201
- "description": "record.loggerclient"
202
- },
203
- "record.loggerchild": {
204
- "scope": "typescript,typescriptreact",
205
- "prefix": "recordloggerchild",
206
- "body": [
207
- "declare module 'zova' {",
208
- " export interface ILoggerChildRecord {",
209
- " $0: never;",
210
- " }",
211
- "}"
212
- ],
213
- "description": "record.loggerchild"
214
- },
215
- "record.locale": {
216
- "scope": "typescript,typescriptreact",
217
- "prefix": "recordlocale",
218
- "body": [
219
- "declare module 'zova' {",
220
- " export interface ILocaleRecord {",
221
- " $0: never;",
222
- " }",
223
- "}"
224
- ],
225
- "description": "record.locale"
226
- },
227
- }