@powerlines/plugin-stylelint 0.1.638 → 0.1.640

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.
@@ -19,11 +19,10 @@ var __copyProps = (to, from, except, desc) => {
19
19
  }
20
20
  return to;
21
21
  };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
23
23
  value: mod,
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
 
27
27
  //#endregion
28
-
29
28
  exports.__toESM = __toESM;
package/dist/index.cjs CHANGED
@@ -16,25 +16,26 @@ function plugin(options = {}) {
16
16
  name: "stylelint",
17
17
  async config() {
18
18
  this.debug("Providing default configuration for the Powerlines `stylelint` build plugin.");
19
+ const configFile = (0, _stryke_fs_get_parent_path.getParentPath)([
20
+ "stylelint.config.js",
21
+ "stylelint.config.mjs",
22
+ "stylelint.config.cjs",
23
+ "stylelint.config.ts",
24
+ "stylelint.config.mts",
25
+ "stylelint.config.cts",
26
+ ".stylelintrc.js",
27
+ ".stylelintrc.cjs",
28
+ ".stylelintrc.yaml",
29
+ ".stylelintrc.yml",
30
+ ".stylelintrc.json",
31
+ ".stylelintrc"
32
+ ], this.config.root, {
33
+ ignoreCase: true,
34
+ skipCwd: false,
35
+ includeNameInResults: true
36
+ });
19
37
  return { stylelint: (0, defu.defu)(options, {
20
- configFile: (0, _stryke_fs_get_parent_path.getParentPath)([
21
- "stylelint.config.js",
22
- "stylelint.config.mjs",
23
- "stylelint.config.cjs",
24
- "stylelint.config.ts",
25
- "stylelint.config.mts",
26
- "stylelint.config.cts",
27
- ".stylelintrc.js",
28
- ".stylelintrc.cjs",
29
- ".stylelintrc.yaml",
30
- ".stylelintrc.yml",
31
- ".stylelintrc.json",
32
- ".stylelintrc"
33
- ], this.config.root, {
34
- ignoreCase: true,
35
- skipCwd: false,
36
- includeNameInResults: true
37
- }),
38
+ configFile,
38
39
  cwd: (0, _stryke_path_join.joinPaths)(this.config.cwd, this.config.root),
39
40
  silent: this.config.logLevel !== null,
40
41
  fix: true
package/dist/index.mjs CHANGED
@@ -13,25 +13,26 @@ function plugin(options = {}) {
13
13
  name: "stylelint",
14
14
  async config() {
15
15
  this.debug("Providing default configuration for the Powerlines `stylelint` build plugin.");
16
+ const configFile = getParentPath([
17
+ "stylelint.config.js",
18
+ "stylelint.config.mjs",
19
+ "stylelint.config.cjs",
20
+ "stylelint.config.ts",
21
+ "stylelint.config.mts",
22
+ "stylelint.config.cts",
23
+ ".stylelintrc.js",
24
+ ".stylelintrc.cjs",
25
+ ".stylelintrc.yaml",
26
+ ".stylelintrc.yml",
27
+ ".stylelintrc.json",
28
+ ".stylelintrc"
29
+ ], this.config.root, {
30
+ ignoreCase: true,
31
+ skipCwd: false,
32
+ includeNameInResults: true
33
+ });
16
34
  return { stylelint: defu(options, {
17
- configFile: getParentPath([
18
- "stylelint.config.js",
19
- "stylelint.config.mjs",
20
- "stylelint.config.cjs",
21
- "stylelint.config.ts",
22
- "stylelint.config.mts",
23
- "stylelint.config.cts",
24
- ".stylelintrc.js",
25
- ".stylelintrc.cjs",
26
- ".stylelintrc.yaml",
27
- ".stylelintrc.yml",
28
- ".stylelintrc.json",
29
- ".stylelintrc"
30
- ], this.config.root, {
31
- ignoreCase: true,
32
- skipCwd: false,
33
- includeNameInResults: true
34
- }),
35
+ configFile,
35
36
  cwd: joinPaths(this.config.cwd, this.config.root),
36
37
  silent: this.config.logLevel !== null,
37
38
  fix: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-stylelint",
3
- "version": "0.1.638",
3
+ "version": "0.1.640",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Stylelint on the codebase.",
6
6
  "repository": {
@@ -95,16 +95,16 @@
95
95
  "@stryke/fs": "^0.33.99",
96
96
  "@stryke/path": "^0.29.25",
97
97
  "defu": "^6.1.7",
98
- "powerlines": "^0.47.173",
98
+ "powerlines": "^0.47.175",
99
99
  "stylelint": "^16.26.1"
100
100
  },
101
101
  "devDependencies": {
102
- "@powerlines/plugin-plugin": "^0.12.585",
102
+ "@powerlines/plugin-plugin": "^0.12.587",
103
103
  "@types/node": "^25.9.5"
104
104
  },
105
105
  "publishConfig": { "access": "public" },
106
106
  "main": "./dist/index.cjs",
107
107
  "module": "./dist/index.mjs",
108
108
  "types": "./dist/index.d.cts",
109
- "gitHead": "c31b8b5c808f32f95e006ae20b45d67a23ccead6"
109
+ "gitHead": "f81b909479c2bb719fb63c1c3a94763fa5b737f2"
110
110
  }