cabloy 5.1.226 → 5.1.227
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/.cabloy-version +1 -1
- package/CHANGELOG.md +7 -0
- package/oxlint.config.ts +5 -1
- package/package.json +3 -3
- package/repo-docs/reference/repo-scripts.md +1 -1
- package/scripts/oxlintPlugins.ts +25 -0
- package/vona/oxlint.config.ts +5 -1
- package/vona/package.original.json +2 -2
- package/vona/packages-utils/lint/package.json +3 -3
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/pnpm-lock.yaml +254 -182
- package/vona/pnpm-workspace.yaml +0 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-rbac/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/package.json +2 -2
- package/vona/src/suite-vendor/a-vona/modules/a-orm/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/dto/dtoMutate.ts +38 -9
- package/vona/src/suite-vendor/a-vona/modules/a-orm/test/dtoMutate.types.test.ts +129 -0
- package/vona/src/suite-vendor/a-vona/modules/a-permission/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-web/cli/controller/metadata/generate.ts +72 -28
- package/vona/src/suite-vendor/a-vona/modules/a-web/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-web/test/controllerMetadataParser.test.ts +156 -0
- package/vona/src/suite-vendor/a-vona/package.json +1 -1
- package/zova/oxlint.config.ts +5 -1
- package/zova/package.original.json +2 -2
- package/zova/packages-cli/cli/package.json +2 -2
- package/zova/packages-cli/cli-set-front/package.json +2 -2
- package/zova/pnpm-lock.yaml +195 -65
package/.cabloy-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.1.
|
|
1
|
+
5.1.227
|
package/CHANGELOG.md
CHANGED
package/oxlint.config.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { oxcLintConfigVue } from '@cabloy/lint';
|
|
2
2
|
import { defineConfig } from 'oxlint';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
import { resolveOxlintPlugins } from './scripts/oxlintPlugins.ts';
|
|
5
|
+
|
|
6
|
+
const config = defineConfig(
|
|
5
7
|
oxcLintConfigVue({
|
|
6
8
|
ignorePatterns: [
|
|
7
9
|
// root original
|
|
@@ -69,3 +71,5 @@ export default defineConfig(
|
|
|
69
71
|
],
|
|
70
72
|
}),
|
|
71
73
|
);
|
|
74
|
+
|
|
75
|
+
export default resolveOxlintPlugins(config);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cabloy",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.227",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "A Node.js fullstack framework",
|
|
6
6
|
"keywords": [
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"lerna": "^10.0.0",
|
|
99
99
|
"lint-staged": "^17.0.5",
|
|
100
100
|
"minimist": "^1.2.8",
|
|
101
|
-
"oxfmt": "^0.
|
|
102
|
-
"oxlint": "^1.
|
|
101
|
+
"oxfmt": "^0.74.0",
|
|
102
|
+
"oxlint": "^1.89.0",
|
|
103
103
|
"tar": "^7.5.22",
|
|
104
104
|
"textlint": "^15.7.0",
|
|
105
105
|
"textlint-rule-en-no-mixed-period": "^3.0.2",
|
|
@@ -74,7 +74,7 @@ Root `npm run tsc` runs `tsc:zova`, then `tsc:vona`; these are the only root `ts
|
|
|
74
74
|
|
|
75
75
|
In both nested workspaces, `npm run tsc` delegates to `npm run tsc:native`. Native and legacy checks first run `npm run prerun`, then invoke the selected compiler with incremental caching disabled. Root workspace aliases delegate to these scripts too, so dependency and generated metadata preparation is not bypassed. Each workspace's `prerun` runs only its `:tools:deps` command; it does not call `tsc`, avoiding recursive script execution. Preparation may refresh generated metadata or dependency manifests and install changed dependencies, while the compiler step itself emits no declarations or build-info files.
|
|
76
76
|
|
|
77
|
-
Zova development and build entrypoints call `npm run prerun` before Quasar or REST emission to prepare dependencies and generated metadata without automatically running a typecheck. Run `npm run tsc`, `npm run tsc:native`, or `npm run tsc:legacy` explicitly inside the Zova workspace when source typechecking is needed. The former multi-project Vona CLI command `:bin:tsc` has been removed; use the project checking scripts instead. Module publication configurations and REST emitters are unchanged. Classic TypeScript remains installed for compiler-JavaScript-API consumers, including SWC configuration loading, Rollup integration, and OpenAPI generation; the
|
|
77
|
+
Zova development and build entrypoints call `npm run prerun` before Quasar or REST emission to prepare dependencies and generated metadata without automatically running a typecheck. Run `npm run tsc`, `npm run tsc:native`, or `npm run tsc:legacy` explicitly inside the Zova workspace when source typechecking is needed. The former multi-project Vona CLI command `:bin:tsc` has been removed; use the project checking scripts instead. Module publication configurations and REST emitters are unchanged. Classic TypeScript remains installed for compiler-JavaScript-API consumers, including SWC configuration loading, Rollup integration, and OpenAPI generation; the REST emitter retains the `@typescript/native-preview` dependency name as an npm alias for stable `typescript@7.0.2`, preserving its declaration plugin's compiler lookup.
|
|
78
78
|
|
|
79
79
|
The native alias is installed at the repository root, not in either nested workspace. Run `pnpm install` at the root after updating the checkout; a missing alias fails with an installation diagnostic rather than silently selecting the legacy compiler. Do not use a bare root `tsc`/`pnpm exec tsc` to choose a compiler, because both packages declare the same binary name.
|
|
80
80
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { OxlintConfig } from 'oxlint';
|
|
2
|
+
|
|
3
|
+
import { createRequire } from 'node:module';
|
|
4
|
+
|
|
5
|
+
const require = createRequire(import.meta.resolve('@cabloy/lint'));
|
|
6
|
+
|
|
7
|
+
// Nested configs must share plugin files to avoid duplicate plugin names in Oxlint.
|
|
8
|
+
export function resolveOxlintPlugins(config: OxlintConfig): OxlintConfig {
|
|
9
|
+
return {
|
|
10
|
+
...config,
|
|
11
|
+
jsPlugins: resolvePlugins(config.jsPlugins),
|
|
12
|
+
overrides: config.overrides?.map(override => ({
|
|
13
|
+
...override,
|
|
14
|
+
jsPlugins: resolvePlugins(override.jsPlugins),
|
|
15
|
+
})),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function resolvePlugins(plugins: OxlintConfig['jsPlugins']): OxlintConfig['jsPlugins'] {
|
|
20
|
+
return plugins?.map(plugin =>
|
|
21
|
+
typeof plugin === 'string'
|
|
22
|
+
? require.resolve(plugin)
|
|
23
|
+
: { ...plugin, specifier: require.resolve(plugin.specifier) },
|
|
24
|
+
);
|
|
25
|
+
}
|
package/vona/oxlint.config.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { oxcLintConfig } from '@cabloy/lint';
|
|
2
2
|
import { defineConfig } from 'oxlint';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
import { resolveOxlintPlugins } from '../scripts/oxlintPlugins.ts';
|
|
5
|
+
|
|
6
|
+
const config = defineConfig(
|
|
5
7
|
oxcLintConfig({
|
|
6
8
|
ignorePatterns: [
|
|
7
9
|
'**/node_modules',
|
|
@@ -55,3 +57,5 @@ export default defineConfig(
|
|
|
55
57
|
],
|
|
56
58
|
}),
|
|
57
59
|
);
|
|
60
|
+
|
|
61
|
+
export default resolveOxlintPlugins(config);
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"textlint-rule-ja-no-mixed-period": "^3.0.2",
|
|
51
51
|
"textlint-rule-ja-space-between-half-and-full-width": "^2.4.2",
|
|
52
52
|
"textlint-rule-period-in-list-item": "^1.0.1",
|
|
53
|
-
"oxfmt": "^0.
|
|
54
|
-
"oxlint": "^1.
|
|
53
|
+
"oxfmt": "^0.74.0",
|
|
54
|
+
"oxlint": "^1.89.0"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabloy/lint",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.36",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "Node Style Guide for Cabloy.",
|
|
6
6
|
"files": [
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"clean-package": "^2.2.0",
|
|
55
|
-
"oxfmt": "^0.
|
|
56
|
-
"oxlint": "^1.
|
|
55
|
+
"oxfmt": "^0.74.0",
|
|
56
|
+
"oxlint": "^1.89.0",
|
|
57
57
|
"rimraf": "^6.1.3"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.116",
|
|
4
4
|
"gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
|
|
5
5
|
"description": "Vona is an intuitive, elegant and powerful Node.js framework for rapidly developing enterprise applications of any size",
|
|
6
6
|
"keywords": [
|