@vef-framework/dev 1.0.100 → 1.0.101

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