Fixing dist exports#129
Merged
Merged
Conversation
Collaborator
Author
|
🚀 PR was released in |
For anyone for whom this may have suddenly broke.... you fix this like this: diff --git a/web/app/routes/ecos/show.tsx b/web/app/routes/ecos/show.tsx
index 97a99d400a..7861d23b82 100644
--- a/web/app/routes/ecos/show.tsx
+++ b/web/app/routes/ecos/show.tsx
@@ -7,7 +7,7 @@
import { Table } from "~/components/Table";
import { useState } from "react";
import { requireAuth } from "~/cookies.server";
-import { buttonStyle } from "@oxide/design-system/components/dist";
+import { buttonStyle } from "@oxide/design-system";
export async function loader({ params, request }: Route.LoaderArgs) {
const api = await requireAuth(request);
diff --git a/web/app/routes/index.tsx b/web/app/routes/index.tsx
index a77ba7c2cd..63ad121f99 100644
--- a/web/app/routes/index.tsx
+++ b/web/app/routes/index.tsx
@@ -10,7 +10,7 @@
import { Input } from "~/components/Input";
import { PageTitle } from "~/components/PageTitle";
import { requireAuth } from "~/cookies.server";
-import { buttonStyle } from "@oxide/design-system/components/dist";
+import { buttonStyle } from "@oxide/design-system";
const schema = z.object({
query: z.string({ required_error: "Query is required" }),
diff --git a/web/app/styles/index.css b/web/app/styles/index.css
index 34590c16e7..bc9b1e1d1d 100644
--- a/web/app/styles/index.css
+++ b/web/app/styles/index.css
@@ -9,8 +9,8 @@
@import "tailwindcss/components";
@import "tailwindcss/utilities";
-@import "@oxide/design-system/styles/dist/main.css";
-@import "@oxide/design-system/components/dist/button.css";
+@import "@oxide/design-system/styles/main.css";
+@import "@oxide/design-system/components/button.css";
@import "table.css";
@import "fonts.css";😉 |
Collaborator
Author
|
The person responsible has been fired. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was converting the marketing site, noticed the component css exports needed fixing. Also removed the dist part on the import for neatness.
I guess technically it's breaking, but I shall not be shackled by semver.