-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement stylelint-bezier
package for easy use of bezier design token
#2412
Implement stylelint-bezier
package for easy use of bezier design token
#2412
Conversation
🦋 Changeset detectedLatest commit: 57e83c2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
37045fe
to
7f4cd75
Compare
Chromatic Report🚀 Congratulations! Your build was successful! |
@@ -76,7 +101,7 @@ const pluginRule: Rule<boolean> = (primary, secondaryOptions = {}) => { | |||
return | |||
} | |||
|
|||
if (!allTokens[tokenName as keyof typeof allTokens]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
z-index-base 의 경우 값이 0이라서 undefined 체크로 변경합니다.
0832853
to
da4b8eb
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2412 +/- ##
=======================================
Coverage 83.85% 83.85%
=======================================
Files 140 140
Lines 2924 2924
Branches 882 895 +13
=======================================
Hits 2452 2452
Misses 467 467
Partials 5 5 ☔ View full report in Codecov by Sentry. |
stylelint-bezier는 bezier-react의 dependency에 위치하지 않아도 될 거 같아요. peerDeps optional 여부를 떠나서 bezier-react의 동작에는 아무런 영향을 주지 않기 때문에 독립적으로 버전 관리하는게 맞다고 생각합니다. 같은 방식이라면 codemod도 peerDeps로 넣어도 이상할 게 없다고 생각해요. 말씀주신 것처럼 매칭되는 버전은 예시처럼 수동으로 README에 추가해서 관리하면 될 거 같습니다. |
아하 그렇네요. 그러면 deps에서 제거하고 README에서 관리하는 것으로 하겠습니다! |
7de6528
to
beb5cb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 생각보다 코드가 간결하네요
마이너) 패키지간 일관성을 위해 eslint 설정도 추가해주시면 감사하겠습니다
'bezier/validate-token': [ | ||
true, | ||
{ | ||
ignorePrefix: ['b-'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
## Version Matchups | ||
|
||
| @channel.io/stylelint-bezier | @channel.io/bezier-react | | ||
| ---------------------------- | ------------------------ | | ||
| 0.1.0 | 2.2.4 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
"dev": "tsc --watch", | ||
"build": "tsc --build --verbose" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clean, typecheck 같은 레포지토리 공용 스크립트도 추가해주세요!
- change export statement so that vscode extension does not throw error - referenced to stylelint-shopify for directory structure
This reverts commit 9af9389.
…r and remove ignore files
7965442
to
57e83c2
Compare
추가하면서 패키지의 .eslintignore 설정을 eslint-config-bezier 설정의 ignorePatterns로 옮겼습니다! |
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @channel.io/[email protected] ### Minor Changes - Release of `stylelint-bezier` package. It includes stylelint configuration for token validation rules to make `bezier-tokens` easy to use. ([#2412](#2412)) by @yangwooseong Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Self Checklist
Related Issue
Summary
Details
--alpha-color-fg-black-darkest
) 까지 사용가능하게 했습니다.2024-08-08.10.31.22.mov
Breaking change? (Yes/No)
References