@quilted/create 0.2.40 → 0.2.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @quilted/create
2
2
 
3
+ ## 0.2.41
4
+
5
+ ### Patch Changes
6
+
7
+ - [#832](https://github.com/lemonmade/quilt/pull/832) [`f0105b4`](https://github.com/lemonmade/quilt/commit/f0105b41db07ebdf21d131d664c1a909659a5142) Thanks [@lemonmade](https://github.com/lemonmade)! - Update template dependencies
8
+
3
9
  ## 0.2.40
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quilted/create",
3
3
  "type": "module",
4
- "version": "0.2.40",
4
+ "version": "0.2.41",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -26,6 +26,9 @@
26
26
  "devDependencies": {
27
27
  "@quilted/cli-kit": "^0.2.0",
28
28
  "@types/common-tags": "^1.8.0",
29
+ "@trpc/client": "next",
30
+ "@trpc/react-query": "next",
31
+ "@trpc/server": "next",
29
32
  "@types/fs-extra": "^9.0.11",
30
33
  "@types/minimatch": "^3.0.5",
31
34
  "@types/prompts": "^2.0.13",
@@ -38,7 +41,8 @@
38
41
  "pkg-dir": "^6.0.0",
39
42
  "prettier": "^3.0.0",
40
43
  "prompts": "^2.4.0",
41
- "yaml": "^2.1.0"
44
+ "yaml": "^2.1.0",
45
+ "zod": "^3.23.8"
42
46
  },
43
47
  "scripts": {
44
48
  "build": "rollup --config configuration/rollup.config.js"
@@ -1,4 +1,4 @@
1
- import type {TRPCClient} from '@trpc/client';
1
+ import type {TRPCUntypedClient} from '@trpc/client';
2
2
  import {createTRPCReact, type CreateTRPCReact} from '@trpc/react-query';
3
3
  import type {QueryClient} from '@tanstack/react-query';
4
4
 
@@ -7,12 +7,12 @@ import type {QueryClient} from '@tanstack/react-query';
7
7
  // perform.
8
8
  import type {AppRouter} from '../trpc.ts';
9
9
 
10
- export const trpc: CreateTRPCReact<AppRouter, unknown, null> =
10
+ export const trpc: CreateTRPCReact<AppRouter, {}> =
11
11
  createTRPCReact<AppRouter>();
12
12
 
13
13
  declare module '~/shared/context.ts' {
14
14
  interface AppContext {
15
- trpc: TRPCClient<AppRouter>;
15
+ trpc: TRPCUntypedClient<AppRouter>;
16
16
  queryClient: QueryClient;
17
17
  }
18
18
  }
@@ -11,3 +11,5 @@ export const appRouter = t.router({
11
11
  // Our client-side code will use this type to infer the
12
12
  // procedures that are defined.
13
13
  export type AppRouter = typeof appRouter;
14
+
15
+ export const createCaller = t.createCallerFactory(appRouter);
@@ -16,11 +16,11 @@
16
16
  "@quilted/rollup": "^0.2.0",
17
17
  "@quilted/vite": "^0.1.0",
18
18
  "@quilted/typescript": "^0.4.0",
19
- "rollup": "^4.14.0",
20
- "prettier": "^3.0.0",
21
- "tsx": "^4.9.0",
19
+ "rollup": "^4.21.0",
20
+ "prettier": "^3.3.0",
21
+ "tsx": "^4.19.0",
22
22
  "typescript": "^5.5.0",
23
- "vite": "^5.3.0",
23
+ "vite": "^5.4.0",
24
24
  "vitest": "^2.0.0"
25
25
  },
26
26
  "prettier": {