@vef-framework/dev 1.0.131 → 1.0.133

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.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- "use strict";var n=require("node:process"),e=require("./constants.cjs");function m({appName:o,appVersion:r,basePublicPath:t,projectDir:i,outputDir:s,serverPort:a,proxies:c}){return{name:"vef-framework:conventional-config",config(f,{command:_}){const u=_==="serve";return{appType:"spa",root:i,base:t,publicDir:"public",envDir:e.ENV_DIR,envPrefix:[e.ENV_BUILD_PREFIX,e.ENV_APP_PREFIX],define:{__VEF_FRAMEWORK_VERSION__:`"${n.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${r}"`,__VEF_APP_CONFIG__:u?`
2
+ "use strict";var n=require("node:process"),e=require("./constants.cjs");function u({appName:i,appVersion:r,basePublicPath:o,projectDir:t,outputDir:a,serverPort:s,proxies:_}){return{name:"vef-framework:conventional-config",config(p,{command:c}){const m=c==="serve";return{appType:"spa",root:t,base:o,publicDir:"public",envDir:e.ENV_DIR,envPrefix:[e.ENV_BUILD_PREFIX,e.ENV_APP_PREFIX],define:{__VEF_FRAMEWORK_VERSION__:`"${n.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${r}"`,__VEF_APP_CONFIG__:m?`
3
3
  (function () {
4
4
  const env = import.meta.env;
5
5
  const config = Object.keys(env).filter(key => key.startsWith(${JSON.stringify(e.ENV_APP_PREFIX)}))
@@ -9,4 +9,4 @@
9
9
  }, {});
10
10
  return Object.freeze(config);
11
11
  })()
12
- `:`window.__PRODUCTION__VEF_${o??e.DEFAULT_APP_NAME}__CONF__`},css:{modules:{scopeBehaviour:"local",localsConvention:"camelCase"}},optimizeDeps:{exclude:[],esbuildOptions:{plugins:[]}},esbuild:{drop:["console","debugger"],charset:"utf8",minifyIdentifiers:!0,minifySyntax:!1,minifyWhitespace:!0},build:{outDir:s??e.DEFAULT_OUTPUT_DIR,target:"modules",assetsDir:e.ASSETS_DIR,assetsInlineLimit:10240,reportCompressedSize:!1,chunkSizeWarningLimit:2048,minify:!0,sourcemap:!1,rollupOptions:{input:{main:"index.html"},output:{banner:`/*! Powered by VEF Framework v${n.env.VEF_FRAMEWORK_VERSION}.${r?` App version v${r}.`:""} Built at ${new Date().toISOString()} */`,chunkFileNames:`${e.ASSETS_DIR}/js/[name]-[hash].js`,entryFileNames:`${e.ASSETS_DIR}/js/[name]-[hash].js`,assetFileNames:`${e.ASSETS_DIR}/[ext]/[name]-[hash].[ext]`,manualChunks:{react:["react","react-dom"],"vef-shared":["@vef-framework/shared"],"vef-components":["@vef-framework/components"],"vef-hooks":["@vef-framework/hooks"],"vef-core":["@vef-framework/core"],"vef-starter":["@vef-framework/starter"],"monaco-editor":["monaco-editor"]}}}},server:{port:a||e.DEFAULT_SERVER_PORT,host:!0,open:!0,proxy:c}}}}}exports.createConventionalConfigPlugin=m;
12
+ `:`window.__PRODUCTION__VEF_${i??e.DEFAULT_APP_NAME}__CONF__`},css:{modules:{scopeBehaviour:"local",localsConvention:"camelCase"}},optimizeDeps:{exclude:[],esbuildOptions:{plugins:[]}},esbuild:{drop:["console","debugger"],charset:"utf8",minifyIdentifiers:!0,minifySyntax:!1,minifyWhitespace:!0},build:{outDir:a??e.DEFAULT_OUTPUT_DIR,target:"modules",assetsDir:e.ASSETS_DIR,assetsInlineLimit:10240,reportCompressedSize:!1,chunkSizeWarningLimit:2048,minify:!0,sourcemap:!1,rollupOptions:{input:{main:"index.html"},output:{banner:`/*! Powered by VEF Framework v${n.env.VEF_FRAMEWORK_VERSION}.${r?` App version v${r}.`:""} Built at ${new Date().toISOString()} */`,chunkFileNames:`${e.ASSETS_DIR}/js/[name]-[hash].js`,entryFileNames:`${e.ASSETS_DIR}/js/[name]-[hash].js`,assetFileNames:`${e.ASSETS_DIR}/[ext]/[name]-[hash].[ext]`,manualChunks:{react:["react","react-dom"],"vef-framework":["@vef-framework/shared","@vef-framework/hooks","@vef-framework/core","@vef-framework/components","@vef-framework/starter"],"monaco-editor":["monaco-editor"]}}}},server:{port:s||e.DEFAULT_SERVER_PORT,host:!0,open:!0,proxy:_}}}}}exports.createConventionalConfigPlugin=u;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- import o from"node:process";import{DEFAULT_SERVER_PORT as f,ASSETS_DIR as e,DEFAULT_OUTPUT_DIR as u,DEFAULT_APP_NAME as l,ENV_BUILD_PREFIX as v,ENV_APP_PREFIX as n,ENV_DIR as E}from"./constants.js";function d({appName:t,appVersion:r,basePublicPath:i,projectDir:s,outputDir:a,serverPort:c,proxies:m}){return{name:"vef-framework:conventional-config",config(F,{command:_}){const p=_==="serve";return{appType:"spa",root:s,base:i,publicDir:"public",envDir:E,envPrefix:[v,n],define:{__VEF_FRAMEWORK_VERSION__:`"${o.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${r}"`,__VEF_APP_CONFIG__:p?`
2
+ import o from"node:process";import{DEFAULT_SERVER_PORT as u,ASSETS_DIR as e,DEFAULT_OUTPUT_DIR as f,DEFAULT_APP_NAME as l,ENV_BUILD_PREFIX as E,ENV_APP_PREFIX as n,ENV_DIR as v}from"./constants.js";function F({appName:i,appVersion:r,basePublicPath:t,projectDir:a,outputDir:s,serverPort:c,proxies:_}){return{name:"vef-framework:conventional-config",config(d,{command:m}){const p=m==="serve";return{appType:"spa",root:a,base:t,publicDir:"public",envDir:v,envPrefix:[E,n],define:{__VEF_FRAMEWORK_VERSION__:`"${o.env.VEF_FRAMEWORK_VERSION}"`,__VEF_APP_VERSION__:`"${r}"`,__VEF_APP_CONFIG__:p?`
3
3
  (function () {
4
4
  const env = import.meta.env;
5
5
  const config = Object.keys(env).filter(key => key.startsWith(${JSON.stringify(n)}))
@@ -9,4 +9,4 @@ import o from"node:process";import{DEFAULT_SERVER_PORT as f,ASSETS_DIR as e,DEFA
9
9
  }, {});
10
10
  return Object.freeze(config);
11
11
  })()
12
- `:`window.__PRODUCTION__VEF_${t??l}__CONF__`},css:{modules:{scopeBehaviour:"local",localsConvention:"camelCase"}},optimizeDeps:{exclude:[],esbuildOptions:{plugins:[]}},esbuild:{drop:["console","debugger"],charset:"utf8",minifyIdentifiers:!0,minifySyntax:!1,minifyWhitespace:!0},build:{outDir:a??u,target:"modules",assetsDir:e,assetsInlineLimit:10240,reportCompressedSize:!1,chunkSizeWarningLimit:2048,minify:!0,sourcemap:!1,rollupOptions:{input:{main:"index.html"},output:{banner:`/*! Powered by VEF Framework v${o.env.VEF_FRAMEWORK_VERSION}.${r?` App version v${r}.`:""} Built at ${new Date().toISOString()} */`,chunkFileNames:`${e}/js/[name]-[hash].js`,entryFileNames:`${e}/js/[name]-[hash].js`,assetFileNames:`${e}/[ext]/[name]-[hash].[ext]`,manualChunks:{react:["react","react-dom"],"vef-shared":["@vef-framework/shared"],"vef-components":["@vef-framework/components"],"vef-hooks":["@vef-framework/hooks"],"vef-core":["@vef-framework/core"],"vef-starter":["@vef-framework/starter"],"monaco-editor":["monaco-editor"]}}}},server:{port:c||f,host:!0,open:!0,proxy:m}}}}}export{d as createConventionalConfigPlugin};
12
+ `:`window.__PRODUCTION__VEF_${i??l}__CONF__`},css:{modules:{scopeBehaviour:"local",localsConvention:"camelCase"}},optimizeDeps:{exclude:[],esbuildOptions:{plugins:[]}},esbuild:{drop:["console","debugger"],charset:"utf8",minifyIdentifiers:!0,minifySyntax:!1,minifyWhitespace:!0},build:{outDir:s??f,target:"modules",assetsDir:e,assetsInlineLimit:10240,reportCompressedSize:!1,chunkSizeWarningLimit:2048,minify:!0,sourcemap:!1,rollupOptions:{input:{main:"index.html"},output:{banner:`/*! Powered by VEF Framework v${o.env.VEF_FRAMEWORK_VERSION}.${r?` App version v${r}.`:""} Built at ${new Date().toISOString()} */`,chunkFileNames:`${e}/js/[name]-[hash].js`,entryFileNames:`${e}/js/[name]-[hash].js`,assetFileNames:`${e}/[ext]/[name]-[hash].[ext]`,manualChunks:{react:["react","react-dom"],"vef-framework":["@vef-framework/shared","@vef-framework/hooks","@vef-framework/core","@vef-framework/components","@vef-framework/starter"],"monaco-editor":["monaco-editor"]}}}},server:{port:c||u,host:!0,open:!0,proxy:_}}}}}export{F as createConventionalConfigPlugin};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vef-framework/dev",
3
3
  "type": "module",
