@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
package/es/plugin-html.js CHANGED
@@ -1,3 +1,83 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, 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 n(){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{n as createHtmlPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import{resolve as o,dirname as t}from"node:path";import{fileURLToPath as e}from"node:url";import l from"unplugin-icons/vite";function r(r){return l({autoInstall:!1,compiler:"jsx",jsx:"react",defaultClass:"inline-block",scale:1.2,collectionsNodeResolvePath:[r,o(t(e(import.meta.url)),"..")]})}export{r as createIconsPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import{basename as t,dirname as n}from"node:path";function r(){return{name:"vef-framework:injection",transform:(r,i)=>"src"===t(n(i))&&t(i).startsWith("main.ts")?`import "vef:tailwind.css";\n${r}`:null}}export{r as createInjectionPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import i from"vite-plugin-inspect";function t(){return i({dev:!0,build:!1})}export{t as createInspectPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import e from"@vitejs/plugin-react-swc";function t(){return e({devTarget:"esnext"})}export{t as createReactSwcPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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,44 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import{TanStackRouterVite as e}from"@tanstack/router-plugin/vite";import{resolve as t}from"node:path";import{SRC_DIR as o,PAGES_DIR as r,ROUTER_DIR as n}from"./constants.js";function i(i){return e({routesDirectory:t(i,o,r),generatedRouteTree:t(i,o,n,"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;"]})}export{i as createRouterPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ import { TanStackRouterVite } from '@tanstack/router-plugin/vite';
3
+ import { resolve } from 'node:path';
4
+ import { SRC_DIR, PAGES_DIR, ROUTER_DIR } from './constants.js';
5
+
6
+ function createRouterPlugin(projectDir) {
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: true,
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
+ });
31
+ `,
32
+ `declare module "@tanstack/react-router" {
33
+ interface Register {
34
+ router: typeof router;
35
+ }
36
+ }
37
+ `,
38
+ `export default router;`
39
+ ]
40
+ });
41
+ }
42
+
43
+ export { createRouterPlugin };
3
44
  /*! 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import e from"vite-plugin-stylelint";function i(){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})}export{i as createStylelintPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ import stylelint from 'vite-plugin-stylelint';
3
+
4
+ function createStylelintPlugin() {
5
+ return stylelint({
6
+ fix: true,
7
+ test: true,
8
+ dev: true,
9
+ build: true,
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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import s from"vite-plugin-svgr";function i(){return s({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{i as createSvgrPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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,24 @@
1
- /*! VefFramework version: 1.0.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- const i="vef:tailwind.css",n=`\0${i}`;function t(){return{name:"vef-framework:tailwindcss",resolveId(t){if(t===i)return n},load(i){if(i===n)return"@tailwind base;\n@tailwind components;\n@tailwind utilities;"}}}export{t as createTailwindcssPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, made by Venus. */
2
+ const virtualModuleId = "vef:tailwind.css";
3
+ const resolvedVirtualModuleId = `\0${virtualModuleId}`;
4
+ const cssContent = `@tailwind base;
5
+ @tailwind components;
6
+ @tailwind utilities;`;
7
+ function createTailwindcssPlugin() {
8
+ return {
9
+ name: "vef-framework:tailwindcss",
10
+ resolveId(id) {
11
+ if (id === virtualModuleId) {
12
+ return resolvedVirtualModuleId;
13
+ }
14
+ },
15
+ load(id) {
16
+ if (id === resolvedVirtualModuleId) {
17
+ return cssContent;
18
+ }
19
+ }
20
+ };
21
+ }
22
+
23
+ export { createTailwindcssPlugin };
3
24
  /*! 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import t from"vite-tsconfig-paths";function o(o){return t({root:o})}export{o as createTsconfigPathsPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import{visualizer as i}from"rollup-plugin-visualizer";function t(t){return i({filename:"dist/stats.html",title:"Building Visualizer",projectRoot:t})}export{t as createVisualizerPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import t from"vite-plugin-webfont-dl";function a(){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{a as createWebfontPlugin};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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.62, build time: 2025-01-09T07:31:11.612Z, made by Venus. */
2
- import e from"stylelint-config-recess-order/groups";function n(){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:[]}]}}}export{n as defineStylelintConfig};
1
+ /*! VefFramework version: 1.0.64, build time: 2025-01-10T01:26:01.941Z, 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: []
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 */