@flood-md/cli 0.2.10 → 0.2.11
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 +5 -5
- package/lib/index.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
`npx @flood-md/cli init [--dry-run]` connects an existing React/Next.js npm project.
|
|
4
4
|
`npx @flood-md/cli doctor` checks package versions and agent file presence.
|
|
5
5
|
|
|
6
|
-
Version 0.2.
|
|
6
|
+
Version 0.2.11 adds read-only JSON discovery. Use the CLI version matching
|
|
7
7
|
flood.json; source availability does not mean the candidate is published.
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npx @flood-md/cli@0.2.
|
|
11
|
-
npx @flood-md/cli@0.2.
|
|
12
|
-
npx @flood-md/cli@0.2.
|
|
13
|
-
npx @flood-md/cli@0.2.
|
|
10
|
+
npx @flood-md/cli@0.2.11 info
|
|
11
|
+
npx @flood-md/cli@0.2.11 catalog --kind workflow --group composition
|
|
12
|
+
npx @flood-md/cli@0.2.11 read component:data-table
|
|
13
|
+
npx @flood-md/cli@0.2.11 read recipe:table-bulk-actions
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
info distinguishes connected, bundle-only, version-mismatch and missing-packages
|
package/lib/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { spawnSync } from "node:child_process";
|
|
|
5
5
|
import { createHash } from 'node:crypto';
|
|
6
6
|
import { createKnowledgeReader } from '@flood-md/agent';
|
|
7
7
|
|
|
8
|
-
export const VERSION = "0.2.
|
|
8
|
+
export const VERSION = "0.2.11";
|
|
9
9
|
const packages = ["@flood-md/tokens", "@flood-md/react", "@flood-md/agent"];
|
|
10
10
|
const json = async (path) => JSON.parse(await readFile(path, "utf8"));
|
|
11
11
|
const agentFile = (name) =>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flood-md/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
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.2.
|
|
24
|
+
"@flood-md/agent": "0.2.11"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|