create-feltkit 0.1.0 → 0.2.0

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/bin/create.js CHANGED
@@ -29,6 +29,7 @@ try {
29
29
  console.log(" npm install");
30
30
  console.log(" npm run dev\n");
31
31
  console.log(dim("The dev server prints your app URL and a dashboard link. State lives in .feltkit/development/state."));
32
+ console.log(dim("Using a coding agent? `npx feltkit skills install` (after npm install) adds the FeltKit skills for Claude Code."));
32
33
  } catch (error) {
33
34
  console.error(`${red("✗")} ${error.message}`);
34
35
  if (error.hint) console.error(` hint: ${error.hint}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-feltkit",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Create a FeltKit application: npm create feltkit@latest my-app",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/scaffold.js CHANGED
@@ -49,7 +49,7 @@ export function scaffold({ target, name, sdkSpec }) {
49
49
  pkg.name = appName;
50
50
  pkg.private = true;
51
51
  pkg.version = "0.1.0";
52
- pkg.dependencies["feltkit"] = spec;
52
+ pkg.dependencies["@feltdb/feltkit"] = spec;
53
53
  writeFileSync(pkgPath, `${JSON.stringify(pkg, null, 2)}\n`);
54
54
 
55
55
  const appPath = join(target, "feltkit", "app.ts");
@@ -1,6 +1,6 @@
1
1
  /* Generated by `feltkit dev` / `feltkit codegen`. Do not edit; it is rewritten when feltkit/ changes. */
2
2
  /* eslint-disable */
3
- import { createApi } from "feltkit/client";
3
+ import { createApi } from "@feltdb/feltkit/client";
4
4
  import type * as app_module from "../app.js";
5
5
  import type * as projects_module from "../projects.js";
6
6
  import type * as tasks_module from "../tasks.js";
@@ -4,7 +4,7 @@
4
4
  * Everything here is stored in one FeltDB instance per environment. In development
5
5
  * that is .feltkit/development/state — run `npx feltkit inspect` to see it.
6
6
  */
7
- import { feltkit, s } from "feltkit";
7
+ import { feltkit, s } from "@feltdb/feltkit";
8
8
 
9
9
  export const app = feltkit({
10
10
  name: "tasks",
@@ -1,4 +1,4 @@
1
- import { fail, s } from "feltkit";
1
+ import { fail, s } from "@feltdb/feltkit";
2
2
  import { app, projects, tasks } from "./app.js";
3
3
 
4
4
  const Project = s.object({
@@ -1,4 +1,4 @@
1
- import { fail, s } from "feltkit";
1
+ import { fail, s } from "@feltdb/feltkit";
2
2
  import { app, projects, tasks } from "./app.js";
3
3
 
4
4
  const Task = s.object({
@@ -13,7 +13,7 @@
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "dependencies": {
16
- "feltkit": "0.1.0",
16
+ "@feltdb/feltkit": "0.2.0",
17
17
  "react": "19.2.0",
18
18
  "react-dom": "19.2.0"
19
19
  },
@@ -1,5 +1,5 @@
1
1
  import { useEffect, useMemo, useRef, useState, type FormEvent } from "react";
2
- import { useConnectionState, useMutation, useQueryState, useSession, type FeltKitClientError } from "feltkit/react";
2
+ import { useConnectionState, useMutation, useQueryState, useSession, type FeltKitClientError } from "@feltdb/feltkit/react";
3
3
  import { api } from "../feltkit/_generated/api";
4
4
 
5
5
  type Notice = { tone: "error" | "info"; text: string } | null;
@@ -1,7 +1,7 @@
1
1
  import { StrictMode } from "react";
2
2
  import { createRoot } from "react-dom/client";
3
- import { createClient } from "feltkit/client";
4
- import { FeltKitProvider } from "feltkit/react";
3
+ import { createClient } from "@feltdb/feltkit/client";
4
+ import { FeltKitProvider } from "@feltdb/feltkit/react";
5
5
  import { App } from "./App";
6
6
  import "./styles.css";
7
7
 
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { test } from "node:test";
6
6
  import assert from "node:assert/strict";
7
- import { createTestApp } from "feltkit/testing";
7
+ import { createTestApp } from "@feltdb/feltkit/testing";
8
8
  import { api } from "../feltkit/_generated/api.js";
9
9
 
10
10
  test("members manage projects and tasks", async () => {