Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmdayn committed Jan 16, 2025
1 parent 888e51c commit 4b07ac6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
11 changes: 6 additions & 5 deletions apps/vite/src/forms/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import Simple from './Simple';
import { FormExample, makeFormExample } from './utils';
import Simple from "./Simple"
import type { FormExample } from "./utils"
import { makeFormExample } from "./utils"

const all: ReadonlyArray<FormExample> = [
makeFormExample(Simple,{route:'/simple', title:'Simple form'}),
];
makeFormExample(Simple, { route: "/simple", title: "Simple form" })
]

export default all;
export default all
10 changes: 5 additions & 5 deletions apps/vite/src/forms/layer.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { MantineFields } from "@inato-form/mantine";
import { ReactHookForm } from "@inato-form/react-hook-form";
import * as Mantine from "@mantine/core";
import { Layer, pipe } from "effect";
import { MantineFields } from "@inato-form/mantine"
import { ReactHookForm } from "@inato-form/react-hook-form"
import * as Mantine from "@mantine/core"
import { Layer, pipe } from "effect"

export const MantineReactHookFormLive = pipe(
MantineFields.layer,
Layer.provideMerge(ReactHookForm.layer(Mantine.Button))
);
)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
],
"scripts": {
"clean": "node scripts/clean.mjs",
"build": "tsc -b tsconfig.build.json && pnpm --filter=!./apps/** --recursive --parallel run build",
"check": "tsc -b tsconfig.json",
"build": "tsc -b tsconfig.build.json && pnpm --filter=!./apps/** --recursive --parallel run build && pnpm --filter=./apps/vite run build",
"check": "tsc -b tsconfig.check.json",
"dev": "pnpm --filter=./apps/vite run dev",
"check-recursive": "pnpm --recursive exec tsc -b tsconfig.json",
"lint": "eslint \"**/{src,test,examples,scripts,dtslint}/**/*.{ts,mjs}\"",
Expand Down
9 changes: 9 additions & 0 deletions tsconfig.check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "./tsconfig.base.json",
"include": [],
"references": [
{ "path": "packages/react-hook-form" },
{ "path": "packages/fields" },
{ "path": "packages/core" }
]
}

0 comments on commit 4b07ac6

Please sign in to comment.