@ntnyq/eslint-config 2.5.0 → 2.5.1
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/index.cjs +1 -3
- package/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -112,9 +112,7 @@ var hasTypeScript = (0, import_local_pkg.isPackageExists)("typescript");
|
|
|
112
112
|
var hasVue = (0, import_local_pkg.isPackageExists)("vue") || (0, import_local_pkg.isPackageExists)("nuxt") || (0, import_local_pkg.isPackageExists)("vitepress") || (0, import_local_pkg.isPackageExists)("@slidev/cli") || (0, import_local_pkg.isPackageExists)("vue", {
|
|
113
113
|
paths: [(0, import_node_path.resolve)(import_node_process.default.cwd(), "playground")]
|
|
114
114
|
});
|
|
115
|
-
var hasUnoCSS = (0, import_local_pkg.isPackageExists)("unocss") || (0, import_local_pkg.isPackageExists)("unocss",
|
|
116
|
-
paths: [(0, import_node_path.resolve)(import_node_process.default.cwd(), "playground")]
|
|
117
|
-
}) || (0, import_local_pkg.isPackageExists)("@unocss/postcss") || (0, import_local_pkg.isPackageExists)("@unocss/webpack") || (0, import_local_pkg.isPackageExists)("@unocss/nuxt");
|
|
115
|
+
var hasUnoCSS = (0, import_local_pkg.isPackageExists)("unocss") || (0, import_local_pkg.isPackageExists)("@unocss/postcss") || (0, import_local_pkg.isPackageExists)("@unocss/webpack") || (0, import_local_pkg.isPackageExists)("@unocss/nuxt");
|
|
118
116
|
|
|
119
117
|
// src/types.ts
|
|
120
118
|
function defineConfig(configs = []) {
|
package/dist/index.js
CHANGED
|
@@ -6,9 +6,7 @@ var hasTypeScript = isPackageExists("typescript");
|
|
|
6
6
|
var hasVue = isPackageExists("vue") || isPackageExists("nuxt") || isPackageExists("vitepress") || isPackageExists("@slidev/cli") || isPackageExists("vue", {
|
|
7
7
|
paths: [resolve(process.cwd(), "playground")]
|
|
8
8
|
});
|
|
9
|
-
var hasUnoCSS = isPackageExists("unocss") || isPackageExists("unocss"
|
|
10
|
-
paths: [resolve(process.cwd(), "playground")]
|
|
11
|
-
}) || isPackageExists("@unocss/postcss") || isPackageExists("@unocss/webpack") || isPackageExists("@unocss/nuxt");
|
|
9
|
+
var hasUnoCSS = isPackageExists("unocss") || isPackageExists("@unocss/postcss") || isPackageExists("@unocss/webpack") || isPackageExists("@unocss/nuxt");
|
|
12
10
|
|
|
13
11
|
// src/types.ts
|
|
14
12
|
function defineConfig(configs = []) {
|