@vuebro/configs 1.1.49 → 1.1.51
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/dist/eslint.config.js +14 -14
- package/dist/prettierrc.config.d.ts +2 -2
- package/dist/prettierrc.config.js +2 -2
- package/dist/uno.config.js +2 -2
- package/dist/uno.presets.d.ts +5 -5
- package/dist/uno.presets.js +3 -3
- package/dist/vite.config.js +3 -3
- package/package.json +1 -1
package/dist/eslint.config.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
+
import js from "@eslint/js";
|
|
2
|
+
import json from "@eslint/json";
|
|
3
|
+
import markdown from "@eslint/markdown";
|
|
1
4
|
import { defineConfigWithVueTs, vueTsConfigs, } from "@vue/eslint-config-typescript";
|
|
2
|
-
import
|
|
3
|
-
import { configs as packageJsonConfigs } from "eslint-plugin-package-json";
|
|
4
|
-
import { flatConfigs as importXConfigs } from "eslint-plugin-import-x";
|
|
5
|
+
import gitignore from "eslint-config-flat-gitignore";
|
|
5
6
|
import { configs as deMorganConfigs } from "eslint-plugin-de-morgan";
|
|
6
7
|
import { configs as dependConfigs } from "eslint-plugin-depend";
|
|
7
|
-
import
|
|
8
|
-
import gitignore from "eslint-config-flat-gitignore";
|
|
9
|
-
import vuePug from "eslint-plugin-vue-pug";
|
|
10
|
-
import markdown from "@eslint/markdown";
|
|
8
|
+
import { flatConfigs as importXConfigs } from "eslint-plugin-import-x";
|
|
11
9
|
import jsDoc from "eslint-plugin-jsdoc";
|
|
10
|
+
import { configs as packageJsonConfigs } from "eslint-plugin-package-json";
|
|
11
|
+
import perfectionist from "eslint-plugin-perfectionist";
|
|
12
|
+
import prettierConfigsRecommended from "eslint-plugin-prettier/recommended";
|
|
12
13
|
import vue from "eslint-plugin-vue";
|
|
13
|
-
import
|
|
14
|
-
import js from "@eslint/js";
|
|
14
|
+
import vuePug from "eslint-plugin-vue-pug";
|
|
15
15
|
export default defineConfigWithVueTs(gitignore(), {
|
|
16
|
-
rules: {
|
|
17
|
-
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
|
|
18
|
-
"jsdoc/tag-lines": ["warn", "any", { startLines: 1 }],
|
|
19
|
-
},
|
|
20
16
|
extends: [
|
|
21
17
|
vuePug.configs["flat/recommended"],
|
|
22
18
|
js.configs.recommended,
|
|
23
19
|
vue.configs["flat/recommended"],
|
|
24
20
|
vueTsConfigs.strictTypeChecked,
|
|
25
21
|
vueTsConfigs.stylisticTypeChecked,
|
|
26
|
-
perfectionist.configs["recommended-
|
|
22
|
+
perfectionist.configs["recommended-natural"],
|
|
27
23
|
jsDoc.configs["flat/recommended"],
|
|
28
24
|
],
|
|
29
25
|
files: ["**/*.{ts,vue}"],
|
|
26
|
+
rules: {
|
|
27
|
+
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
|
|
28
|
+
"jsdoc/tag-lines": ["warn", "any", { startLines: 1 }],
|
|
29
|
+
},
|
|
30
30
|
}, deMorganConfigs.recommended, importXConfigs.recommended, importXConfigs.typescript, dependConfigs["flat/recommended"], json.configs.recommended, markdown.configs.recommended, packageJsonConfigs.recommended, prettierConfigsRecommended);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export default {
|
|
2
|
+
endOfLine: "auto",
|
|
3
|
+
jsdocCommentLineStrategy: "keep",
|
|
2
4
|
plugins: [
|
|
3
5
|
"@prettier/plugin-pug",
|
|
4
6
|
"prettier-plugin-jsdoc",
|
|
5
7
|
"prettier-plugin-tailwindcss",
|
|
6
8
|
"prettier-plugin-packagejson",
|
|
7
9
|
],
|
|
8
|
-
jsdocCommentLineStrategy: "keep",
|
|
9
|
-
endOfLine: "auto",
|
|
10
10
|
tsdoc: true,
|
|
11
11
|
};
|
package/dist/uno.config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { transformerCompileClass, transformerVariantGroup, transformerDirectives, defineConfig, } from "unocss";
|
|
2
1
|
import { extractorArbitraryVariants } from "@unocss/extractor-arbitrary-variants";
|
|
3
2
|
import extractorPug from "@unocss/extractor-pug";
|
|
3
|
+
import { defineConfig, transformerCompileClass, transformerDirectives, transformerVariantGroup, } from "unocss";
|
|
4
4
|
export default defineConfig({
|
|
5
|
+
extractors: [extractorPug(), extractorArbitraryVariants()],
|
|
5
6
|
transformers: [
|
|
6
7
|
transformerVariantGroup(),
|
|
7
8
|
transformerDirectives(),
|
|
8
9
|
transformerCompileClass(),
|
|
9
10
|
],
|
|
10
|
-
extractors: [extractorPug(), extractorArbitraryVariants()],
|
|
11
11
|
});
|
package/dist/uno.presets.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { AttributifyOptions } from "@unocss/preset-attributify";
|
|
2
|
-
import type { TypographyOptions } from "@unocss/preset-typography";
|
|
3
2
|
import type { IconsOptions } from "@unocss/preset-icons/browser";
|
|
3
|
+
import type { TagifyOptions } from "@unocss/preset-tagify";
|
|
4
|
+
import type { TypographyOptions } from "@unocss/preset-typography";
|
|
4
5
|
import type { WebFontsOptions } from "@unocss/preset-web-fonts";
|
|
5
6
|
import type { PresetWind4Options } from "@unocss/preset-wind4";
|
|
6
|
-
import type { TagifyOptions } from "@unocss/preset-tagify";
|
|
7
7
|
import type { PresetOrFactoryAwaitable } from "unocss";
|
|
8
|
-
declare const _default: ({
|
|
8
|
+
declare const _default: ({ attributifyOptions, iconsOptions, tagifyOptions, typographyOptions, webFontsOptions, wind4Options, }?: {
|
|
9
9
|
attributifyOptions?: AttributifyOptions;
|
|
10
|
+
iconsOptions?: IconsOptions;
|
|
11
|
+
tagifyOptions?: TagifyOptions;
|
|
10
12
|
typographyOptions?: TypographyOptions;
|
|
11
13
|
webFontsOptions?: WebFontsOptions;
|
|
12
14
|
wind4Options?: PresetWind4Options;
|
|
13
|
-
tagifyOptions?: TagifyOptions;
|
|
14
|
-
iconsOptions?: IconsOptions;
|
|
15
15
|
}) => PresetOrFactoryAwaitable[];
|
|
16
16
|
export default _default;
|
package/dist/uno.presets.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import attributify from "@unocss/preset-attributify";
|
|
2
|
-
import typography from "@unocss/preset-typography";
|
|
3
2
|
import icons from "@unocss/preset-icons/browser";
|
|
4
|
-
import webFonts from "@unocss/preset-web-fonts";
|
|
5
3
|
import tagify from "@unocss/preset-tagify";
|
|
4
|
+
import typography from "@unocss/preset-typography";
|
|
5
|
+
import webFonts from "@unocss/preset-web-fonts";
|
|
6
6
|
import wind4 from "@unocss/preset-wind4";
|
|
7
|
-
export default ({ iconsOptions = { cdn: "https://cdn.jsdelivr.net/npm/" }, wind4Options = { preflights: { reset: true } },
|
|
7
|
+
export default ({ attributifyOptions, iconsOptions = { cdn: "https://cdn.jsdelivr.net/npm/" }, tagifyOptions, typographyOptions, webFontsOptions, wind4Options = { preflights: { reset: true } }, } = {}) => [
|
|
8
8
|
attributify(attributifyOptions),
|
|
9
9
|
icons(iconsOptions),
|
|
10
10
|
tagify(tagifyOptions),
|
package/dist/vite.config.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import tsconfigPaths from "vite-tsconfig-paths";
|
|
1
|
+
import unoCSS from "@unocss/vite";
|
|
3
2
|
import vue from "@vitejs/plugin-vue";
|
|
4
3
|
import { defineConfig } from "vite";
|
|
5
|
-
import
|
|
4
|
+
import vueDevTools from "vite-plugin-vue-devtools";
|
|
5
|
+
import tsconfigPaths from "vite-tsconfig-paths";
|
|
6
6
|
export default defineConfig({
|
|
7
7
|
define: {
|
|
8
8
|
__APP_VERSION__: JSON.stringify(process.env["npm_package_version"]),
|