@vef-framework/dev 1.0.101 → 1.0.103
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/es/cli.js +4 -226
- package/es/commitlint-config.js +1 -12
- package/es/config.js +1 -78
- package/es/constants.js +1 -15
- package/es/eslint-config.js +1 -411
- package/es/index.js +1 -7
- package/es/modules.d.js +1 -3
- package/es/plugin-app-config.js +1 -35
- package/es/plugin-conventional-config.js +2 -87
- package/es/plugin-eslint.js +1 -21
- package/es/plugin-html.js +2 -69
- package/es/plugin-icons.js +1 -18
- package/es/plugin-injection.js +2 -18
- package/es/plugin-inspect.js +1 -12
- package/es/plugin-react-swc.js +1 -11
- package/es/plugin-router.js +3 -38
- package/es/plugin-stylelint.js +1 -21
- package/es/plugin-svgr.js +1 -56
- package/es/plugin-tailwind.js +1 -9
- package/es/plugin-tailwindcss.js +2 -22
- package/es/plugin-tsconfig-paths.js +1 -11
- package/es/plugin-visualizer.js +1 -13
- package/es/plugin-webfont.js +1 -12
- package/es/stylelint-config.js +1 -65
- package/es/tailwind-config.js +1 -393
- package/lib/cli.cjs +4 -228
- package/lib/commitlint-config.cjs +1 -16
- package/lib/config.cjs +1 -82
- package/lib/constants.cjs +1 -29
- package/lib/eslint-config.cjs +1 -415
- package/lib/index.cjs +1 -19
- package/lib/modules.d.cjs +1 -5
- package/lib/plugin-app-config.cjs +1 -39
- package/lib/plugin-conventional-config.cjs +2 -91
- package/lib/plugin-eslint.cjs +1 -25
- package/lib/plugin-html.cjs +2 -73
- package/lib/plugin-icons.cjs +1 -23
- package/lib/plugin-injection.cjs +2 -22
- package/lib/plugin-inspect.cjs +1 -16
- package/lib/plugin-react-swc.cjs +1 -15
- package/lib/plugin-router.cjs +3 -42
- package/lib/plugin-stylelint.cjs +1 -25
- package/lib/plugin-svgr.cjs +1 -60
- package/lib/plugin-tailwind.cjs +1 -13
- package/lib/plugin-tailwindcss.cjs +2 -26
- package/lib/plugin-tsconfig-paths.cjs +1 -15
- package/lib/plugin-visualizer.cjs +1 -17
- package/lib/plugin-webfont.cjs +1 -16
- package/lib/stylelint-config.cjs +1 -69
- package/lib/tailwind-config.cjs +1 -397
- package/lib/types.cjs +1 -5
- package/package.json +1 -1
- package/template/_package.json +5 -5
package/es/plugin-html.js
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import { minify } from 'html-minifier-terser';
|
|
3
|
-
|
|
4
|
-
const virtualModuleId = "index.html";
|
|
5
|
-
const htmlContent = `
|
|
1
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import{minify}from"html-minifier-terser";const virtualModuleId="index.html",htmlContent=`
|
|
6
2
|
<!doctype html>
|
|
7
3
|
<html lang="en">
|
|
8
4
|
<head>
|
|
@@ -17,67 +13,4 @@ const htmlContent = `
|
|
|
17
13
|
<script type="module" src="src/main.ts"><\/script>
|
|
18
14
|
</body>
|
|
19
15
|
</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 };
|
|
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 */
|
|
16
|
+
`;function createHtmlPlugin(){return[{name:"vef-framework:html",resolveId(source){if(source===virtualModuleId)return virtualModuleId},load(id){if(id===virtualModuleId)return htmlContent},transformIndexHtml:{order:"pre",handler:()=>htmlContent}},{name:"vite-plugin-vef-framework-html-minify",enforce:"post",async generateBundle(_,bundles){for(const bundle of Object.values(bundles))bundle.type==="asset"&&typeof bundle.source=="string"&&bundle.fileName===virtualModuleId&&(bundle.source=await minify(bundle.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}))}}]}/*! 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 */export{createHtmlPlugin};
|
package/es/plugin-icons.js
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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 };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import{resolve,dirname}from"node:path";import{fileURLToPath}from"node:url";import icons from"unplugin-icons/vite";function createIconsPlugin(projectDir){return icons({autoInstall:!1,compiler:"jsx",jsx:"react",defaultClass:"inline-block",scale:1.2,collectionsNodeResolvePath:[projectDir,resolve(dirname(fileURLToPath(import.meta.url)),"..")]})}/*! 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 */export{createIconsPlugin};
|
package/es/plugin-injection.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
|
|
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 };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import{basename,dirname}from"node:path";function createInjectionPlugin(){return{name:"vef-framework:injection",transform(code,id){return basename(dirname(id))==="src"&&basename(id).startsWith("main.ts")?`import "vef:tailwind.css";
|
|
2
|
+
${code}`:null}}}/*! 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 */export{createInjectionPlugin};
|
package/es/plugin-inspect.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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 };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import inspect from"vite-plugin-inspect";function createInspectPlugin(){return inspect({dev:!0,build:!1})}/*! 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 */export{createInspectPlugin};
|
package/es/plugin-react-swc.js
CHANGED
|
@@ -1,11 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import react from '@vitejs/plugin-react-swc';
|
|
3
|
-
|
|
4
|
-
function createReactSwcPlugin() {
|
|
5
|
-
return react({
|
|
6
|
-
devTarget: "esnext"
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { createReactSwcPlugin };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import react from"@vitejs/plugin-react-swc";function createReactSwcPlugin(){return react({devTarget:"esnext"})}/*! 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 */export{createReactSwcPlugin};
|
package/es/plugin-router.js
CHANGED
|
@@ -1,45 +1,10 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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({
|
|
1
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import{TanStackRouterVite}from"@tanstack/router-plugin/vite";import{resolve}from"node:path";import{SRC_DIR,ROUTER_DIR,PAGES_DIR}from"./constants.js";function createRouterPlugin(projectDir,history="hash",autoCodeSplitting){return TanStackRouterVite({routesDirectory:resolve(projectDir,SRC_DIR,PAGES_DIR),generatedRouteTree:resolve(projectDir,SRC_DIR,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,routeTreeFileHeader:["/* eslint-disable */","// @ts-nocheck","// noinspection JSUnusedGlobalSymbols",'import { createRouter } from "@vef-framework/starter";'],routeTreeFileFooter:[`const router = createRouter({
|
|
29
2
|
routeTree,
|
|
30
3
|
history: "${history}",
|
|
31
4
|
});
|
|
32
|
-
|
|
33
|
-
`declare module "@tanstack/react-router" {
|
|
5
|
+
`,`declare module "@tanstack/react-router" {
|
|
34
6
|
interface Register {
|
|
35
7
|
router: typeof router;
|
|
36
8
|
}
|
|
37
9
|
}
|
|
38
|
-
`,
|
|
39
|
-
`export default router;`
|
|
40
|
-
]
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export { createRouterPlugin };
|
|
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 */
|
|
10
|
+
`,"export default router;"]})}/*! 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 */export{createRouterPlugin};
|
package/es/plugin-stylelint.js
CHANGED
|
@@ -1,21 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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 };
|
|
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 */
|
|
1
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import stylelint from"vite-plugin-stylelint";function createStylelintPlugin(){return stylelint({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})}/*! 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 */export{createStylelintPlugin};
|
package/es/plugin-svgr.js
CHANGED
|
@@ -1,56 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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 };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import svgr from"vite-plugin-svgr";function createSvgrPlugin(){return svgr({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:{}}})}/*! 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 */export{createSvgrPlugin};
|
package/es/plugin-tailwind.js
CHANGED
|
@@ -1,9 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import tailwindcss from '@tailwindcss/vite';
|
|
3
|
-
|
|
4
|
-
function createTailwindPlugin() {
|
|
5
|
-
return tailwindcss();
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export { createTailwindPlugin };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import tailwindcss from"@tailwindcss/vite";function createTailwindPlugin(){return tailwindcss()}/*! 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 */export{createTailwindPlugin};
|
package/es/plugin-tailwindcss.js
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
|
|
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 };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */const virtualModuleId="vef:tailwind.css",resolvedVirtualModuleId=`\0${virtualModuleId}`;function createTailwindcssPlugin(){return{name:"vef-framework:tailwindcss",resolveId(id){if(id===virtualModuleId)return resolvedVirtualModuleId},load(id){if(id===resolvedVirtualModuleId)return`@import "tailwindcss";
|
|
2
|
+
@config "./tailwind.config.js";`}}}/*! 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 */export{createTailwindcssPlugin};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
2
|
-
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
3
|
-
|
|
4
|
-
function createTsconfigPathsPlugin(projectDir) {
|
|
5
|
-
return tsconfigPaths({
|
|
6
|
-
root: projectDir
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { createTsconfigPathsPlugin };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import tsconfigPaths from"vite-tsconfig-paths";function createTsconfigPathsPlugin(projectDir){return tsconfigPaths({root:projectDir})}/*! 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 */export{createTsconfigPathsPlugin};
|
package/es/plugin-visualizer.js
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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 };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import{visualizer}from"rollup-plugin-visualizer";function createVisualizerPlugin(projectDir){return visualizer({filename:"dist/stats.html",title:"Building Visualizer",projectRoot:projectDir})}/*! 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 */export{createVisualizerPlugin};
|
package/es/plugin-webfont.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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 };
|
|
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
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import webfont from"vite-plugin-webfont-dl";function createWebfontPlugin(){return webfont(["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"])}/*! 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 */export{createWebfontPlugin};
|
package/es/stylelint-config.js
CHANGED
|
@@ -1,65 +1 @@
|
|
|
1
|
-
/*! VefFramework version: 1.0.
|
|
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 };
|
|
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 */
|
|
1
|
+
/*! VefFramework version: 1.0.103, build time: 2025-03-07T17:03:52.142Z, made by Venus. */import propertyGroups 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":propertyGroups.map(group=>({...group,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"]}]}}}/*! 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 */export{defineStylelintConfig};
|