@primer/stylelint-config 0.0.0-2021829191817 → 12.0.0-rc.9e96998
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/CHANGELOG.md +2 -6
- package/package.json +3 -3
- package/plugins/no-deprecated-colors.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 12.0.0
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
7
|
-
- [#129](https://github.com/primer/stylelint-config/pull/129) [`
|
|
8
|
-
|
|
9
|
-
### Patch Changes
|
|
10
|
-
|
|
11
|
-
- Fake entry to force publishing
|
|
7
|
+
- [#129](https://github.com/primer/stylelint-config/pull/129) [`653d596`](https://github.com/primer/stylelint-config/commit/653d596072b897b265b093aac4cd5c143e61410e) Thanks [@jonrohan](https://github.com/jonrohan)! - Renaming the package to use org scope. This is a breaking change, you'll need to uninstall `stylelint-config-primer` and reinstall `@primer/stylelint-config`.
|
|
12
8
|
|
|
13
9
|
## 11.1.1
|
|
14
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0-rc.9e96998",
|
|
4
4
|
"description": "Sharable stylelint config used by GitHub's CSS",
|
|
5
5
|
"homepage": "http://primer.style/css/tools/linting",
|
|
6
6
|
"author": "GitHub, Inc.",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@primer/css": "*",
|
|
40
|
-
"@primer/primitives": "
|
|
40
|
+
"@primer/primitives": ">= 4.6.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@changesets/changelog-github": "0.4.1",
|
|
44
44
|
"@changesets/cli": "2.17.0",
|
|
45
45
|
"@github/prettier-config": "0.0.4",
|
|
46
46
|
"@primer/css": "^13.2.0",
|
|
47
|
-
"@primer/primitives": "^
|
|
47
|
+
"@primer/primitives": "^4.6.7",
|
|
48
48
|
"dedent": "0.7.0",
|
|
49
49
|
"eslint": "7.32.0",
|
|
50
50
|
"eslint-plugin-github": "4.3.0",
|
|
@@ -39,7 +39,7 @@ module.exports = stylelint.createPlugin(ruleName, (enabled, options = {}, contex
|
|
|
39
39
|
const seen = new WeakMap()
|
|
40
40
|
|
|
41
41
|
// eslint-disable-next-line import/no-dynamic-require
|
|
42
|
-
const deprecatedColors = require(options.deprecatedFile || '@primer/primitives/dist/
|
|
42
|
+
const deprecatedColors = require(options.deprecatedFile || '@primer/primitives/dist/deprecations/colors.json')
|
|
43
43
|
|
|
44
44
|
const convertedCSSVars = Object.entries(deprecatedColors)
|
|
45
45
|
.map(([k, v]) => {
|