From 864dd2adec873e4e37af3b43b888ed2445ddbc9c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 23 Apr 2024 15:42:49 +0000 Subject: [PATCH] Version Packages --- .changeset/giant-kangaroos-provide.md | 5 ----- .changeset/proud-ducks-retire.md | 5 ----- .changeset/real-goats-applaud.md | 5 ----- .changeset/thick-lions-call.md | 12 ------------ .changeset/wicked-cobras-juggle.md | 5 ----- CHANGELOG.md | 27 +++++++++++++++++++++++++-- package.json | 2 +- 7 files changed, 26 insertions(+), 35 deletions(-) delete mode 100644 .changeset/giant-kangaroos-provide.md delete mode 100644 .changeset/proud-ducks-retire.md delete mode 100644 .changeset/real-goats-applaud.md delete mode 100644 .changeset/thick-lions-call.md delete mode 100644 .changeset/wicked-cobras-juggle.md diff --git a/.changeset/giant-kangaroos-provide.md b/.changeset/giant-kangaroos-provide.md deleted file mode 100644 index 82312709..00000000 --- a/.changeset/giant-kangaroos-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/stylelint-config": minor ---- - -Update config to alloy nesting in css modules diff --git a/.changeset/proud-ducks-retire.md b/.changeset/proud-ducks-retire.md deleted file mode 100644 index 92e12242..00000000 --- a/.changeset/proud-ducks-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/stylelint-config": major ---- - -Removing `primer/no-experimental-vars` plugin from config. diff --git a/.changeset/real-goats-applaud.md b/.changeset/real-goats-applaud.md deleted file mode 100644 index 55197090..00000000 --- a/.changeset/real-goats-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/stylelint-config": minor ---- - -Change config to accept multiple file types `.css, .scss, .modules.css, .tsx, .pcss` diff --git a/.changeset/thick-lions-call.md b/.changeset/thick-lions-call.md deleted file mode 100644 index 826c3d13..00000000 --- a/.changeset/thick-lions-call.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@primer/stylelint-config": major ---- - -**BREAKING CHANGE:** Removing plugins from the config. - -* primer/new-color-vars-have-fallback -* primer/no-deprecated-colors -* primer/no-override -* primer/no-scale-colors -* primer/no-undefined-vars -* primer/no-unused-vars diff --git a/.changeset/wicked-cobras-juggle.md b/.changeset/wicked-cobras-juggle.md deleted file mode 100644 index 39e9d7cd..00000000 --- a/.changeset/wicked-cobras-juggle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/stylelint-config": major ---- - -Upgrade to latest stylelint and make esm the default module format diff --git a/CHANGELOG.md b/CHANGELOG.md index a7baf2ef..c6568044 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 13.0.0 + +### Major Changes + +- [#397](https://github.com/primer/stylelint-config/pull/397) [`255a3c4`](https://github.com/primer/stylelint-config/commit/255a3c4cebb453243978b24f35516ed55443c81e) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing `primer/no-experimental-vars` plugin from config. + +- [#401](https://github.com/primer/stylelint-config/pull/401) [`0a7bc7e`](https://github.com/primer/stylelint-config/commit/0a7bc7eeaec4b6ea63cbc7bda150ea61a3b5d346) Thanks [@jonrohan](https://github.com/jonrohan)! - **BREAKING CHANGE:** Removing plugins from the config. + + - primer/new-color-vars-have-fallback + - primer/no-deprecated-colors + - primer/no-override + - primer/no-scale-colors + - primer/no-undefined-vars + - primer/no-unused-vars + +- [#397](https://github.com/primer/stylelint-config/pull/397) [`255a3c4`](https://github.com/primer/stylelint-config/commit/255a3c4cebb453243978b24f35516ed55443c81e) Thanks [@jonrohan](https://github.com/jonrohan)! - Upgrade to latest stylelint and make esm the default module format + +### Minor Changes + +- [#403](https://github.com/primer/stylelint-config/pull/403) [`2c9e2de`](https://github.com/primer/stylelint-config/commit/2c9e2de5ea64754587109098352fef80718b9b30) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Update config to alloy nesting in css modules + +- [#368](https://github.com/primer/stylelint-config/pull/368) [`0ed9a47`](https://github.com/primer/stylelint-config/commit/0ed9a4723cc1c5a1d7bbd2a36da064e76634d1b9) Thanks [@jonrohan](https://github.com/jonrohan)! - Change config to accept multiple file types `.css, .scss, .modules.css, .tsx, .pcss` + ## 12.9.2 ### Patch Changes @@ -267,9 +290,9 @@ - Variable replacements for autofixing are automatically detected in variable data from Primer CSS (see: https://github.com/primer/css/pull/949) #52 - It is now possible to define variable rules using functions that take the variables, as in: ```js - module.exports = createVariableRule('primer/whatever', ({variables}) => { + module.exports = createVariableRule("primer/whatever", ({ variables }) => { /* do something with variables here */ - }) + }); ``` - It's also now possible to provide rule _overrides_ in local stylelint configs as functions: ```js diff --git a/package.json b/package.json index 90a0d136..ee1192b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/stylelint-config", - "version": "12.9.2", + "version": "13.0.0", "description": "Sharable stylelint config used by GitHub's CSS", "author": "GitHub, Inc.", "license": "MIT",