@icebreakers/stylelint-config 5.0.6 → 5.0.8

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/README.md CHANGED
@@ -246,3 +246,9 @@ The underlying plugin supports both Tailwind CSS v3 and v4, and switches automat
246
246
  - Tailwind directives require `postcss.config.*` to include `@icebreakers/stylelint-config` ignore lists; adjust `ignores.addAtRules` when adding new utilities.
247
247
  - If Stylelint cannot resolve the preset, ensure your workspace hoists the package or add it to the specific package `devDependencies`.
248
248
  - Use the generated VS Code settings to avoid duplicate diagnostics from the built-in CSS validation and from ESLint handling CSS files.
249
+
250
+ ## Project links
251
+
252
+ - Documentation: https://repoctl.icebreaker.top
253
+ - Repository: https://github.com/sonofmagic/repoctl/tree/main/packages/stylelint
254
+ - Issues: https://github.com/sonofmagic/repoctl/issues
package/README.zh.md CHANGED
@@ -242,3 +242,9 @@ export default createStylelintConfig({
242
242
  - Tailwind 指令需要在 `postcss.config.*` 中配合忽略列表,否则可能误报,可通过 `ignores.addAtRules` 添加新指令。
243
243
  - 如果 Stylelint 无法解析预设,请确认包已安装在当前 workspace 的 `devDependencies` 中,或已正确 hoist。
244
244
  - 建议使用 CLI 生成的 VS Code 设置,避免内置 CSS 校验、ESLint 与 Stylelint 对样式文件重复报错或冲突修复。
245
+
246
+ ## 项目链接
247
+
248
+ - 文档:https://repoctl.icebreaker.top
249
+ - 仓库:https://github.com/sonofmagic/repoctl/tree/main/packages/stylelint
250
+ - 问题反馈:https://github.com/sonofmagic/repoctl/issues
package/dist/index.js CHANGED
@@ -70,8 +70,7 @@ const requireFromConfig = createRequire(import.meta.url);
70
70
  const BEM_OOCSS_CLASS_NAME_PATTERN = /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*(?:__[a-z0-9]+(?:-[a-z0-9]+)*)*(?:--[a-z0-9]+(?:-[a-z0-9]+)*)*$/;
71
71
  function resolvePresetPath(specifier) {
72
72
  if (!(process.env["ICEBREAKER_STYLELINT_DISABLE_IMPORT_META_RESOLVE"] === "1") && typeof import.meta.resolve === "function") try {
73
- const resolved = import.meta.resolve(specifier);
74
- return fileURLToPath(resolved);
73
+ return fileURLToPath(import.meta.resolve(specifier));
75
74
  } catch {}
76
75
  try {
77
76
  return requireFromConfig.resolve(specifier);
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@icebreakers/stylelint-config",
3
3
  "type": "module",
4
- "version": "5.0.6",
5
- "description": "Stylelint preset from Icebreaker's dev-configs",
4
+ "version": "5.0.8",
5
+ "description": "Stylelint preset from the repoctl development toolchain",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
8
+ "homepage": "https://repoctl.icebreaker.top",
8
9
  "repository": {
9
10
  "type": "git",
10
- "url": "git+https://github.com/sonofmagic/dev-configs.git",
11
+ "url": "git+https://github.com/sonofmagic/repoctl.git",
11
12
  "directory": "packages/stylelint"
12
13
  },
13
14
  "bugs": {
14
- "url": "https://github.com/sonofmagic/dev-configs/issues"
15
+ "url": "https://github.com/sonofmagic/repoctl/issues"
15
16
  },
16
17
  "keywords": [
17
- "dev-configs",
18
+ "repoctl",
18
19
  "icebreakers",
19
20
  "stylelint"
20
21
  ],
@@ -51,7 +52,7 @@
51
52
  "stylelint-config-recommended-vue": "^2.0.0",
52
53
  "stylelint-config-standard-scss": "^17.0.0",
53
54
  "stylelint-order": "^8.1.1",
54
- "stylelint-plugin-tailwindcss": "3.0.6"
55
+ "stylelint-plugin-tailwindcss": "3.0.8"
55
56
  },
56
57
  "publishConfig": {
57
58
  "access": "public",