@primer/stylelint-config 0.0.0-20260129213711 → 0.0.0-20260129214118

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 CHANGED
@@ -20,7 +20,6 @@ function primitivesVariables(type) {
20
20
  break
21
21
  case 'border':
22
22
  files.push('functional/size/border.json');
23
- files.push('functional/size/radius.json');
24
23
  files.push('functional/themes/light.json');
25
24
  break
26
25
  case 'typography':
@@ -983,7 +982,6 @@ var index = {
983
982
  importFrom: [
984
983
  '@primer/primitives/dist/css/functional/size/size-coarse.css',
985
984
  '@primer/primitives/dist/css/functional/size/border.css',
986
- '@primer/primitives/dist/css/functional/size/radius.css',
987
985
  '@primer/primitives/dist/css/functional/size/size.css',
988
986
  '@primer/primitives/dist/css/functional/size/size-fine.css',
989
987
  '@primer/primitives/dist/css/functional/size/breakpoints.css',
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import valueParser from 'postcss-value-parser';
5
5
  import { createRequire } from 'node:module';
6
6
  import matchAll from 'string.prototype.matchall';
7
7
 
8
- const require$1 = createRequire(import.meta.url);
8
+ const require$2 = createRequire(import.meta.url);
9
9
 
10
10
  function primitivesVariables(type) {
11
11
  const variables = [];
@@ -17,7 +17,6 @@ function primitivesVariables(type) {
17
17
  break
18
18
  case 'border':
19
19
  files.push('functional/size/border.json');
20
- files.push('functional/size/radius.json');
21
20
  files.push('functional/themes/light.json');
22
21
  break
23
22
  case 'typography':
@@ -35,7 +34,7 @@ function primitivesVariables(type) {
35
34
 
36
35
  for (const file of files) {
37
36
  // eslint-disable-next-line import/no-dynamic-require
38
- const data = require$1(`@primer/primitives/dist/styleLint/${file}`);
37
+ const data = require$2(`@primer/primitives/dist/styleLint/${file}`);
39
38
 
40
39
  for (const key of Object.keys(data)) {
41
40
  const token = data[key];
@@ -946,7 +945,7 @@ var noDisplayColors = stylelint.createPlugin(ruleName, (enabled, options = {}) =
946
945
 
947
946
  function noop() {}
948
947
 
949
- const require = createRequire(import.meta.url);
948
+ const require$1 = createRequire(import.meta.url);
950
949
 
951
950
  /** @type {import('stylelint').Config} */
952
951
  var index = {
@@ -980,7 +979,6 @@ var index = {
980
979
  importFrom: [
981
980
  '@primer/primitives/dist/css/functional/size/size-coarse.css',
982
981
  '@primer/primitives/dist/css/functional/size/border.css',
983
- '@primer/primitives/dist/css/functional/size/radius.css',
984
982
  '@primer/primitives/dist/css/functional/size/size.css',
985
983
  '@primer/primitives/dist/css/functional/size/size-fine.css',
986
984
  '@primer/primitives/dist/css/functional/size/breakpoints.css',
@@ -989,7 +987,7 @@ var index = {
989
987
  '@primer/primitives/dist/css/functional/typography/typography.css',
990
988
  '@primer/primitives/dist/css/base/size/size.css',
991
989
  '@primer/primitives/dist/css/base/typography/typography.css',
992
- ].map(path => require.resolve(path)),
990
+ ].map(path => require$1.resolve(path)),
993
991
  },
994
992
  ],
995
993
  'custom-property-pattern': null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/stylelint-config",
3
- "version": "0.0.0-20260129213711",
3
+ "version": "0.0.0-20260129214118",
4
4
  "description": "Sharable stylelint config used by GitHub's CSS",
5
5
  "author": "GitHub, Inc.",
6
6
  "license": "MIT",
@@ -56,21 +56,22 @@
56
56
  "prettier": "@github/prettier-config",
57
57
  "devDependencies": {
58
58
  "@changesets/changelog-github": "^0.5.0",
59
- "@changesets/cli": "2.27.10",
59
+ "@changesets/cli": "2.29.8",
60
60
  "@github/prettier-config": "^0.0.6",
61
- "@primer/primitives": "^11.4.0",
62
- "@rollup/plugin-commonjs": "^28.0.0",
61
+ "@primer/primitives": "^11.3.0",
62
+ "@rollup/plugin-commonjs": "^29.0.0",
63
63
  "@rollup/plugin-json": "^6.1.0",
64
- "@rollup/plugin-node-resolve": "^15.2.3",
64
+ "@rollup/plugin-node-resolve": "^16.0.3",
65
65
  "@typescript-eslint/parser": "^8.0.1",
66
66
  "dedent": "^1.5.3",
67
67
  "eslint": "^8.57.1",
68
- "eslint-plugin-github": "^5.0.1",
68
+ "eslint-plugin-github": "^6.0.0",
69
69
  "eslint-plugin-import": "^2.29.1",
70
- "eslint-plugin-jest": "^28.2.0",
70
+ "eslint-plugin-jest": "^29.2.1",
71
71
  "eslint-plugin-prettier": "^5.1.3",
72
- "jest": "^29.7.0",
73
- "jest-preset-stylelint": "^7.0.0",
72
+ "globals": "^17.2.0",
73
+ "jest": "^30.2.0",
74
+ "jest-preset-stylelint": "^8.0.0",
74
75
  "prettier": "^3.2.5",
75
76
  "rimraf": "^6.0.1",
76
77
  "rollup": "^4.21.1"
@@ -12,7 +12,6 @@ export function primitivesVariables(type) {
12
12
  break
13
13
  case 'border':
14
14
  files.push('functional/size/border.json')
15
- files.push('functional/size/radius.json')
16
15
  files.push('functional/themes/light.json')
17
16
  break
18
17
  case 'typography':