@skaldapp/configs 1.2.55 → 1.2.57
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.d.ts
CHANGED
package/dist/eslint.config.js
CHANGED
|
@@ -13,6 +13,7 @@ import prettierConfigsRecommended from "eslint-plugin-prettier/recommended";
|
|
|
13
13
|
import { configs as sonarjsConfigs } from "eslint-plugin-sonarjs";
|
|
14
14
|
import vue from "eslint-plugin-vue";
|
|
15
15
|
import vuePug from "eslint-plugin-vue-pug";
|
|
16
|
+
const alphabetical = true, bundledDependencies = false, devDependencies = ["*.config.ts"], files = ["**/*.{ts,vue}"], optionalDependencies = false, peerDependencies = false, startLines = 1, whitelist = ["electron", "@skaldapp/configs"];
|
|
16
17
|
export default defineConfigWithVueTs(gitignore(), {
|
|
17
18
|
extends: [
|
|
18
19
|
vuePug.configs["flat/recommended"],
|
|
@@ -24,20 +25,20 @@ export default defineConfigWithVueTs(gitignore(), {
|
|
|
24
25
|
unocss,
|
|
25
26
|
jsDoc.configs["flat/recommended-typescript"],
|
|
26
27
|
],
|
|
27
|
-
files
|
|
28
|
+
files,
|
|
28
29
|
rules: {
|
|
29
30
|
"@typescript-eslint/no-use-before-define": ["error", "nofunc"],
|
|
30
31
|
"import-x/no-extraneous-dependencies": [
|
|
31
32
|
"error",
|
|
32
33
|
{
|
|
33
|
-
bundledDependencies
|
|
34
|
-
devDependencies
|
|
35
|
-
optionalDependencies
|
|
36
|
-
peerDependencies
|
|
37
|
-
whitelist
|
|
34
|
+
bundledDependencies,
|
|
35
|
+
devDependencies,
|
|
36
|
+
optionalDependencies,
|
|
37
|
+
peerDependencies,
|
|
38
|
+
whitelist,
|
|
38
39
|
},
|
|
39
40
|
],
|
|
40
|
-
"jsdoc/tag-lines": ["warn", "any", { startLines
|
|
41
|
-
"vue/attributes-order": ["warn", { alphabetical
|
|
41
|
+
"jsdoc/tag-lines": ["warn", "any", { startLines }],
|
|
42
|
+
"vue/attributes-order": ["warn", { alphabetical }],
|
|
42
43
|
},
|
|
43
44
|
}, sonarjsConfigs.recommended, deMorganConfigs.recommended, importXConfigs.recommended, importXConfigs.typescript, dependConfigs["flat/recommended"], json.configs.recommended, packageJsonConfigs.recommended, packageJsonConfigs.stylistic, prettierConfigsRecommended);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
const endOfLine = "auto", jsdocCommentLineStrategy = "keep", plugins = [
|
|
2
|
+
"@prettier/plugin-pug",
|
|
3
|
+
"prettier-plugin-jsdoc",
|
|
4
|
+
"prettier-plugin-packagejson",
|
|
5
|
+
], tsdoc = true;
|
|
1
6
|
export default {
|
|
2
|
-
endOfLine
|
|
3
|
-
jsdocCommentLineStrategy
|
|
4
|
-
plugins
|
|
5
|
-
|
|
6
|
-
"prettier-plugin-jsdoc",
|
|
7
|
-
"prettier-plugin-packagejson",
|
|
8
|
-
],
|
|
9
|
-
tsdoc: true,
|
|
7
|
+
endOfLine,
|
|
8
|
+
jsdocCommentLineStrategy,
|
|
9
|
+
plugins,
|
|
10
|
+
tsdoc,
|
|
10
11
|
};
|
package/dist/uno.config.js
CHANGED
|
@@ -4,11 +4,9 @@ import transformerCompileClass from "@unocss/transformer-compile-class";
|
|
|
4
4
|
import transformerDirectives from "@unocss/transformer-directives";
|
|
5
5
|
import transformerVariantGroup from "@unocss/transformer-variant-group";
|
|
6
6
|
import { defineConfig } from "@unocss/vite";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
],
|
|
14
|
-
});
|
|
7
|
+
const extractors = [extractorPug(), extractorArbitraryVariants()], transformers = [
|
|
8
|
+
transformerVariantGroup(),
|
|
9
|
+
transformerDirectives(),
|
|
10
|
+
transformerCompileClass(),
|
|
11
|
+
];
|
|
12
|
+
export default defineConfig({ extractors, transformers });
|
package/dist/uno.presets.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Preset } from "@unocss/core";
|
|
2
1
|
import type { AttributifyOptions } from "@unocss/preset-attributify";
|
|
3
2
|
import type { IconsOptions } from "@unocss/preset-icons/browser";
|
|
4
3
|
import type { TagifyOptions } from "@unocss/preset-tagify";
|
|
@@ -12,5 +11,5 @@ declare const _default: ({ attributifyOptions, iconsOptions, tagifyOptions, typo
|
|
|
12
11
|
typographyOptions?: TypographyOptions;
|
|
13
12
|
webFontsOptions?: WebFontsOptions;
|
|
14
13
|
wind4Options?: PresetWind4Options;
|
|
15
|
-
}) => Preset[];
|
|
14
|
+
}) => (import("@unocss/core").Preset<import("@unocss/preset-wind4").Theme> | import("@unocss/core").Preset<object> | import("@unocss/core").Preset<any> | import("@unocss/core").Preset<import("@unocss/preset-typography").TypographyTheme>)[];
|
|
16
15
|
export default _default;
|
package/dist/uno.presets.js
CHANGED
|
@@ -4,11 +4,12 @@ import { presetTagify } from "@unocss/preset-tagify";
|
|
|
4
4
|
import { presetTypography } from "@unocss/preset-typography";
|
|
5
5
|
import { presetWebFonts } from "@unocss/preset-web-fonts";
|
|
6
6
|
import { presetWind4 } from "@unocss/preset-wind4";
|
|
7
|
+
const cdn = "https://cdn.jsdelivr.net/npm/", reset = true, preflights = { reset };
|
|
7
8
|
export default ({ attributifyOptions, iconsOptions, tagifyOptions, typographyOptions, webFontsOptions, wind4Options, } = {}) => [
|
|
8
|
-
presetWind4({ preflights
|
|
9
|
+
presetWind4({ preflights, ...wind4Options }),
|
|
9
10
|
presetAttributify(attributifyOptions),
|
|
10
11
|
presetTagify(tagifyOptions),
|
|
11
|
-
presetIcons({ cdn
|
|
12
|
+
presetIcons({ cdn, ...iconsOptions }),
|
|
12
13
|
presetWebFonts(webFontsOptions),
|
|
13
14
|
presetTypography(typographyOptions),
|
|
14
15
|
];
|
package/dist/vite.config.js
CHANGED
|
@@ -3,10 +3,7 @@ import vue from "@vitejs/plugin-vue";
|
|
|
3
3
|
import { defineConfig } from "vite";
|
|
4
4
|
import vueDevTools from "vite-plugin-vue-devtools";
|
|
5
5
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
plugins: [vue(), vueDevTools(), unoCSS(), tsconfigPaths()],
|
|
12
|
-
});
|
|
6
|
+
const base = "./", define = {
|
|
7
|
+
__APP_VERSION__: JSON.stringify(process.env["npm_package_version"]),
|
|
8
|
+
}, plugins = [vue(), vueDevTools(), unoCSS(), tsconfigPaths()];
|
|
9
|
+
export default defineConfig({ base, define, plugins });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://www.schemastore.org/package",
|
|
3
3
|
"name": "@skaldapp/configs",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.57",
|
|
5
5
|
"description": "A comprehensive collection of shared configuration files for Vue.js projects with TypeScript, ESLint, Prettier, UnoCSS, and Vite, featuring Pug support",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"vue",
|