4
- "version": "1.0.131",
4
+ "version": "1.0.133",
5
5
  "private": false,
6
6
  "description": "The development tools of the VEF framework",
7
7
  "author": "Venus",
@@ -41,28 +41,28 @@
41
41
  "node": ">=20"
42
42
  },
43
43
  "dependencies": {
44
- "@antfu/eslint-config": "4.11.0",
44
+ "@antfu/eslint-config": "4.12.0",
45
45
  "@commitlint/cli": "19.8.0",
46
46
  "@commitlint/config-conventional": "19.8.0",
47
47
  "@commitlint/format": "19.8.0",
48
48
  "@commitlint/types": "19.8.0",
49
- "@eslint-react/eslint-plugin": "1.38.0",
49
+ "@eslint-react/eslint-plugin": "1.48.1",
50
50
  "@iconify-json/hugeicons": "^1.2.4",
51
- "@iconify-json/lucide": "^1.2.32",
51
+ "@iconify-json/lucide": "^1.2.37",
52
52
  "@iconify-json/mingcute": "^1.2.3",
53
53
  "@iconify-json/tabler": "^1.2.17",
54
54
  "@svgr/plugin-svgo": "^8.1.0",
55
55
  "@tailwindcss/container-queries": "^0.1.1",
56
- "@tailwindcss/vite": "^4.0.16",
57
- "@tanstack/eslint-plugin-router": "^1.114.12",
58
- "@tanstack/router-plugin": "^1.114.27",
59
- "@vitejs/plugin-react-swc": "^3.8.1",
56
+ "@tailwindcss/vite": "^4.1.4",
57
+ "@tanstack/eslint-plugin-router": "^1.115.0",
58
+ "@tanstack/router-plugin": "^1.116.1",
59
+ "@vitejs/plugin-react-swc": "^3.9.0",
60
60
  "browserslist": "^4.24.4",
61
61
  "chalk": "^5.4.1",
62
62
  "commander": "^13.1.0",
63
63
  "consola": "^3.4.2",
64
- "dotenv": "^16.4.7",
65
- "eslint": "9.23.0",
64
+ "dotenv": "^16.5.0",
65
+ "eslint": "9.24.0",
66
66
  "eslint-plugin-format": "1.0.1",
67
67
  "eslint-plugin-react-hooks": "5.2.0",
68
68
  "eslint-plugin-react-refresh": "0.4.19",
@@ -71,23 +71,23 @@
71
71
  "fs-extra": "^11.3.0",
72
72
  "html-minifier-terser": "^7.2.0",
73
73
  "husky": "9.1.7",
74
- "lint-staged": "^15.5.0",
74
+ "lint-staged": "^15.5.1",
75
75
  "local-pkg": "^1.1.1",
76
76
  "ora": "^8.2.0",
77
77
  "prompts": "^2.4.2",
78
78
  "radashi": "12.4.0",
79
79
  "rollup-plugin-visualizer": "^5.14.0",
80
- "sass-embedded": "^1.86.0",
81
- "stylelint": "^16.16.0",
80
+ "sass-embedded": "^1.86.3",
81
+ "stylelint": "^16.18.0",
82
82
  "stylelint-config-recess-order": "^6.0.0",
83
- "stylelint-config-recommended": "^15.0.0",
83
+ "stylelint-config-recommended": "^16.0.0",
84
84
  "stylelint-config-standard-scss": "^14.0.0",
85
85
  "stylelint-order": "^6.0.4",
86
- "tailwindcss": "^4.0.16",
86
+ "tailwindcss": "^4.1.4",
87
87
  "tslib": "2.8.1",
88
88
  "unplugin-config": "^0.1.5",
89
89
  "unplugin-icons": "^22.1.0",
90
- "vite": "6.2.3",
90
+ "vite": "6.3.0",
91
91
  "vite-plugin-eslint2": "^5.0.3",
92
92
  "vite-plugin-inspect": "^11.0.0",
93
93
  "vite-plugin-stylelint": "^6.0.0",
@@ -99,5 +99,5 @@
99
99
  "access": "public"
100
100
  },
101
101
  "module": "esm/index.js",
102
- "packageManager": "pnpm@10.6.5"
102
+ "packageManager": "pnpm@10.8.1"
103
103
  }
@@ -16,11 +16,11 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@tanstack/react-router": "^1.0.0",
19
- "@vef-framework/components": "1.0.131",
20
- "@vef-framework/core": "1.0.131",
21
- "@vef-framework/hooks": "1.0.131",
22
- "@vef-framework/shared": "1.0.131",
23
- "@vef-framework/starter": "1.0.131",
19
+ "@vef-framework/components": "1.0.133",
20
+ "@vef-framework/core": "1.0.133",
21
+ "@vef-framework/hooks": "1.0.133",
22
+ "@vef-framework/shared": "1.0.133",
23
+ "@vef-framework/starter": "1.0.133",
24
24
  "react": "18.3.1",
25
25
  "react-dom": "18.3.1"
26
26
  },