@vef-framework/dev 1.0.62 → 1.0.64

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 (52) hide show
  1. package/es/cli.js +287 -2
  2. package/es/commitlint-config.js +11 -2
  3. package/es/config.js +72 -2
  4. package/es/constants.js +14 -2
  5. package/es/eslint-config.js +431 -2
  6. package/es/index.js +6 -2
  7. package/es/modules.d.js +2 -1
  8. package/es/plugin-app-config.js +34 -2
  9. package/es/plugin-conventional-config.js +109 -2
  10. package/es/plugin-eslint.js +20 -2
  11. package/es/plugin-html.js +82 -2
  12. package/es/plugin-icons.js +17 -2
  13. package/es/plugin-injection.js +17 -2
  14. package/es/plugin-inspect.js +11 -2
  15. package/es/plugin-react-swc.js +10 -2
  16. package/es/plugin-router.js +43 -2
  17. package/es/plugin-stylelint.js +20 -2
  18. package/es/plugin-svgr.js +55 -2
  19. package/es/plugin-tailwindcss.js +23 -2
  20. package/es/plugin-tsconfig-paths.js +10 -2
  21. package/es/plugin-visualizer.js +12 -2
  22. package/es/plugin-webfont.js +11 -2
  23. package/es/stylelint-config.js +64 -2
  24. package/es/tailwind-config.js +392 -2
  25. package/lib/cli.cjs +289 -2
  26. package/lib/commitlint-config.cjs +15 -2
  27. package/lib/config.cjs +76 -2
  28. package/lib/constants.cjs +28 -2
  29. package/lib/eslint-config.cjs +435 -2
  30. package/lib/index.cjs +18 -2
  31. package/lib/modules.d.cjs +4 -2
  32. package/lib/plugin-app-config.cjs +38 -2
  33. package/lib/plugin-conventional-config.cjs +113 -2
  34. package/lib/plugin-eslint.cjs +24 -2
  35. package/lib/plugin-html.cjs +86 -2
  36. package/lib/plugin-icons.cjs +22 -2
  37. package/lib/plugin-injection.cjs +21 -2
  38. package/lib/plugin-inspect.cjs +15 -2
  39. package/lib/plugin-react-swc.cjs +14 -2
  40. package/lib/plugin-router.cjs +47 -2
  41. package/lib/plugin-stylelint.cjs +24 -2
  42. package/lib/plugin-svgr.cjs +59 -2
  43. package/lib/plugin-tailwindcss.cjs +27 -2
  44. package/lib/plugin-tsconfig-paths.cjs +14 -2
  45. package/lib/plugin-visualizer.cjs +16 -2
  46. package/lib/plugin-webfont.cjs +15 -2
  47. package/lib/stylelint-config.cjs +68 -2
  48. package/lib/tailwind-config.cjs +396 -2
  49. package/lib/types.cjs +4 -2
  50. package/package.json +1 -1
  51. package/template/package-lock.json +16992 -0
  52. package/template/package.json +5 -5
