@tanstack/cta-engine 0.11.0 → 0.11.1

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/dist/cli.js CHANGED
@@ -71,7 +71,7 @@ export function cli({ name, appName, forcedMode, forcedAddOns, }) {
71
71
  })
72
72
  .option('--list-add-ons', 'list all available add-ons', false)
73
73
  .option('--no-git', 'do not create a git repository')
74
- .option('--target-dir <path>', 'the directory to create the project in')
74
+ .option('--target-dir <path>', 'the target directory for the application root')
75
75
  .option('--mcp', 'run the MCP server', false)
76
76
  .option('--mcp-sse', 'run the MCP server in SSE mode', false);
77
77
  program.action(async (projectName, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/cta-engine",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Tanstack Application Builder Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/cli.ts CHANGED
@@ -133,7 +133,10 @@ export function cli({
133
133
  )
134
134
  .option('--list-add-ons', 'list all available add-ons', false)
135
135
  .option('--no-git', 'do not create a git repository')
136
- .option('--target-dir <path>', 'the directory to create the project in')
136
+ .option(
137
+ '--target-dir <path>',
138
+ 'the target directory for the application root',
139
+ )
137
140
  .option('--mcp', 'run the MCP server', false)
138
141
  .option('--mcp-sse', 'run the MCP server in SSE mode', false)
139
142
 
@@ -13,7 +13,7 @@ function getUrl() {
13
13
  if (typeof window !== "undefined") return "";
14
14
  return `http://localhost:${process.env.PORT ?? 3000}`;
15
15
  })();
16
- return base + "/api/trpc";
16
+ return `${base}/api/trpc`;
17
17
  }
18
18
 
19
19
  export const trpcClient = createTRPCClient<TRPCRouter>({
@@ -67,4 +67,4 @@ export function Provider({ children }: { children: React.ReactNode }) {
67
67
  <QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
68
68
  )
69
69
  }
70
- <% } %>
70
+ <% } %>