Fix build

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-06-10 13:58:56 -07:00
committed by Sacha Al Himdani
parent 6c3de607f2
commit c38a46a4de
9 changed files with 1559 additions and 4529 deletions

View File

@@ -52,7 +52,7 @@ type Props<Params> = {
// Mutation to attach a control (will receive {controlId, ...params})
onAttach?: Mutation<Params>;
// Allow sorting in the table
refetch: Pick<ComponentProps<typeof SortableTable>, "refetch">;
refetch: ComponentProps<typeof SortableTable>["refetch"];
};
/**

View File

@@ -1,6 +1,5 @@
import {
graphql,
useFragment,
useMutation,
useRefetchableFragment,
} from "react-relay";

View File

@@ -1,2 +0,0 @@
schema: "pkg/server/api/console/v1/schema.graphql"
documents: []

6068
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
"node": "22.x"
},
"workspaces": [
"apps/*",
"apps/console2",
"packages/*"
],
"scripts": {

View File

@@ -7,7 +7,7 @@
"@types/react": "^19.1.2"
},
"peerDependencies": {
"react": "^18.0"
"react": "^19.0"
},
"description": "",
"keywords": [],

View File

@@ -10,7 +10,7 @@ function getAbsolutePath(value: string): any {
return dirname(require.resolve(join(value, "package.json")));
}
const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
getAbsolutePath("@storybook/addon-essentials"),
getAbsolutePath("@chromatic-com/storybook"),

View File

@@ -7,7 +7,6 @@
"scripts": {
"lint": "eslint .",
"dev": "storybook dev -p 6006 --no-open",
"build": "storybook build",
"check": "tsc --noEmit -p tsconfig.app.json",
"icons": "bun run src/Atoms/Icons/generator.ts"
},
@@ -37,6 +36,7 @@
"@chromatic-com/storybook": "^3.2.6",
"@eslint/js": "^9.25.0",
"@probo/prettier": "1.0.0",
"@rollup/pluginutils": "^5.1.4",
"@storybook/addon-essentials": "^8.6.13",
"@storybook/blocks": "^8.6.13",
"@storybook/experimental-addon-test": "^8.6.13",
@@ -57,6 +57,7 @@
"playwright": "^1.52.0",
"prettier": "^3.5.3",
"react": "^19.1.0",
"react-docgen": "^7.1.1",
"react-dom": "^19.1.0",
"react-router": "^7.6.0",
"storybook": "^8.6.13",
@@ -66,9 +67,9 @@
"vitest": "^3.1.3"
},
"peerDependencies": {
"react-router": "^7.6.0",
"react": "^19.1.0",
"react-dom": "^19.1.0"
"react-dom": "^19.1.0",
"react-router": "^7.6.0"
},
"eslintConfig": {
"extends": [

View File

@@ -5,7 +5,7 @@
"build": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**"]
"outputs": ["dist/**"]
},
"lint": {
"dependsOn": ["^lint"]