@powerlines/plugin-stylelint 0.1.679 → 0.1.681
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 +3 -5
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,8 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
require('./types/index.cjs');
|
|
28
|
+
require("./types/index.cjs");
|
|
30
29
|
let _stryke_fs_get_parent_path = require("@stryke/fs/get-parent-path");
|
|
31
30
|
let _stryke_path_append = require("@stryke/path/append");
|
|
32
31
|
let _stryke_path_join = require("@stryke/path/join");
|
|
@@ -34,7 +33,7 @@ let defu = require("defu");
|
|
|
34
33
|
let stylelint = require("stylelint");
|
|
35
34
|
stylelint = __toESM(stylelint, 1);
|
|
36
35
|
|
|
37
|
-
|
|
36
|
+
// src/index.ts
|
|
38
37
|
/**
|
|
39
38
|
* A Powerlines plugin to assist in linting stylesheets with Stylelint.
|
|
40
39
|
*/
|
|
@@ -83,5 +82,4 @@ function plugin(options = {}) {
|
|
|
83
82
|
};
|
|
84
83
|
}
|
|
85
84
|
|
|
86
|
-
//#endregion
|
|
87
85
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StylelintPluginContext, StylelintPluginOptions, StylelintPluginResolvedConfig, StylelintPluginUserConfig } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
stylelint?: StylelintPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in linting stylesheets with Stylelint.
|
|
12
11
|
*/
|
|
13
12
|
declare function plugin(options?: StylelintPluginOptions): Plugin<StylelintPluginContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { StylelintPluginContext, StylelintPluginOptions, StylelintPluginResolvedConfig, StylelintPluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAiCY;IACR,YAAY;;;;;;iBAOA,OACd,UAAS,yBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StylelintPluginContext, StylelintPluginOptions, StylelintPluginResolvedConfig, StylelintPluginUserConfig } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
stylelint?: StylelintPluginOptions;
|
|
@@ -11,6 +10,5 @@ declare module "powerlines" {
|
|
|
11
10
|
* A Powerlines plugin to assist in linting stylesheets with Stylelint.
|
|
12
11
|
*/
|
|
13
12
|
declare function plugin(options?: StylelintPluginOptions): Plugin<StylelintPluginContext>;
|
|
14
|
-
//#endregion
|
|
15
13
|
export { StylelintPluginContext, StylelintPluginOptions, StylelintPluginResolvedConfig, StylelintPluginUserConfig, plugin };
|
|
16
14
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { joinPaths } from "@stryke/path/join";
|
|
|
5
5
|
import { defu } from "defu";
|
|
6
6
|
import stylelint from "stylelint";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
// src/index.ts
|
|
9
9
|
/**
|
|
10
10
|
* A Powerlines plugin to assist in linting stylesheets with Stylelint.
|
|
11
11
|
*/
|
|
@@ -54,6 +54,5 @@ function plugin(options = {}) {
|
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
//#endregion
|
|
58
57
|
export { plugin };
|
|
59
58
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { FixMode, LinterOptions } from "stylelint";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface StylelintPluginOptions extends Partial<LinterOptions> {
|
|
5
4
|
/**
|
|
6
5
|
* The path to the Stylelint configuration file.
|
|
@@ -36,6 +35,5 @@ interface StylelintPluginResolvedConfig extends ResolvedConfig {
|
|
|
36
35
|
stylelint: StylelintPluginOptions;
|
|
37
36
|
}
|
|
38
37
|
type StylelintPluginContext<TResolvedConfig extends StylelintPluginResolvedConfig = StylelintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
39
|
-
//#endregion
|
|
40
38
|
export { StylelintPluginContext, StylelintPluginOptions, StylelintPluginResolvedConfig, StylelintPluginUserConfig };
|
|
41
39
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;UAqBiB,+BAA+B,QAAQ;;;;EAItD;;;;EAKA;;;;;;EAOA;;;;;;EAOA,gBAAgB;;UAGD,kCAAkC;;;;EAIjD,YAAY;;UAGG,sCAAsC;;;;EAIrD,WAAW;;KAGD,uBACV,wBAAwB,gCACtB,iCACA,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FixMode, LinterOptions } from "stylelint";
|
|
2
2
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface StylelintPluginOptions extends Partial<LinterOptions> {
|
|
5
4
|
/**
|
|
6
5
|
* The path to the Stylelint configuration file.
|
|
@@ -36,6 +35,5 @@ interface StylelintPluginResolvedConfig extends ResolvedConfig {
|
|
|
36
35
|
stylelint: StylelintPluginOptions;
|
|
37
36
|
}
|
|
38
37
|
type StylelintPluginContext<TResolvedConfig extends StylelintPluginResolvedConfig = StylelintPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
39
|
-
//#endregion
|
|
40
38
|
export { StylelintPluginContext, StylelintPluginOptions, StylelintPluginResolvedConfig, StylelintPluginUserConfig };
|
|
41
39
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-stylelint",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.681",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running Stylelint on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -91,20 +91,20 @@
|
|
|
91
91
|
"powerlines-plugin"
|
|
92
92
|
],
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@storm-software/config-tools": "^1.190.
|
|
95
|
-
"@stryke/fs": "^0.33.
|
|
96
|
-
"@stryke/path": "^0.29.
|
|
94
|
+
"@storm-software/config-tools": "^1.190.151",
|
|
95
|
+
"@stryke/fs": "^0.33.118",
|
|
96
|
+
"@stryke/path": "^0.29.43",
|
|
97
97
|
"defu": "^6.1.7",
|
|
98
|
-
"powerlines": "^0.47.
|
|
98
|
+
"powerlines": "^0.47.215",
|
|
99
99
|
"stylelint": "^16.26.1"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
103
|
-
"@types/node": "^25.9.
|
|
102
|
+
"@powerlines/plugin-plugin": "^0.12.628",
|
|
103
|
+
"@types/node": "^25.9.9"
|
|
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": "
|
|
109
|
+
"gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
|
|
110
110
|
}
|