@spfx-fast/spfx-workbench 0.1.0 → 0.1.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 +3 -3
- package/package.json +20 -1
package/README.md
CHANGED
|
@@ -25,14 +25,14 @@ Vite serves the preview on `http://127.0.0.1:4173`. `npm run build` builds the s
|
|
|
25
25
|
|
|
26
26
|
## Preview a consumer component
|
|
27
27
|
|
|
28
|
-
The npm package name is `@spfx-fast/spfx-workbench`.
|
|
28
|
+
The npm package name is `@spfx-fast/spfx-workbench`. Version `0.1.0` is published; this checkout prepares public version `0.1.1` with repository metadata for GitHub Trusted Publishing. To use this checkout in an SPFx project, install its local path and run the CLI from that project's root:
|
|
29
29
|
|
|
30
30
|
```sh
|
|
31
31
|
npm install --save-dev /path/to/spfx-workbench
|
|
32
32
|
npx spfx-workbench --component src/components/HelloWorld.tsx
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
The registry install command is:
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
npm install --save-dev @spfx-fast/spfx-workbench
|
|
@@ -66,7 +66,7 @@ This is an early consumer-loader slice. It supports explicit JSON props and the
|
|
|
66
66
|
|
|
67
67
|
## How this fits with the SPFx Fast tools
|
|
68
68
|
|
|
69
|
-
Use [`@spfx-fast/ide`](packages/ide/README.md) as the thin developer and agent entry point. `spfx-ide` routes to focused tools; installing it as a project devDependency or globally
|
|
69
|
+
Use [`@spfx-fast/ide`](packages/ide/README.md) as the thin developer and agent entry point. The registry has IDE 0.1.0 and Workbench 0.1.0; the prepared 0.1.1 releases add Workbench as an IDE dependency and automatic skill placement. Publish Workbench 0.1.1, then IDE 0.1.1, before those improvements are available through a normal IDE install. The candidate's `spfx-ide` routes to focused tools; installing it as a project devDependency or globally places Agent Skills guidance in supported skill directories unless lifecycle scripts are disabled. This confirms file placement, not discovery by every agent; check the agent's own skills list where available. Global CLI use also needs npm's global bin directory on `PATH`. Workbench owns component preview, synthetic context/API replay, diagnostics, capture, and Heft launch. The focused companion packages have separate jobs:
|
|
70
70
|
|
|
71
71
|
- [`@spfx-fast/playwright`](https://www.npmjs.com/package/%40spfx-fast/playwright) runs authenticated browser tests against a real SharePoint page.
|
|
72
72
|
- [`@spfx-fast/knowledge`](https://www.npmjs.com/package/%40spfx-fast/knowledge) provides the SPFx agent skill and debugging references; use it to guide the tools, not as a runtime dependency.
|
package/package.json
CHANGED
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spfx-fast/spfx-workbench",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/vystartasv/spfx-workbench.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/vystartasv/spfx-workbench#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/vystartasv/spfx-workbench/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"spfx",
|
|
17
|
+
"sharepoint",
|
|
18
|
+
"sharepoint-framework",
|
|
19
|
+
"workbench",
|
|
20
|
+
"vite",
|
|
21
|
+
"playwright",
|
|
22
|
+
"heft",
|
|
23
|
+
"webpart",
|
|
24
|
+
"developer-tools"
|
|
25
|
+
],
|
|
7
26
|
"type": "module",
|
|
8
27
|
"bin": {
|
|
9
28
|
"spfx-workbench": "bin/spfx-workbench.mjs",
|