Skip to content

Commit 2ab2d80

Browse files
authored
Merge pull request #1680 from thunderstore-io/12-22-refactor_update_imports_to_use_type-only_imports_in_thunderstore-api_and_related_packages
refactor: update imports to use type-only imports in thunderstore-api and related packages
2 parents a0e0c3c + ce1b390 commit 2ab2d80

File tree

144 files changed

+400
-319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+400
-319
lines changed

apps/cyberstorm-remix/app/c/community.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
NewLink,
2727
SkeletonBox,
2828
} from "@thunderstore/cyberstorm";
29-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
29+
import { classnames } from "@thunderstore/cyberstorm";
3030
import { DapperTs } from "@thunderstore/dapper-ts";
3131

3232
import { type OutletContextShape } from "../root";

apps/cyberstorm-remix/app/commonComponents/CheckboxList/CheckboxList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { memo } from "react";
88
import { type TRISTATE } from "~/commonComponents/types";
99

1010
import { Actionable, NewIcon } from "@thunderstore/cyberstorm";
11-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
11+
import { classnames } from "@thunderstore/cyberstorm";
1212

1313
import "./CheckboxList.css";
1414

apps/cyberstorm-remix/app/commonComponents/Collapsible/Collapsible.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
33
import { type PropsWithChildren, memo } from "react";
44

55
import { NewIcon } from "@thunderstore/cyberstorm";
6-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
6+
import { classnames } from "@thunderstore/cyberstorm";
77

88
import "./Collapsible.css";
99

apps/cyberstorm-remix/app/commonComponents/CollapsibleText/CollapsibleText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { type ReactElement, useState } from "react";
22

3-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
3+
import { classnames } from "@thunderstore/cyberstorm";
44

55
import "./CollapsibleText.css";
66

apps/cyberstorm-remix/app/commonComponents/Connection/Connection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { type ReactElement } from "react";
22

33
import { NewIcon, NewSwitch } from "@thunderstore/cyberstorm";
44
import { type OAuthConnection } from "@thunderstore/dapper/types";
5+
import type { userLinkedAccountDisconnectProviders } from "@thunderstore/thunderstore-api";
56

6-
import { type userLinkedAccountDisconnectProviders } from "../../../../../packages/thunderstore-api/src";
77
import "./Connection.css";
88

99
interface ConnectionProps {

apps/cyberstorm-remix/app/commonComponents/CopyButton/CopyButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
33
import { type Dispatch, type SetStateAction, useState } from "react";
44
import React from "react";
55

6-
import { NewIcon, Tooltip } from "@thunderstore/cyberstorm/src";
6+
import { NewIcon, Tooltip } from "@thunderstore/cyberstorm";
77

88
import "./CopyButton.css";
99

apps/cyberstorm-remix/app/commonComponents/Navigation/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import {
3535
OverwolfLogo,
3636
ThunderstoreLogo,
3737
} from "@thunderstore/cyberstorm";
38-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
38+
import { classnames } from "@thunderstore/cyberstorm";
3939
import { type CurrentUser } from "@thunderstore/dapper/types";
4040

4141
import "./MobileNavigation.css";

apps/cyberstorm-remix/app/commonComponents/PageHeader/PageHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { type PropsWithChildren, type ReactElement, memo } from "react";
22

33
import { Heading, Image } from "@thunderstore/cyberstorm";
4-
import type { HeadingSizes } from "@thunderstore/cyberstorm-theme/src/components";
5-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
4+
import { classnames } from "@thunderstore/cyberstorm";
5+
import type { HeadingSizes } from "@thunderstore/cyberstorm-theme";
66

77
import "./PageHeader.css";
88

apps/cyberstorm-remix/app/commonComponents/RadioGroup/RadioGroup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as RadixRadioGroup from "@radix-ui/react-radio-group";
44
import { memo } from "react";
55

66
import { NewIcon } from "@thunderstore/cyberstorm";
7-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
7+
import { classnames } from "@thunderstore/cyberstorm";
88
import { type Section } from "@thunderstore/dapper/types";
99

1010
import "./RadioGroup.css";

apps/cyberstorm-remix/app/commonComponents/StalenessIndicator/StalenessIndicator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
33
import { type ReactNode } from "react";
44

55
import { NewIcon } from "@thunderstore/cyberstorm";
6-
import { classnames } from "@thunderstore/cyberstorm/src/utils/utils";
6+
import { classnames } from "@thunderstore/cyberstorm";
77

88
import "./StalenessIndicator.css";
99

0 commit comments

Comments
 (0)