@vef-framework/dev 2.0.3 → 2.0.4
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/bin/vef.js +13 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/lint/commitlint.cjs +1 -1
- package/dist/cjs/lint/eslint.cjs +1 -1
- package/dist/cjs/lint/index.cjs +1 -1
- package/dist/cjs/lint/stylelint.cjs +3 -2
- package/dist/cjs/vite/chunks.cjs +3 -15
- package/dist/cjs/vite/config.cjs +1 -1
- package/dist/cjs/vite/constants.cjs +1 -1
- package/dist/cjs/vite/define.cjs +1 -1
- package/dist/cjs/vite/index.cjs +1 -1
- package/dist/cjs/vite/plugin-app-config.cjs +1 -1
- package/dist/cjs/vite/plugin-auto-enhance/core.cjs +1 -1
- package/dist/cjs/vite/plugin-auto-enhance/index.cjs +1 -1
- package/dist/cjs/vite/plugin-auto-enhance/plugins/index.cjs +1 -1
- package/dist/cjs/vite/plugin-auto-enhance/plugins/operation-column-width.cjs +1 -1
- package/dist/cjs/vite/plugin-conventional-config.cjs +2 -2
- package/dist/cjs/vite/plugin-eslint.cjs +1 -1
- package/dist/cjs/vite/plugin-html.cjs +1 -1
- package/dist/cjs/vite/plugin-icons.cjs +1 -1
- package/dist/cjs/vite/plugin-injection.cjs +1 -1
- package/dist/cjs/vite/plugin-inspect.cjs +1 -1
- package/dist/cjs/vite/plugin-react.cjs +1 -1
- package/dist/cjs/vite/plugin-router.cjs +1 -1
- package/dist/cjs/vite/plugin-stylelint.cjs +1 -1
- package/dist/cjs/vite/plugin-svgr.cjs +1 -1
- package/dist/cjs/vite/plugin-tsconfig-paths.cjs +1 -1
- package/dist/cjs/vite/postcss.cjs +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/lint/commitlint.js +1 -1
- package/dist/es/lint/eslint.js +1 -1
- package/dist/es/lint/index.js +1 -1
- package/dist/es/lint/stylelint.js +3 -2
- package/dist/es/vite/chunks.js +3 -15
- package/dist/es/vite/config.js +1 -1
- package/dist/es/vite/constants.js +1 -1
- package/dist/es/vite/define.js +1 -1
- package/dist/es/vite/index.js +1 -1
- package/dist/es/vite/plugin-app-config.js +1 -1
- package/dist/es/vite/plugin-auto-enhance/core.js +1 -1
- package/dist/es/vite/plugin-auto-enhance/index.js +1 -1
- package/dist/es/vite/plugin-auto-enhance/plugins/index.js +1 -1
- package/dist/es/vite/plugin-auto-enhance/plugins/operation-column-width.js +1 -1
- package/dist/es/vite/plugin-conventional-config.js +2 -2
- package/dist/es/vite/plugin-eslint.js +1 -1
- package/dist/es/vite/plugin-html.js +1 -1
- package/dist/es/vite/plugin-icons.js +1 -1
- package/dist/es/vite/plugin-injection.js +1 -1
- package/dist/es/vite/plugin-inspect.js +1 -1
- package/dist/es/vite/plugin-react.js +1 -1
- package/dist/es/vite/plugin-router.js +1 -1
- package/dist/es/vite/plugin-stylelint.js +1 -1
- package/dist/es/vite/plugin-svgr.js +1 -1
- package/dist/es/vite/plugin-tsconfig-paths.js +1 -1
- package/dist/es/vite/postcss.js +1 -1
- package/dist/types/cli/index.d.ts +1 -0
- package/package.json +12 -1
package/bin/vef.js
ADDED
package/dist/cjs/index.cjs
CHANGED
package/dist/cjs/lint/eslint.cjs
CHANGED
package/dist/cjs/lint/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
@@ -9,7 +9,8 @@ function defineStylelintConfig() {
|
|
|
9
9
|
return {
|
|
10
10
|
extends: [
|
|
11
11
|
"stylelint-config-standard-scss",
|
|
12
|
-
"stylelint-config-recommended"
|
|
12
|
+
"stylelint-config-recommended",
|
|
13
|
+
"@stylistic/stylelint-config"
|
|
13
14
|
],
|
|
14
15
|
plugins: ["stylelint-order"],
|
|
15
16
|
rules: {
|
package/dist/cjs/vite/chunks.cjs
CHANGED
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
5
5
|
|
|
6
6
|
function getChunk(id) {
|
|
7
|
-
if (id.includes("node_modules/@vef-framework/
|
|
8
|
-
return "vef-framework
|
|
9
|
-
}
|
|
10
|
-
if (id.includes("node_modules/@vef-framework/core/")) {
|
|
11
|
-
return "vef-framework-core";
|
|
12
|
-
}
|
|
13
|
-
if (id.includes("node_modules/@vef-framework/hooks/")) {
|
|
14
|
-
return "vef-framework-hooks";
|
|
15
|
-
}
|
|
16
|
-
if (id.includes("node_modules/@vef-framework/components/")) {
|
|
17
|
-
return "vef-framework-components";
|
|
18
|
-
}
|
|
19
|
-
if (id.includes("node_modules/@vef-framework/starter/")) {
|
|
20
|
-
return "vef-framework-starter";
|
|
7
|
+
if (id.includes("node_modules/@vef-framework/")) {
|
|
8
|
+
return "vef-framework";
|
|
21
9
|
}
|
|
22
10
|
if (id.includes("node_modules/lucide-react/")) {
|
|
23
11
|
return "lucide-icons";
|
package/dist/cjs/vite/config.cjs
CHANGED
package/dist/cjs/vite/define.cjs
CHANGED
package/dist/cjs/vite/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
@@ -57,7 +57,7 @@ function createConventionalConfigPlugin({
|
|
|
57
57
|
assetsDir: constants.ASSETS_DIR,
|
|
58
58
|
assetsInlineLimit: 10240,
|
|
59
59
|
reportCompressedSize: false,
|
|
60
|
-
chunkSizeWarningLimit:
|
|
60
|
+
chunkSizeWarningLimit: 5120,
|
|
61
61
|
minify: true,
|
|
62
62
|
cssCodeSplit: true,
|
|
63
63
|
cssMinify: true,
|
package/dist/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import './lint/index.js';
|
|
3
3
|
import './vite/index.js';
|
|
4
4
|
export { defineCommitlintConfig } from './lint/commitlint.js';
|
package/dist/es/lint/eslint.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import comments from '@eslint-community/eslint-plugin-eslint-comments/configs';
|
|
3
3
|
import react from '@eslint-react/eslint-plugin';
|
|
4
4
|
import eslint from '@eslint/js';
|
package/dist/es/lint/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
export { defineCommitlintConfig } from './commitlint.js';
|
|
3
3
|
export { defineEslintConfig } from './eslint.js';
|
|
4
4
|
export { defineStylelintConfig } from './stylelint.js';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import propertyGroups from 'stylelint-config-recess-order/groups';
|
|
3
3
|
|
|
4
4
|
function defineStylelintConfig() {
|
|
5
5
|
return {
|
|
6
6
|
extends: [
|
|
7
7
|
"stylelint-config-standard-scss",
|
|
8
|
-
"stylelint-config-recommended"
|
|
8
|
+
"stylelint-config-recommended",
|
|
9
|
+
"@stylistic/stylelint-config"
|
|
9
10
|
],
|
|
10
11
|
plugins: ["stylelint-order"],
|
|
11
12
|
rules: {
|
package/dist/es/vite/chunks.js
CHANGED
|
@@ -1,19 +1,7 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
function getChunk(id) {
|
|
3
|
-
if (id.includes("node_modules/@vef-framework/
|
|
4
|
-
return "vef-framework
|
|
5
|
-
}
|
|
6
|
-
if (id.includes("node_modules/@vef-framework/core/")) {
|
|
7
|
-
return "vef-framework-core";
|
|
8
|
-
}
|
|
9
|
-
if (id.includes("node_modules/@vef-framework/hooks/")) {
|
|
10
|
-
return "vef-framework-hooks";
|
|
11
|
-
}
|
|
12
|
-
if (id.includes("node_modules/@vef-framework/components/")) {
|
|
13
|
-
return "vef-framework-components";
|
|
14
|
-
}
|
|
15
|
-
if (id.includes("node_modules/@vef-framework/starter/")) {
|
|
16
|
-
return "vef-framework-starter";
|
|
3
|
+
if (id.includes("node_modules/@vef-framework/")) {
|
|
4
|
+
return "vef-framework";
|
|
17
5
|
}
|
|
18
6
|
if (id.includes("node_modules/lucide-react/")) {
|
|
19
7
|
return "lucide-icons";
|
package/dist/es/vite/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { resolve } from 'node:path';
|
|
3
3
|
import process from 'node:process';
|
|
4
4
|
import consola from 'consola';
|
package/dist/es/vite/define.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { DEFAULT_APP_NAME, VEF_FRAMEWORK_VERSION, ENV_APP_PREFIX } from './constants.js';
|
|
3
3
|
|
|
4
4
|
function defineConstants(appName, appVersion, isDev) {
|
package/dist/es/vite/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { snake } from 'radashi';
|
|
3
3
|
import config from 'unplugin-config/vite';
|
|
4
4
|
import { ENV_APP_PREFIX, DEFAULT_OUTPUT_DIR, DEFAULT_APP_NAME } from './constants.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { basename } from 'node:path';
|
|
3
3
|
import { parse as parse$1 } from '@babel/parser';
|
|
4
4
|
import { parse, print } from 'recast';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { AutoEnhanceCore } from './core.js';
|
|
3
3
|
import './plugins/index.js';
|
|
4
4
|
export { types } from 'recast';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
export { operationColumnWidthPlugin } from './operation-column-width.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { visit, types } from 'recast';
|
|
3
3
|
|
|
4
4
|
const CJK_CHAR_REGEX = /[\u4E00-\u9FFF\u3400-\u4DBF\uFF00-\uFFEF]/;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { createChunksConfig } from './chunks.js';
|
|
3
3
|
import { DEFAULT_SERVER_PORT, ASSETS_DIR, VEF_FRAMEWORK_VERSION, DEFAULT_OUTPUT_DIR, ENV_BUILD_PREFIX, ENV_APP_PREFIX, ENV_DIR, PUBLIC_DIR } from './constants.js';
|
|
4
4
|
import { defineConstants } from './define.js';
|
|
@@ -53,7 +53,7 @@ function createConventionalConfigPlugin({
|
|
|
53
53
|
assetsDir: ASSETS_DIR,
|
|
54
54
|
assetsInlineLimit: 10240,
|
|
55
55
|
reportCompressedSize: false,
|
|
56
|
-
chunkSizeWarningLimit:
|
|
56
|
+
chunkSizeWarningLimit: 5120,
|
|
57
57
|
minify: true,
|
|
58
58
|
cssCodeSplit: true,
|
|
59
59
|
cssMinify: true,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { resolve, dirname } from 'node:path';
|
|
3
3
|
import { fileURLToPath } from 'node:url';
|
|
4
4
|
import icons from 'unplugin-icons/vite';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @vef-framework/dev v2.0.
|
|
1
|
+
/*! @vef-framework/dev v2.0.3 made with ❤️ by Venus | 2025-11-26T02:32:33.686Z */
|
|
2
2
|
import { resolve } from 'node:path';
|
|
3
3
|
import { tanstackRouter } from '@tanstack/router-plugin/vite';
|
|
4
4
|
import { SRC_DIR, ROUTER_DIR, PAGES_DIR } from './constants.js';
|
package/dist/es/vite/postcss.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vef-framework/dev",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.4",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Dev tools for VEF framework",
|
|
7
7
|
"author": {
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
"main": "dist/cjs/index.cjs",
|
|
40
40
|
"module": "dist/es/index.js",
|
|
41
41
|
"types": "dist/types/index.d.ts",
|
|
42
|
+
"bin": {
|
|
43
|
+
"vef": "bin/vef.js"
|
|
44
|
+
},
|
|
42
45
|
"files": [
|
|
43
46
|
"dist",
|
|
44
47
|
"tsconfig.base.json",
|
|
@@ -52,7 +55,9 @@
|
|
|
52
55
|
},
|
|
53
56
|
"peerDependencies": {
|
|
54
57
|
"@commitlint/cli": "^20.1.0",
|
|
58
|
+
"@stylistic/stylelint-config": "^3.0.1",
|
|
55
59
|
"eslint": "^9.37.0",
|
|
60
|
+
"husky": "^9.1.7",
|
|
56
61
|
"lint-staged": "^16.2.3",
|
|
57
62
|
"stylelint": "^16.25.0",
|
|
58
63
|
"stylelint-config-recess-order": "^7.4.0",
|
|
@@ -78,6 +83,7 @@
|
|
|
78
83
|
"@vitejs/plugin-react": "^5.1.1",
|
|
79
84
|
"babel-plugin-react-compiler": "1.0.0",
|
|
80
85
|
"chalk": "^5.6.2",
|
|
86
|
+
"commander": "^14.0.2",
|
|
81
87
|
"consola": "^3.4.2",
|
|
82
88
|
"dotenv": "^17.2.3",
|
|
83
89
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -92,6 +98,8 @@
|
|
|
92
98
|
"eslint-plugin-unused-imports": "^4.3.0",
|
|
93
99
|
"fs-extra": "^11.3.2",
|
|
94
100
|
"html-minifier-terser": "^7.2.0",
|
|
101
|
+
"ora": "^9.0.0",
|
|
102
|
+
"prompts": "^2.4.2",
|
|
95
103
|
"radashi": "^12.7.1",
|
|
96
104
|
"recast": "^0.23.11",
|
|
97
105
|
"sass-embedded": "^1.93.3",
|
|
@@ -107,8 +115,11 @@
|
|
|
107
115
|
"devDependencies": {
|
|
108
116
|
"@commitlint/cli": "^20.1.0",
|
|
109
117
|
"@commitlint/types": "^20.0.0",
|
|
118
|
+
"@stylistic/stylelint-config": "^3.0.1",
|
|
110
119
|
"@types/html-minifier-terser": "^7.0.2",
|
|
120
|
+
"@types/prompts": "^2.4.9",
|
|
111
121
|
"eslint": "^9.39.1",
|
|
122
|
+
"husky": "^9.1.7",
|
|
112
123
|
"lint-staged": "^16.2.7",
|
|
113
124
|
"stylelint": "^16.26.0",
|
|
114
125
|
"stylelint-config-recess-order": "^7.4.0",
|