@spfx-fast/spfx-workbench 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +12 -4
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # SPFx Workbench
2
2
 
3
+ An SPFx developer and agent workflow toolkit for local component preview, diagnostics, SharePoint API capture/replay, authentication-state reuse, and Heft debugging. It helps build and validate SPFx projects; it is not a security or credential scanner.
4
+
3
5
  A local SharePoint Workbench-style page editor with a canvas, toolbox, and property pane. It supports SharePoint column layouts, responsive breakpoints, section emphasis, local section width presets, and a synthetic document-library web part. The consumer CLI can load a compatible React component or invoke a subset of SPFx web-part lifecycle hooks with explicit JSON properties and a narrow synthetic context. It does not create the SharePoint service scope or claim to reproduce the full SPFx host.
4
6
 
5
7
  ## Run locally
@@ -11,7 +13,11 @@ npm install
11
13
  npm run dev
12
14
  ```
13
15
 
14
- Vite serves the preview on `http://127.0.0.1:4173`. `npm run build` builds the static prototype; `npm run preview` serves that build on port 4174.
16
+ Vite serves the preview on `http://127.0.0.1:4173`. `npm run build` builds the static prototype; `npm run preview` serves that build on port 4174. This package is a developer workflow tool, not a vulnerability, malware, or credential scanner.
17
+
18
+ ## Find the agent skill
19
+
20
+ The portable `spfx-ide` skill ships in [`packages/ide/skills/spfx-ide/SKILL.md`](packages/ide/skills/spfx-ide/SKILL.md). Try discovery with `npx --yes skills add https://github.com/vystartasv/spfx-workbench --list`; package keywords, README content, GitHub description, and topics also help people find the project. npm search indexing may take up to two weeks. skills.sh uses anonymous aggregate install counts for its leaderboard; installs do not guarantee a particular rank.
15
21
 
16
22
  ## Current behavior
17
23
 
@@ -25,13 +31,15 @@ Vite serves the preview on `http://127.0.0.1:4173`. `npm run build` builds the s
25
31
 
26
32
  ## Preview a consumer component
27
33
 
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:
34
+ The npm package name is `@spfx-fast/spfx-workbench`. Version `0.1.2` is published; this checkout prepares public version `0.1.3`. Install the published package in an SPFx project and run the CLI from that project's root:
29
35
 
30
36
  ```sh
31
- npm install --save-dev /path/to/spfx-workbench
37
+ npm install --save-dev @spfx-fast/spfx-workbench
32
38
  npx spfx-workbench --component src/components/HelloWorld.tsx
33
39
  ```
34
40
 
41
+ For contributors testing an unpublished checkout, install the repository path instead.
42
+
35
43
  The registry install command is:
36
44
 
37
45
  ```sh
@@ -66,7 +74,7 @@ This is an early consumer-loader slice. It supports explicit JSON props and the
66
74
 
67
75
  ## How this fits with the SPFx Fast tools
68
76
 
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:
77
+ Use [`@spfx-fast/ide`](packages/ide/README.md) as the thin developer and agent entry point. Workbench 0.1.2 and IDE 0.1.2 are published. IDE 0.1.2 adds Workbench routes and automatic skill placement; the 0.1.1 npm publication attempt failed before the Trusted Publisher was corrected. This checkout prepares Workbench 0.1.3 and IDE 0.1.4. The `spfx-ide` CLI routes to focused tools; installation 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
78
 
71
79
  - [`@spfx-fast/playwright`](https://www.npmjs.com/package/%40spfx-fast/playwright) runs authenticated browser tests against a real SharePoint page.
72
80
  - [`@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,6 +1,7 @@
1
1
  {
2
2
  "name": "@spfx-fast/spfx-workbench",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
+ "description": "Local SPFx component preview, diagnostics, SharePoint API capture and replay, and Heft debugging tools.",
4
5
  "publishConfig": {
5
6
  "access": "public"
6
7
  },
@@ -21,7 +22,8 @@
21
22
  "playwright",
22
23
  "heft",
23
24
  "webpart",
24
- "developer-tools"
25
+ "developer-tools",
26
+ "agent-skills"
25
27
  ],
26
28
  "type": "module",
27
29
  "bin": {