@bhsd/stylelint-browserify 17.0.0 → 17.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhsd/stylelint-browserify",
3
- "version": "17.0.0",
3
+ "version": "17.1.0",
4
4
  "description": "Stylelint in browser",
5
5
  "keywords": [
6
6
  "stylelint",
@@ -27,22 +27,30 @@
27
27
  },
28
28
  "scripts": {
29
29
  "lint:ts": "tsc && eslint --cache . && eslint --no-ignore --no-config-lookup -c eslint.build.mjs --report-unused-disable-directives-severity 0 build/stylelint*.js",
30
+ "lint:bundle": "eslint --no-ignore --no-config-lookup --rule 'no-unused-vars: 2' build/stylelint.js",
30
31
  "lint:md": "markdownlint-cli2 '**/*.md'",
31
32
  "lint": "npm run lint:ts && npm run lint:md",
32
33
  "build": "npm run bundle && npm run minify",
33
34
  "bundle": "node build.js",
34
35
  "minify": "esbuild index.ts --charset=utf8 --bundle --minify --sourcemap --target=es2019 --outfile=bundle/stylelint.min.js --legal-comments=external",
35
- "test:main": "mocha --no-experimental-require-module --require bundle/stylelint.min.js",
36
- "test": "npm run test:main",
37
- "clean": "find test/tests/ -type f -name '*.mjs' | xargs gsed -i \"s|'../../../testUtils/mergeTestDescriptions.mjs'|'../mergeTestDescriptions.mjs'| ; s|'../../../__tests__/fixtures/postcss-naive-css-in-js.cjs'|'../postcss-naive-css-in-js.mjs'| ; s|'postcss'|'../postcss.mjs'| ; s|'postcss-import'|'../postcss-import.mjs'| ; s|'../../../postcssPlugin.mjs'|'../postcssPlugin.mjs'| ; s|} = rule;|} = {...rule, ruleName: filename(import.meta.url)};|\"; eslint test/tests/*.mjs"
36
+ "coverage": "c8 npm test && node test/coverage.mjs",
37
+ "test": "mocha --no-experimental-require-module",
38
+ "clean": "find test/tests/ -type f -name '*.mjs' | xargs gsed -i \"s|'../../../testUtils/mergeTestDescriptions.mjs'|'../mergeTestDescriptions.mjs'| ; s|'../testUtils/replaceBackslashes.mjs'|'../replaceBackslashes.mjs'| ; s|'../../../__tests__/fixtures/postcss-naive-css-in-js.cjs'|'../postcss-naive-css-in-js.mjs'| ; s|'postcss'|'../postcss.mjs'| ; s|'postcss-import'|'../postcss-import.mjs'| ; s|'../../../postcssPlugin.mjs'|'../postcssPlugin.mjs'| ; s|} = rule;|} = {...rule, ruleName: filename(import.meta.url)};| ; s| Did you mean .*|',|g ; s|codeFilename: .*||g ; s|expect(result.report).toBe('');||g\"; eslint --fix test/tests/*.mjs"
39
+ },
40
+ "c8": {
41
+ "reporter": [
42
+ "json",
43
+ "text"
44
+ ]
38
45
  },
39
46
  "devDependencies": {
40
- "@bhsd/code-standard": "^1.3.2",
47
+ "@bhsd/code-standard": "^1.4.0",
41
48
  "@stylistic/eslint-plugin": "^5.5.0",
42
49
  "@types/mocha": "^10.0.10",
43
50
  "@types/node": "^24.10.1",
44
51
  "@typescript-eslint/eslint-plugin": "^8.46.4",
45
52
  "@typescript-eslint/parser": "^8.46.4",
53
+ "c8": "^10.1.3",
46
54
  "common-tags": "^1.8.2",
47
55
  "esbuild": "^0.25.12",
48
56
  "eslint": "^9.39.1",
@@ -57,7 +65,7 @@
57
65
  "globals": "^16.5.0",
58
66
  "markdownlint-cli2": "^0.19.0",
59
67
  "mocha": "^11.7.5",
60
- "stylelint": "^17.0.0",
68
+ "stylelint": "^17.1.0",
61
69
  "typescript": "^5.9.3"
62
70
  }
63
71
  }