-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
⬆ Bump the npm-packages group across 1 directory with 32 updates #2406
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
base: master
Are you sure you want to change the base?
Changes from all commits
9d8d0e6
9006fbe
b0741bf
efdf4ce
1c6b103
9f62936
ffc9659
4874252
e021d7a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| FROM mcr.microsoft.com/playwright:v1.61.1-noble | ||
| FROM mcr.microsoft.com/playwright:v1.62.1-noble | ||
|
|
||
| WORKDIR /app | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,58 +9,58 @@ | |
| // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. | ||
|
|
||
| import { Route as rootRouteImport } from './routes/__root' | ||
| import { Route as SignupRouteImport } from './routes/signup' | ||
| import { Route as ResetPasswordRouteImport } from './routes/reset-password' | ||
| import { Route as RecoverPasswordRouteImport } from './routes/recover-password' | ||
| import { Route as LoginRouteImport } from './routes/login' | ||
| import { Route as LayoutRouteImport } from './routes/_layout' | ||
| import { Route as LoginRouteImport } from './routes/login' | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All changes in Detailsimport argparse
import sys
from collections import Counter
from pathlib import Path
def read_lines(path: Path) -> list[str]:
lines = path.read_text(encoding="utf-8").splitlines()
# Ignore blank lines and strip whitespaces
lines = [line.strip() for line in lines if line.strip()]
return lines
def main() -> int:
parser = argparse.ArgumentParser()
parser.add_argument("left", type=Path)
parser.add_argument("right", type=Path)
args = parser.parse_args()
try:
left = read_lines(args.left)
right = read_lines(args.right)
except OSError as exc:
print(f"error: {exc}", file=sys.stderr)
return 2
# Counter difference is asymmetric, so compute it both ways to catch
# duplicate-count changes (e.g. a line present twice on one side only).
lc, rc = Counter(left), Counter(right)
only_left = lc - rc
only_right = rc - lc
if not only_left and not only_right:
if left == right:
print(f"identical: {len(left)} lines, same order")
else:
moved = sum(1 for a, b in zip(left, right) if a != b)
print(
f"reorder only: {len(left)} lines, same multiset, "
f"{moved} line positions changed"
)
return 0
print(
f"content differs: {args.left} has {len(left)} lines, "
f"{args.right} has {len(right)} lines"
)
for label, counts in (
("only in " + str(args.left), only_left),
("only in " + str(args.right), only_right),
):
if not counts:
continue
total = sum(counts.values())
print(f"\n{label} ({total} line{'s' if total != 1 else ''}):")
for i, (line, count) in enumerate(counts.most_common()):
suffix = f" (x{count})" if count > 1 else ""
print(f" {line!r}{suffix}")
return 1
if __name__ == "__main__":
sys.exit(main()) |
||
| import { Route as RecoverPasswordRouteImport } from './routes/recover-password' | ||
| import { Route as ResetPasswordRouteImport } from './routes/reset-password' | ||
| import { Route as SignupRouteImport } from './routes/signup' | ||
| import { Route as LayoutIndexRouteImport } from './routes/_layout/index' | ||
| import { Route as LayoutSettingsRouteImport } from './routes/_layout/settings' | ||
| import { Route as LayoutItemsRouteImport } from './routes/_layout/items' | ||
| import { Route as LayoutAdminRouteImport } from './routes/_layout/admin' | ||
| import { Route as LayoutItemsRouteImport } from './routes/_layout/items' | ||
| import { Route as LayoutSettingsRouteImport } from './routes/_layout/settings' | ||
|
|
||
| const SignupRoute = SignupRouteImport.update({ | ||
| id: '/signup', | ||
| path: '/signup', | ||
| const LayoutRoute = LayoutRouteImport.update({ | ||
| id: '/_layout', | ||
| getParentRoute: () => rootRouteImport, | ||
| } as any) | ||
| const ResetPasswordRoute = ResetPasswordRouteImport.update({ | ||
| id: '/reset-password', | ||
| path: '/reset-password', | ||
| const LoginRoute = LoginRouteImport.update({ | ||
| id: '/login', | ||
| path: '/login', | ||
| getParentRoute: () => rootRouteImport, | ||
| } as any) | ||
| const RecoverPasswordRoute = RecoverPasswordRouteImport.update({ | ||
| id: '/recover-password', | ||
| path: '/recover-password', | ||
| getParentRoute: () => rootRouteImport, | ||
| } as any) | ||
| const LoginRoute = LoginRouteImport.update({ | ||
| id: '/login', | ||
| path: '/login', | ||
| const ResetPasswordRoute = ResetPasswordRouteImport.update({ | ||
| id: '/reset-password', | ||
| path: '/reset-password', | ||
| getParentRoute: () => rootRouteImport, | ||
| } as any) | ||
| const LayoutRoute = LayoutRouteImport.update({ | ||
| id: '/_layout', | ||
| const SignupRoute = SignupRouteImport.update({ | ||
| id: '/signup', | ||
| path: '/signup', | ||
| getParentRoute: () => rootRouteImport, | ||
| } as any) | ||
| const LayoutIndexRoute = LayoutIndexRouteImport.update({ | ||
| id: '/', | ||
| path: '/', | ||
| getParentRoute: () => LayoutRoute, | ||
| } as any) | ||
| const LayoutSettingsRoute = LayoutSettingsRouteImport.update({ | ||
| id: '/settings', | ||
| path: '/settings', | ||
| const LayoutAdminRoute = LayoutAdminRouteImport.update({ | ||
| id: '/admin', | ||
| path: '/admin', | ||
| getParentRoute: () => LayoutRoute, | ||
| } as any) | ||
| const LayoutItemsRoute = LayoutItemsRouteImport.update({ | ||
| id: '/items', | ||
| path: '/items', | ||
| getParentRoute: () => LayoutRoute, | ||
| } as any) | ||
| const LayoutAdminRoute = LayoutAdminRouteImport.update({ | ||
| id: '/admin', | ||
| path: '/admin', | ||
| const LayoutSettingsRoute = LayoutSettingsRouteImport.update({ | ||
| id: '/settings', | ||
| path: '/settings', | ||
| getParentRoute: () => LayoutRoute, | ||
| } as any) | ||
|
|
||
|
|
@@ -140,18 +140,18 @@ export interface RootRouteChildren { | |
|
|
||
| declare module '@tanstack/react-router' { | ||
| interface FileRoutesByPath { | ||
| '/signup': { | ||
| id: '/signup' | ||
| path: '/signup' | ||
| fullPath: '/signup' | ||
| preLoaderRoute: typeof SignupRouteImport | ||
| '/_layout': { | ||
| id: '/_layout' | ||
| path: '' | ||
| fullPath: '/' | ||
| preLoaderRoute: typeof LayoutRouteImport | ||
| parentRoute: typeof rootRouteImport | ||
| } | ||
| '/reset-password': { | ||
| id: '/reset-password' | ||
| path: '/reset-password' | ||
| fullPath: '/reset-password' | ||
| preLoaderRoute: typeof ResetPasswordRouteImport | ||
| '/login': { | ||
| id: '/login' | ||
| path: '/login' | ||
| fullPath: '/login' | ||
| preLoaderRoute: typeof LoginRouteImport | ||
| parentRoute: typeof rootRouteImport | ||
| } | ||
| '/recover-password': { | ||
|
|
@@ -161,18 +161,18 @@ declare module '@tanstack/react-router' { | |
| preLoaderRoute: typeof RecoverPasswordRouteImport | ||
| parentRoute: typeof rootRouteImport | ||
| } | ||
| '/login': { | ||
| id: '/login' | ||
| path: '/login' | ||
| fullPath: '/login' | ||
| preLoaderRoute: typeof LoginRouteImport | ||
| '/reset-password': { | ||
| id: '/reset-password' | ||
| path: '/reset-password' | ||
| fullPath: '/reset-password' | ||
| preLoaderRoute: typeof ResetPasswordRouteImport | ||
| parentRoute: typeof rootRouteImport | ||
| } | ||
| '/_layout': { | ||
| id: '/_layout' | ||
| path: '' | ||
| fullPath: '/' | ||
| preLoaderRoute: typeof LayoutRouteImport | ||
| '/signup': { | ||
| id: '/signup' | ||
| path: '/signup' | ||
| fullPath: '/signup' | ||
| preLoaderRoute: typeof SignupRouteImport | ||
| parentRoute: typeof rootRouteImport | ||
| } | ||
| '/_layout/': { | ||
|
|
@@ -182,11 +182,11 @@ declare module '@tanstack/react-router' { | |
| preLoaderRoute: typeof LayoutIndexRouteImport | ||
| parentRoute: typeof LayoutRoute | ||
| } | ||
| '/_layout/settings': { | ||
| id: '/_layout/settings' | ||
| path: '/settings' | ||
| fullPath: '/settings' | ||
| preLoaderRoute: typeof LayoutSettingsRouteImport | ||
| '/_layout/admin': { | ||
| id: '/_layout/admin' | ||
| path: '/admin' | ||
| fullPath: '/admin' | ||
| preLoaderRoute: typeof LayoutAdminRouteImport | ||
| parentRoute: typeof LayoutRoute | ||
| } | ||
| '/_layout/items': { | ||
|
|
@@ -196,11 +196,11 @@ declare module '@tanstack/react-router' { | |
| preLoaderRoute: typeof LayoutItemsRouteImport | ||
| parentRoute: typeof LayoutRoute | ||
| } | ||
| '/_layout/admin': { | ||
| id: '/_layout/admin' | ||
| path: '/admin' | ||
| fullPath: '/admin' | ||
| preLoaderRoute: typeof LayoutAdminRouteImport | ||
| '/_layout/settings': { | ||
| id: '/_layout/settings' | ||
| path: '/settings' | ||
| fullPath: '/settings' | ||
| preLoaderRoute: typeof LayoutSettingsRouteImport | ||
| parentRoute: typeof LayoutRoute | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ | |
| "noUnusedLocals": true, | ||
| "noUnusedParameters": true, | ||
| "noFallthroughCasesInSwitch": true, | ||
| "baseUrl": ".", | ||
| "types": ["node"], | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| "paths": { | ||
|
YuriiMotov marked this conversation as resolved.
|
||
| "@/*": ["./src/*"] | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ export default defineConfig({ | |
| }, | ||
| resolve: { | ||
| alias: { | ||
| "@": path.resolve(__dirname, "./src"), | ||
| "@": path.resolve(import.meta.dirname, "./src"), | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To address warning:
YuriiMotov marked this conversation as resolved.
|
||
| }, | ||
| }, | ||
| plugins: [ | ||
|
|
||
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.
Biome 2.5.4 started linting .svg files. Checking title in .svg-files is useless - alt text is usually provided as
<alt>, and it's checked by another rule (useAltText).We disable
noSvgWithoutTitlefor svg-files only, but keep checking this for inlined .svg-files