@flood-md/cli 0.1.1 → 0.2.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/README.md CHANGED
@@ -7,3 +7,5 @@ Requires Node 22.12+. Installs matching tokens, React and agent packages; create
7
7
  flood.json, flood/DESIGN.md and .agents/skills/flood-ui/SKILL.md. Refuses existing
8
8
  owned files or linked destinations. Does not rewrite source code or AGENTS.md.
9
9
  After init, import @flood-md/react/styles.css once at the application root.
10
+ Wrap new interfaces in FloodRoot from @flood-md/react to select the dark
11
+ foundations profile. Read the installed flood/DESIGN.md for the matching API.
package/lib/index.mjs CHANGED
@@ -3,7 +3,7 @@ import { resolve, join } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
4
  import { spawnSync } from "node:child_process";
5
5
 
6
- export const VERSION = "0.1.1";
6
+ export const VERSION = "0.2.1";
7
7
  const packages = ["@flood-md/tokens", "@flood-md/react", "@flood-md/agent"];
8
8
  const json = async (path) => JSON.parse(await readFile(path, "utf8"));
9
9
  const exists = async (path) => {
@@ -105,7 +105,7 @@ export async function initProject(
105
105
  flag: "wx",
106
106
  });
107
107
  log(
108
- `\nConnected. Import '@flood-md/react/styles.css' in ${framework === "next" ? "app/layout.tsx" : "your app entry"}.\nRead flood/DESIGN.md for component APIs. Run npx @flood-md/cli doctor to verify.`,
108
+ `\nConnected. Import '@flood-md/react/styles.css' in ${framework === "next" ? "app/layout.tsx" : "your app entry"}.\nWrap your interface in <FloodRoot> from '@flood-md/react' to use the dark foundations.\nRead flood/DESIGN.md for component APIs. Run npx @flood-md/cli doctor to verify.`,
109
109
  );
110
110
  }
111
111
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flood-md/cli",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Connect Flood to React and Next.js projects.",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "node": ">=22.12.0"
22
22
  },
23
23
  "dependencies": {
24
- "@flood-md/agent": "0.1.1"
24
+ "@flood-md/agent": "0.2.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"