@primer/stylelint-config 13.4.2-rc.8735ae5 → 13.4.2-rc.dae4ea4
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.mjs +4 -4
- package/package.json +9 -8
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$
|
|
8
|
+
const require$2 = createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
function primitivesVariables(type) {
|
|
11
11
|
const variables = [];
|
|
@@ -35,7 +35,7 @@ function primitivesVariables(type) {
|
|
|
35
35
|
|
|
36
36
|
for (const file of files) {
|
|
37
37
|
// eslint-disable-next-line import/no-dynamic-require
|
|
38
|
-
const data = require$
|
|
38
|
+
const data = require$2(`@primer/primitives/dist/styleLint/${file}`);
|
|
39
39
|
|
|
40
40
|
for (const key of Object.keys(data)) {
|
|
41
41
|
const token = data[key];
|
|
@@ -946,7 +946,7 @@ var noDisplayColors = stylelint.createPlugin(ruleName, (enabled, options = {}) =
|
|
|
946
946
|
|
|
947
947
|
function noop() {}
|
|
948
948
|
|
|
949
|
-
const require = createRequire(import.meta.url);
|
|
949
|
+
const require$1 = createRequire(import.meta.url);
|
|
950
950
|
|
|
951
951
|
/** @type {import('stylelint').Config} */
|
|
952
952
|
var index = {
|
|
@@ -989,7 +989,7 @@ var index = {
|
|
|
989
989
|
'@primer/primitives/dist/css/functional/typography/typography.css',
|
|
990
990
|
'@primer/primitives/dist/css/base/size/size.css',
|
|
991
991
|
'@primer/primitives/dist/css/base/typography/typography.css',
|
|
992
|
-
].map(path => require.resolve(path)),
|
|
992
|
+
].map(path => require$1.resolve(path)),
|
|
993
993
|
},
|
|
994
994
|
],
|
|
995
995
|
'custom-property-pattern': null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/stylelint-config",
|
|
3
|
-
"version": "13.4.2-rc.
|
|
3
|
+
"version": "13.4.2-rc.dae4ea4",
|
|
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.
|
|
59
|
+
"@changesets/cli": "2.29.8",
|
|
60
60
|
"@github/prettier-config": "^0.0.6",
|
|
61
61
|
"@primer/primitives": "^11.4.0",
|
|
62
|
-
"@rollup/plugin-commonjs": "^
|
|
62
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
63
63
|
"@rollup/plugin-json": "^6.1.0",
|
|
64
|
-
"@rollup/plugin-node-resolve": "^
|
|
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": "^
|
|
68
|
+
"eslint-plugin-github": "^6.0.0",
|
|
69
69
|
"eslint-plugin-import": "^2.29.1",
|
|
70
|
-
"eslint-plugin-jest": "^
|
|
70
|
+
"eslint-plugin-jest": "^29.2.1",
|
|
71
71
|
"eslint-plugin-prettier": "^5.1.3",
|
|
72
|
-
"
|
|
73
|
-
"jest
|
|
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"
|