Skip to content

bump(biome): use v2 #1602

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

Merged
merged 3 commits into from
Jul 19, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 5 additions & 1 deletion apps/backend/src/services/UnkeyService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export const createApiKey = async ({
apiKeyData,
externalId,
uuid,
}: { apiKeyData: CreateAPIKeyRequest; externalId: string; uuid: string }) => {
}: {
apiKeyData: CreateAPIKeyRequest;
externalId: string;
uuid: string;
}) => {
const response = await getUnkey().keys.create({
apiId: UNKEY_API_ID,
prefix: "codemod.com",
Expand Down
6 changes: 5 additions & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@
"outputPath": "./package/"
},
"license": "Apache License, Version 2.0",
"files": ["./dist/index.cjs", "LICENSE", "README.md"],
"files": [
"./dist/index.cjs",
"LICENSE",
"README.md"
],
"publishConfig": {
"access": "public",
"tag": "legacy"
Expand Down
4 changes: 1 addition & 3 deletions apps/cli/src/commands/feedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import { open } from "../utils/open.js";

import { type Printer, chalk } from "@codemod-com/printer";

export const handleFeedbackCommand = async (options: {
printer: Printer;
}) => {
export const handleFeedbackCommand = async (options: { printer: Printer }) => {
const { printer } = options;
const feedbackUrl = "https://go.codemod.com/feedback";

Expand Down
4 changes: 2 additions & 2 deletions apps/cli/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export const handleInitCliCommand = async (options: {

const argvEngine = safeParse(allEnginesSchema, engine);
const inferredCodemodEngine = isSourceAFile
? (await detectCodemodEngine(source as string)) ??
(argvEngine.success ? argvEngine.output : undefined)
? ((await detectCodemodEngine(source as string)) ??
(argvEngine.success ? argvEngine.output : undefined))
: undefined;

const userAnswers = await inquirer.prompt<{
Expand Down
4 changes: 1 addition & 3 deletions apps/cli/src/commands/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ const routeUserToStudioForLogin = (
printer,
);
};
export const handleLoginCliCommand = async (options: {
printer: Printer;
}) => {
export const handleLoginCliCommand = async (options: { printer: Printer }) => {
const { printer } = options;

const userData = await getCurrentUserData();
Expand Down
4 changes: 1 addition & 3 deletions apps/cli/src/commands/logout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import {
credentialsStorage,
} from "#credentials-storage.js";

export const handleLogoutCliCommand = async (options: {
printer: Printer;
}) => {
export const handleLogoutCliCommand = async (options: { printer: Printer }) => {
const { printer } = options;

const userData = await getCurrentUserData();
Expand Down
4 changes: 1 addition & 3 deletions apps/cli/src/commands/whoami.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { type Printer, chalk } from "@codemod-com/printer";
import { getCurrentUserData, getOrgsNames } from "#auth-utils.js";

export const handleWhoAmICommand = async (options: {
printer: Printer;
}) => {
export const handleWhoAmICommand = async (options: { printer: Printer }) => {
const { printer } = options;

const userData = await getCurrentUserData();
Expand Down
1 change: 0 additions & 1 deletion apps/frontend/.husky/pre-commit

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ export const useModGPT = ({
initialMessages,
id,
engine,
}: { initialMessages: Message[]; id?: string; engine: LLMEngine }) => {
}: {
initialMessages: Message[];
id?: string;
engine: LLMEngine;
}) => {
const { setCurrentCommand } = useModStore();

const [token, setToken] = useState<string | null>(null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ export const useInitialMss = () => {
export const useSaveMssgsToLocalStorage = ({
isLoading,
messages,
}: { isLoading: boolean; messages: Message[] }) => {
}: {
isLoading: boolean;
messages: Message[];
}) => {
useEffect(() => {
if (isLoading) {
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,10 @@ export const RunOptions = () => {
function InstructionsContent({
pm,
codemodName,
}: { pm: "pnpm" | "npm"; codemodName: string | null }) {
}: {
pm: "pnpm" | "npm";
codemodName: string | null;
}) {
const npxDialect = useMemo(() => {
if (pm === "pnpm") {
return "pnpx" as const;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,76 +1,76 @@
.panel_panel_header {
@apply flex;
@apply justify-between;
@apply gap-x-0.5;
@apply flex;
@apply justify-between;
@apply gap-x-0.5;
}

.panel_panel_tab {
@apply transition-all;
@apply px-2;
@apply flex-1;
@apply items-center;
@apply flex;
@apply py-1;
@apply bg-white;
@apply dark:bg-gray-darker;
@apply text-gray-text-title;
@apply cursor-pointer;
@apply transition-all;
@apply px-2;
@apply flex-1;
@apply items-center;
@apply flex;
@apply py-1;
@apply bg-white;
@apply dark:bg-gray-darker;
@apply text-gray-text-title;
@apply cursor-pointer;
}

.panel_panel_tab_clicked {
@apply bg-gray-light-darker;
@apply dark:bg-gray-dark;
@apply hover:dark:bg-gray-darker;
@apply hover:bg-gray-bg;
@apply text-gray-text-title;
@apply bg-gray-light-darker;
@apply dark:bg-gray-dark;
@apply hover:dark:bg-gray-darker;
@apply hover:bg-gray-bg;
@apply text-gray-text-title;
}

.panel_panel_tab_active {
@apply bg-gray-bg-light;
@apply hover:bg-gray-bg-light;
@apply dark:bg-gray-darker;
@apply dark:hover:bg-gray-darker;
@apply bg-gray-bg-light;
@apply hover:bg-gray-bg-light;
@apply dark:bg-gray-darker;
@apply dark:hover:bg-gray-darker;
}

.panel_panel_tab_inactive {
@apply bg-gray-lighter;
@apply hover:bg-gray-lighter;
@apply cursor-not-allowed;
@apply dark:bg-gray-darker;
@apply bg-gray-lighter;
@apply hover:bg-gray-lighter;
@apply cursor-not-allowed;
@apply dark:bg-gray-darker;
}

.panel_panel_title {
@apply text-gray-text-normal;
@apply dark:text-gray-text-dark-normal;
@apply flex;
@apply items-center;
@apply w-full;
@apply gap-x-1;
@apply justify-between;
@apply text-gray-text-normal;
@apply dark:text-gray-text-dark-normal;
@apply flex;
@apply items-center;
@apply w-full;
@apply gap-x-1;
@apply justify-between;
}

.collapsable_panel .panel_show_hide_icon {
@apply invisible;
@apply invisible;
}

.hidden_panel_indicator {
@apply flex relative hover:bg-gray-lighter cursor-pointer border-r w-[20px];
@apply flex relative hover:bg-gray-lighter cursor-pointer border-r w-[20px];
}

.hidden_panel_indicator_text {
pointer-events: none;
@apply rotate-[90deg] absolute top-[48px] left-[-7px];
pointer-events: none;
@apply rotate-[90deg] absolute top-[48px] left-[-7px];
}

.hidden_panel_indicator .panel_show_hide_icon {
@apply mt-2;
@apply mt-2;
}

.collapsable_panel .panel_show_hide_icon {
@apply mr-[6px];
@apply hover:bg-gray-lighter;
@apply mr-[6px];
@apply hover:bg-gray-lighter;
}

.collapsable_panel:hover .panel_show_hide_icon {
@apply visible;
}
@apply visible;
}
Loading
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy