Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
richardguerre committed Dec 31, 2023
1 parent 9cf8508 commit 42bce2e
Showing 4 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/server/src/graphql/index.ts
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ import { env } from "../env";
export const schema = builder.toSchema();
if (env.NODE_ENV === "development") {
const schemaAsString = printSchema(schema);
const path = Bun.resolveSync("../../../web/src/relay/schema.graphql", import.meta.dir);
await Bun.write(path, schemaAsString);
const path = await Bun.resolve("../../../web/src/relay/schema.graphql", import.meta.dir);
await Bun.write(path, "# @generated\n" + schemaAsString);
console.log("\n✅ GraphQL schema generated into apps/web/src/relay/schema.graphql");
}
2 changes: 1 addition & 1 deletion apps/web/src/views/BrowsePluginsView.tsx
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ import { graphql, useMutation } from "@flowdev/relay";
import { Button } from "@flowdev/ui/Button";
import { BrowsePluginsViewInstallMutation } from "../relay/__generated__/BrowsePluginsViewInstallMutation.graphql";
import { BrowsePluginsViewInstallFromUrlMutation } from "@flowdev/web/relay/__generated__/BrowsePluginsViewInstallFromUrlMutation.graphql";
import { useMemo, useState } from "react";
import { useState } from "react";
import { toast } from "@flowdev/ui/Toast";
import { usePlugins } from "../getPlugin";

Binary file modified bun.lockb
Binary file not shown.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -34,8 +34,6 @@
},
"devDependencies": {
"bun-types": "1.0.4",
"dotenv": "^16.0.2",
"dotenv-expand": "^9.0.0",
"patch-package": "^6.0.2",
"prettier": "3.0.3",
"prettier-plugin-tailwindcss": "^0.2.8",

0 comments on commit 42bce2e

Please sign in to comment.