@@ -1,3 +1,87 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("html-minifier-terser"),t="index.html",r='\n<!doctype html>\n<html lang="en">\n <head>\n <meta charset="UTF-8" />\n <link rel="icon" type="image/svg+xml" href="%VEF_APP_FAVICON%" />\n <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n <meta name="description" content="Powered by VEF Framework" />\n <title>%VEF_APP_TITLE%</title>\n </head>\n <body>\n <div id="root"></div>\n <script type="module" src="src/main.ts"><\/script>\n </body>\n</html>\n';exports.createHtmlPlugin=function(){return[{name:"vef-framework:html",resolveId(e){if(e===t)return t},load(e){if(e===t)return r},transformIndexHtml:{order:"pre",handler:()=>r}},{name:"vite-plugin-vef-framework-html-minify",enforce:"post",async generateBundle(r,n){for(const r of Object.values(n))"asset"===r.type&&"string"==typeof r.source&&r.fileName===t&&(r.source=await e.minify(r.source,{collapseBooleanAttributes:!0,collapseInlineTagWhitespace:!0,collapseWhitespace:!0,conservativeCollapse:!1,keepClosingSlash:!0,minifyCSS:!0,minifyJS:!0,minifyURLs:!0,noNewlinesBeforeTagClose:!0,quoteCharacter:'"',removeAttributeQuotes:!1,removeComments:!0,removeEmptyAttributes:!0,removeOptionalTags:!1,removeRedundantAttributes:!0,removeScriptTypeAttributes:!1,removeTagWhitespace:!1,removeEmptyElements:!1,removeStyleLinkTypeAttributes:!1,sortAttributes:!0,sortClassName:!0,trimCustomFragments:!0,useShortDoctype:!0,html5:!0}))}}]};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const htmlMinifierTerser = require('html-minifier-terser');
7
+
8
+ const virtualModuleId = "index.html";
9
+ const htmlContent = `
10
+ <!doctype html>
11
+ <html lang="en">
12
+ <head>
13
+ <meta charset="UTF-8" />
14
+ <link rel="icon" type="image/svg+xml" href="%VEF_APP_FAVICON%" />
15
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
16
+ <meta name="description" content="Powered by VEF Framework" />
17
+ <title>%VEF_APP_TITLE%</title>
18
+ </head>
19
+ <body>
20
+ <div id="root"></div>
21
+ <script type="module" src="src/main.ts"><\/script>
22
+ </body>
23
+ </html>
24
+ `;
25
+ function createHtmlPlugin() {
26
+ return [
27
+ {
28
+ name: "vef-framework:html",
29
+ resolveId(source) {
30
+ if (source === virtualModuleId) {
31
+ return virtualModuleId;
32
+ }
33
+ },
34
+ load(id) {
35
+ if (id === virtualModuleId) {
36
+ return htmlContent;
37
+ }
38
+ },
39
+ transformIndexHtml: {
40
+ order: "pre",
41
+ handler: () => htmlContent
42
+ }
43
+ },
44
+ {
45
+ name: "vite-plugin-vef-framework-html-minify",
46
+ enforce: "post",
47
+ async generateBundle(_, bundles) {
48
+ for (const bundle of Object.values(bundles)) {
49
+ if (bundle.type === "asset" && typeof bundle.source === "string" && bundle.fileName === virtualModuleId) {
50
+ bundle.source = await htmlMinifierTerser.minify(
51
+ bundle.source,
52
+ {
53
+ collapseBooleanAttributes: true,
54
+ collapseInlineTagWhitespace: true,
55
+ collapseWhitespace: true,
56
+ conservativeCollapse: false,
57
+ keepClosingSlash: true,
58
+ minifyCSS: true,
59
+ minifyJS: true,
60
+ minifyURLs: true,
61
+ noNewlinesBeforeTagClose: true,
62
+ quoteCharacter: `"`,
63
+ removeAttributeQuotes: false,
64
+ removeComments: true,
65
+ removeEmptyAttributes: true,
66
+ removeOptionalTags: false,
67
+ removeRedundantAttributes: true,
68
+ removeScriptTypeAttributes: false,
69
+ removeTagWhitespace: false,
70
+ removeEmptyElements: false,
71
+ removeStyleLinkTypeAttributes: false,
72
+ sortAttributes: true,
73
+ sortClassName: true,
74
+ trimCustomFragments: true,
75
+ useShortDoctype: true,
76
+ html5: true
77
+ }
78
+ );
79
+ }
80
+ }
81
+ }
82
+ }
83
+ ];
84
+ }
85
+
86
+ exports.createHtmlPlugin = createHtmlPlugin;
3
87
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,23 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("node:path"),n=require("node:url"),t=require("unplugin-icons/vite");var r="undefined"!=typeof document?document.currentScript:null;exports.createIconsPlugin=function(o){return t({autoInstall:!1,compiler:"jsx",jsx:"react",defaultClass:"inline-block",scale:1.2,collectionsNodeResolvePath:[o,e.resolve(e.dirname(n.fileURLToPath("undefined"==typeof document?require("url").pathToFileURL(__filename).href:r&&"SCRIPT"===r.tagName.toUpperCase()&&r.src||new URL("plugin-icons.cjs",document.baseURI).href)),"..")]})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const node_path = require('node:path');
7
+ const node_url = require('node:url');
8
+ const icons = require('unplugin-icons/vite');
9
+
10
+ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
11
+ function createIconsPlugin(projectDir) {
12
+ return icons({
13
+ autoInstall: false,
14
+ compiler: "jsx",
15
+ jsx: "react",
16
+ defaultClass: "inline-block",
17
+ scale: 1.2,
18
+ collectionsNodeResolvePath: [projectDir, node_path.resolve(node_path.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('plugin-icons.cjs', document.baseURI).href)))), "..")]
19
+ });
20
+ }
21
+
22
+ exports.createIconsPlugin = createIconsPlugin;
3
23
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,22 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("node:path");exports.createInjectionPlugin=function(){return{name:"vef-framework:injection",transform:(t,n)=>"src"===e.basename(e.dirname(n))&&e.basename(n).startsWith("main.ts")?`import "vef:tailwind.css";\n${t}`:null}};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const node_path = require('node:path');
7
+
8
+ function createInjectionPlugin() {
9
+ return {
10
+ name: "vef-framework:injection",
11
+ transform(code, id) {
12
+ if (node_path.basename(node_path.dirname(id)) === "src" && node_path.basename(id).startsWith("main.ts")) {
13
+ return `import "vef:tailwind.css";
14
+ ${code}`;
15
+ }
16
+ return null;
17
+ }
18
+ };
19
+ }
20
+
21
+ exports.createInjectionPlugin = createInjectionPlugin;
3
22
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,16 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vite-plugin-inspect");exports.createInspectPlugin=function(){return e({dev:!0,build:!1})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const inspect = require('vite-plugin-inspect');
7
+
8
+ function createInspectPlugin() {
9
+ return inspect({
10
+ dev: true,
11
+ build: false
12
+ });
13
+ }
14
+
15
+ exports.createInspectPlugin = createInspectPlugin;
3
16
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,15 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vitejs/plugin-react-swc");exports.createReactSwcPlugin=function(){return e({devTarget:"esnext"})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const react = require('@vitejs/plugin-react-swc');
7
+
8
+ function createReactSwcPlugin() {
9
+ return react({
10
+ devTarget: "esnext"
11
+ });
12
+ }
13
+
14
+ exports.createReactSwcPlugin = createReactSwcPlugin;
3
15
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,48 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@tanstack/router-plugin/vite"),t=require("node:path"),r=require("./constants.cjs");exports.createRouterPlugin=function(o){return e.TanStackRouterVite({routesDirectory:t.resolve(o,r.SRC_DIR,r.PAGES_DIR),generatedRouteTree:t.resolve(o,r.SRC_DIR,r.ROUTER_DIR,"router.gen.ts"),quoteStyle:"double",semicolons:!0,disableTypes:!1,addExtensions:!1,disableLogging:!1,disableManifestGeneration:!1,routeFileIgnorePattern:"components",indexToken:"index",routeToken:"route",enableRouteGeneration:!0,autoCodeSplitting:!0,routeTreeFileHeader:["/* eslint-disable */","// @ts-nocheck","// noinspection JSUnusedGlobalSymbols",'import { createRouter } from "@vef-framework/starter";'],routeTreeFileFooter:["const router = createRouter({\n routeTree,\n});\n",'declare module "@tanstack/react-router" {\n interface Register {\n router: typeof router;\n }\n}\n',"export default router;"]})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const vite = require('@tanstack/router-plugin/vite');
7
+ const node_path = require('node:path');
8
+ const constants = require('./constants.cjs');
9
+
10
+ function createRouterPlugin(projectDir) {
11
+ return vite.TanStackRouterVite({
12
+ routesDirectory: node_path.resolve(projectDir, constants.SRC_DIR, constants.PAGES_DIR),
13
+ generatedRouteTree: node_path.resolve(projectDir, constants.SRC_DIR, constants.ROUTER_DIR, "router.gen.ts"),
14
+ quoteStyle: "double",
15
+ semicolons: true,
16
+ disableTypes: false,
17
+ addExtensions: false,
18
+ disableLogging: false,
19
+ disableManifestGeneration: false,
20
+ routeFileIgnorePattern: "components",
21
+ indexToken: "index",
22
+ routeToken: "route",
23
+ enableRouteGeneration: true,
24
+ autoCodeSplitting: true,
25
+ routeTreeFileHeader: [
26
+ "/* eslint-disable */",
27
+ "// @ts-nocheck",
28
+ "// noinspection JSUnusedGlobalSymbols",
29
+ `import { createRouter } from "@vef-framework/starter";`
30
+ ],
31
+ routeTreeFileFooter: [
32
+ `const router = createRouter({
33
+ routeTree,
34
+ });
35
+ `,
36
+ `declare module "@tanstack/react-router" {
37
+ interface Register {
38
+ router: typeof router;
39
+ }
40
+ }
41
+ `,
42
+ `export default router;`
43
+ ]
44
+ });
45
+ }
46
+
47
+ exports.createRouterPlugin = createRouterPlugin;
3
48
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,25 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vite-plugin-stylelint");exports.createStylelintPlugin=function(){return e({fix:!0,test:!0,dev:!0,build:!0,cache:!0,cacheLocation:"node_modules/.cache/.stylelintcache",include:["src/**/*.{scss,css}"],exclude:["node_modules","virtual:","vef:"],emitError:!0,emitWarning:!0,emitWarningAsError:!0})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const stylelint = require('vite-plugin-stylelint');
7
+
8
+ function createStylelintPlugin() {
9
+ return stylelint({
10
+ fix: true,
11
+ test: true,
12
+ dev: true,
13
+ build: true,
14
+ cache: true,
15
+ cacheLocation: "node_modules/.cache/.stylelintcache",
16
+ include: ["src/**/*.{scss,css}"],
17
+ exclude: ["node_modules", "virtual:", "vef:"],
18
+ emitError: true,
19
+ emitWarning: true,
20
+ emitWarningAsError: true
21
+ });
22
+ }
23
+
24
+ exports.createStylelintPlugin = createStylelintPlugin;
3
25
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,60 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vite-plugin-svgr");exports.createSvgrPlugin=function(){return e({include:"**/*.svg?react",esbuildOptions:{platform:"browser",minify:!0,jsx:"automatic"},svgrOptions:{plugins:["@svgr/plugin-svgo","@svgr/plugin-jsx"],icon:!1,dimensions:!1,prettier:!0,memo:!0,svgo:!0,ref:!1,typescript:!0,jsxRuntime:"automatic",svgoConfig:{multipass:!0,datauri:"base64",js2svg:{indent:2,pretty:!0},plugins:["preset-default",{name:"prefixIds",params:{prefix:"vef"}},{name:"cleanupIds",params:{force:!0,remove:!0,minify:!0}}]},svgProps:{}}})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const svgr = require('vite-plugin-svgr');
7
+
8
+ function createSvgrPlugin() {
9
+ return svgr({
10
+ include: "**/*.svg?react",
11
+ esbuildOptions: {
12
+ platform: "browser",
13
+ minify: true,
14
+ jsx: "automatic"
15
+ },
16
+ svgrOptions: {
17
+ plugins: [
18
+ "@svgr/plugin-svgo",
19
+ "@svgr/plugin-jsx"
20
+ ],
21
+ icon: false,
22
+ dimensions: false,
23
+ prettier: true,
24
+ memo: true,
25
+ svgo: true,
26
+ ref: false,
27
+ typescript: true,
28
+ jsxRuntime: "automatic",
29
+ svgoConfig: {
30
+ multipass: true,
31
+ datauri: "base64",
32
+ js2svg: {
33
+ indent: 2,
34
+ pretty: true
35
+ },
36
+ plugins: [
37
+ "preset-default",
38
+ {
39
+ name: "prefixIds",
40
+ params: {
41
+ prefix: "vef"
42
+ }
43
+ },
44
+ {
45
+ name: "cleanupIds",
46
+ params: {
47
+ force: true,
48
+ remove: true,
49
+ minify: true
50
+ }
51
+ }
52
+ ]
53
+ },
54
+ svgProps: {}
55
+ }
56
+ });
57
+ }
58
+
59
+ exports.createSvgrPlugin = createSvgrPlugin;
3
60
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,28 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="vef:tailwind.css",i=`\0${e}`;exports.createTailwindcssPlugin=function(){return{name:"vef-framework:tailwindcss",resolveId(t){if(t===e)return i},load(e){if(e===i)return"@tailwind base;\n@tailwind components;\n@tailwind utilities;"}}};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const virtualModuleId = "vef:tailwind.css";
7
+ const resolvedVirtualModuleId = `\0${virtualModuleId}`;
8
+ const cssContent = `@tailwind base;
9
+ @tailwind components;
10
+ @tailwind utilities;`;
11
+ function createTailwindcssPlugin() {
12
+ return {
13
+ name: "vef-framework:tailwindcss",
14
+ resolveId(id) {
15
+ if (id === virtualModuleId) {
16
+ return resolvedVirtualModuleId;
17
+ }
18
+ },
19
+ load(id) {
20
+ if (id === resolvedVirtualModuleId) {
21
+ return cssContent;
22
+ }
23
+ }
24
+ };
25
+ }
26
+
27
+ exports.createTailwindcssPlugin = createTailwindcssPlugin;
3
28
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,15 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vite-tsconfig-paths");exports.createTsconfigPathsPlugin=function(e){return t({root:e})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const tsconfigPaths = require('vite-tsconfig-paths');
7
+
8
+ function createTsconfigPathsPlugin(projectDir) {
9
+ return tsconfigPaths({
10
+ root: projectDir
11
+ });
12
+ }
13
+
14
+ exports.createTsconfigPathsPlugin = createTsconfigPathsPlugin;
3
15
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,17 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("rollup-plugin-visualizer");exports.createVisualizerPlugin=function(i){return e.visualizer({filename:"dist/stats.html",title:"Building Visualizer",projectRoot:i})};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const rollupPluginVisualizer = require('rollup-plugin-visualizer');
7
+
8
+ function createVisualizerPlugin(projectDir) {
9
+ return rollupPluginVisualizer.visualizer({
10
+ filename: "dist/stats.html",
11
+ title: "Building Visualizer",
12
+ projectRoot: projectDir
13
+ });
14
+ }
15
+
16
+ exports.createVisualizerPlugin = createVisualizerPlugin;
3
17
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,16 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vite-plugin-webfont-dl");exports.createWebfontPlugin=function(){return t(["https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap","https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100..800&family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"])};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const webfont = require('vite-plugin-webfont-dl');
7
+
8
+ function createWebfontPlugin() {
9
+ return webfont([
10
+ "https://fonts.googleapis.com/css2?family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap",
11
+ "https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100..800&family=PT+Sans+Caption:wght@400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"
12
+ ]);
13
+ }
14
+
15
+ exports.createWebfontPlugin = createWebfontPlugin;
3
16
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,69 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("stylelint-config-recess-order/groups");exports.defineStylelintConfig=function(){return{extends:["stylelint-config-standard-scss","stylelint-config-recommended"],plugins:["stylelint-order"],rules:{"order/order":["dollar-variables","at-variables","custom-properties","less-mixins","declarations","at-rules","rules"],"order/properties-order":e.map((e=>({...e,emptyLineBefore:"always",noEmptyLineBetween:!0}))),"declaration-empty-line-before":null,"at-rule-no-unknown":null,"function-no-unknown":null,"number-max-precision":null,"color-hex-length":"long","color-hex-alpha":"never","color-named":"never","unit-allowed-list":["px","em","rem","%","vw","vh","fr","deg","rad","grad","turn","ms","s"],"scss/function-no-unknown":[!0,{ignoreFunctions:[]}],"scss/at-rule-no-unknown":[!0,{ignoreAtRules:[]}]}}};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const propertyGroups = require('stylelint-config-recess-order/groups');
7
+
8
+ function defineStylelintConfig() {
9
+ return {
10
+ extends: [
11
+ "stylelint-config-standard-scss",
12
+ "stylelint-config-recommended"
13
+ ],
14
+ plugins: ["stylelint-order"],
15
+ rules: {
16
+ "order/order": [
17
+ "dollar-variables",
18
+ "at-variables",
19
+ "custom-properties",
20
+ "less-mixins",
21
+ "declarations",
22
+ "at-rules",
23
+ "rules"
24
+ ],
25
+ "order/properties-order": propertyGroups.map((group) => ({
26
+ ...group,
27
+ emptyLineBefore: "always",
28
+ noEmptyLineBetween: true
29
+ })),
30
+ "declaration-empty-line-before": null,
31
+ "at-rule-no-unknown": null,
32
+ "function-no-unknown": null,
33
+ "number-max-precision": null,
34
+ "color-hex-length": "long",
35
+ "color-hex-alpha": "never",
36
+ "color-named": "never",
37
+ "unit-allowed-list": [
38
+ "px",
39
+ "em",
40
+ "rem",
41
+ "%",
42
+ "vw",
43
+ "vh",
44
+ "fr",
45
+ "deg",
46
+ "rad",
47
+ "grad",
48
+ "turn",
49
+ "ms",
50
+ "s"
51
+ ],
52
+ "scss/function-no-unknown": [
53
+ true,
54
+ {
55
+ ignoreFunctions: []
56
+ }
57
+ ],
58
+ "scss/at-rule-no-unknown": [
59
+ true,
60
+ {
61
+ ignoreAtRules: []
62
+ }
63
+ ]
64
+ }
65
+ };
66
+ }
67
+
68
+ exports.defineStylelintConfig = defineStylelintConfig;
3
69
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */