Skip to content
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

chore: updated biome and yarn #8372

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
324 changes: 162 additions & 162 deletions .yarn/releases/yarn-4.4.1.cjs → .yarn/releases/yarn-4.5.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.1.cjs
yarnPath: .yarn/releases/yarn-4.5.0.cjs
8 changes: 6 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"useSemanticElements": "off"
},
"correctness": {
"noUnsafeOptionalChaining": "off",
"useExhaustiveDependencies": "off",
Expand All @@ -15,7 +18,8 @@
"noUselessConstructor": "off",
"useOptionalChain": "warn",
"noStaticOnlyClass": "off",
"noForEach": "off"
"noForEach": "off",
"noUselessFragments": "off"
},
"style": {
"noNonNullAssertion": "off",
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.1.cjs
yarnPath: .yarn/releases/yarn-4.5.0.cjs
4 changes: 2 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"gen:api:clean": "yarn gen:api && rm -rf src/openapi/apis && sed -i.bak '1q' src/openapi/index.ts && rm src/openapi/index.ts.bak"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "1.9.3",
"@codemirror/lang-json": "6.0.1",
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
Expand Down Expand Up @@ -155,7 +155,7 @@
"last 1 safari version"
]
},
"packageManager": "yarn@4.4.1",
"packageManager": "yarn@4.5.0",
"dependencies": {
"json-2-csv": "^5.5.5"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const FeatureToggleListTable: VFC = () => {

const variant =
featureSearchFeedback !== false
? featureSearchFeedback?.name ?? ''
? (featureSearchFeedback?.name ?? '')
: '';

const { openFeedback } = useFeedback(
Expand Down
20 changes: 10 additions & 10 deletions frontend/src/themes/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ html {

body {
min-height: 100%;
font-family: 'Sen', sans-serif;
font-family: "Sen", sans-serif;
font-size: 16px;
font-variant-ligatures: none;
padding: 0;
Expand All @@ -19,7 +19,7 @@ body {
}

button {
font-family: 'Sen', sans-serif;
font-family: "Sen", sans-serif;
font-variant-ligatures: none;
}

Expand All @@ -43,7 +43,7 @@ button {
}

.skeleton::before {
content: '';
content: "";
position: absolute;
top: 0px;
right: 0;
Expand All @@ -61,7 +61,7 @@ button {
left: 0;
transform: translateX(-100%);
animation: shimmer 3s infinite;
content: '';
content: "";
z-index: 5001;
}

Expand Down Expand Up @@ -104,8 +104,8 @@ button {
--dropdownMenuWidth: 200px;

/* BOX SHADOWS */
--chip-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
--chip-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px
rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);

/* BORDERS */
--default-border: 1px solid #f1f1f1;
Expand Down Expand Up @@ -152,10 +152,10 @@ a:hover {
}
}

input.hide-clear[type='search']::-webkit-search-decoration,
input.hide-clear[type='search']::-webkit-search-cancel-button,
input.hide-clear[type='search']::-webkit-search-results-button,
input.hide-clear[type='search']::-webkit-search-results-decoration {
input.hide-clear[type="search"]::-webkit-search-decoration,
input.hide-clear[type="search"]::-webkit-search-cancel-button,
input.hide-clear[type="search"]::-webkit-search-results-button,
input.hide-clear[type="search"]::-webkit-search-results-decoration {
display: none;
}

Expand Down
76 changes: 38 additions & 38 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -360,18 +360,18 @@ __metadata:
languageName: node
linkType: hard

"@biomejs/biome@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/biome@npm:1.8.3"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:1.8.3"
"@biomejs/cli-darwin-x64": "npm:1.8.3"
"@biomejs/cli-linux-arm64": "npm:1.8.3"
"@biomejs/cli-linux-arm64-musl": "npm:1.8.3"
"@biomejs/cli-linux-x64": "npm:1.8.3"
"@biomejs/cli-linux-x64-musl": "npm:1.8.3"
"@biomejs/cli-win32-arm64": "npm:1.8.3"
"@biomejs/cli-win32-x64": "npm:1.8.3"
"@biomejs/biome@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/biome@npm:1.9.3"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:1.9.3"
"@biomejs/cli-darwin-x64": "npm:1.9.3"
"@biomejs/cli-linux-arm64": "npm:1.9.3"
"@biomejs/cli-linux-arm64-musl": "npm:1.9.3"
"@biomejs/cli-linux-x64": "npm:1.9.3"
"@biomejs/cli-linux-x64-musl": "npm:1.9.3"
"@biomejs/cli-win32-arm64": "npm:1.9.3"
"@biomejs/cli-win32-x64": "npm:1.9.3"
dependenciesMeta:
"@biomejs/cli-darwin-arm64":
optional: true
Expand All @@ -391,62 +391,62 @@ __metadata:
optional: true
bin:
biome: bin/biome
checksum: 10c0/95fe99ce82cd8242f1be51cbf3ac26043b253f5a369d3dc24df09bdb32ec04dba679b1d4fa8b9d602b1bf2c30ecd80af14aa8f5c92d6e0cd6214a99a1099a65b
checksum: 10c0/20cede5918c6a21d2f6ee4306e2bf395cb9ea4baef68e4f91b7fa3735102a626b565cdc1d4d21ad76faacc1fdf8fd23bdda563bb80906a777ba0bfd2189f41c9
languageName: node
linkType: hard

"@biomejs/cli-darwin-arm64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-darwin-arm64@npm:1.8.3"
"@biomejs/cli-darwin-arm64@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-darwin-arm64@npm:1.9.3"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@biomejs/cli-darwin-x64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-darwin-x64@npm:1.8.3"
"@biomejs/cli-darwin-x64@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-darwin-x64@npm:1.9.3"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@biomejs/cli-linux-arm64-musl@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.8.3"
"@biomejs/cli-linux-arm64-musl@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-linux-arm64-musl@npm:1.9.3"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@biomejs/cli-linux-arm64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-arm64@npm:1.8.3"
"@biomejs/cli-linux-arm64@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-linux-arm64@npm:1.9.3"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@biomejs/cli-linux-x64-musl@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-x64-musl@npm:1.8.3"
"@biomejs/cli-linux-x64-musl@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-linux-x64-musl@npm:1.9.3"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@biomejs/cli-linux-x64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-linux-x64@npm:1.8.3"
"@biomejs/cli-linux-x64@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-linux-x64@npm:1.9.3"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@biomejs/cli-win32-arm64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-win32-arm64@npm:1.8.3"
"@biomejs/cli-win32-arm64@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-win32-arm64@npm:1.9.3"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@biomejs/cli-win32-x64@npm:1.8.3":
version: 1.8.3
resolution: "@biomejs/cli-win32-x64@npm:1.8.3"
"@biomejs/cli-win32-x64@npm:1.9.3":
version: 1.9.3
resolution: "@biomejs/cli-win32-x64@npm:1.9.3"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -9745,7 +9745,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "unleash-frontend-local@workspace:."
dependencies:
"@biomejs/biome": "npm:1.8.3"
"@biomejs/biome": "npm:1.9.3"
"@codemirror/lang-json": "npm:6.0.1"
"@emotion/react": "npm:11.11.4"
"@emotion/styled": "npm:11.11.5"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"devDependencies": {
"@apidevtools/swagger-parser": "10.1.0",
"@babel/core": "7.25.2",
"@biomejs/biome": "^1.8.3",
"@biomejs/biome": "^1.9.3",
"@cyclonedx/yarn-plugin-cyclonedx": "^1.0.0-rc.7",
"@swc/core": "1.7.26",
"@swc/jest": "0.2.36",
Expand Down Expand Up @@ -249,5 +249,5 @@
"yarn biome format --write --no-errors-on-unmatched"
]
},
"packageManager": "yarn@4.4.1"
"packageManager": "yarn@4.5.0"
}

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion website/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarnPath: .yarn/releases/yarn-4.4.1.cjs
yarnPath: .yarn/releases/yarn-4.5.0.cjs
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@
"replace-in-file": "7.2.0",
"typescript": "5.4.5"
},
"packageManager": "yarn@4.4.1"
"packageManager": "yarn@4.5.0"
}
18 changes: 13 additions & 5 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,22 @@ main img {
box-shadow: var(--ifm-global-shadow-lw);
}

main p>img:not([src^="https://img.shields.io/" i], [src*="badge.svg?branch=" i])
{
main
p
> img:not(
[src^="https://img.shields.io/" i],
[src*="badge.svg?branch=" i]
) {
/* give inline images a border */
border: var(--ifm-global-border-width) solid var(--unleash-color-gray);
}

main :is(p, figure)>img:not([src^="https://img.shields.io/" i], [src*="badge.svg?branch=" i])
{
main
:is(p, figure)
> img:not(
[src^="https://img.shields.io/" i],
[src*="badge.svg?branch=" i]
) {
/* round corners to match the rest of the page */
border-radius: var(--ifm-global-radius);

Expand Down Expand Up @@ -226,7 +234,7 @@ li.theme-doc-sidebar-item-category-level-1 > div::before {
}

.unleash-video-container iframe {
aspect-ratio: 16/9;
aspect-ratio: 16 / 9;
}

/* end video content container */
Expand Down
Loading
Loading