ui-fieldwork 0.1.1 → 0.1.2
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 +14 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ Copy the entire [`skills/ui-fieldwork/`](skills/ui-fieldwork/) folder into the s
|
|
|
85
85
|
Run `npm pack` in the UI Fieldwork checkout. Then run this from the target project, substituting the absolute path to the tarball. Append `install <target> --global` or `install <target> --project` to bypass the menu.
|
|
86
86
|
|
|
87
87
|
```sh
|
|
88
|
-
npm exec --package="/absolute/path/ui-fieldwork-0.1.
|
|
88
|
+
npm exec --package="/absolute/path/ui-fieldwork-0.1.2.tgz" -- ui-fieldwork
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
## Troubleshooting
|
|
@@ -165,3 +165,16 @@ Both runs used the same prompt and installed skill. Codex was asked to end with
|
|
|
165
165
|
## Development
|
|
166
166
|
|
|
167
167
|
Run `npm test` to validate installer targets and hooks, and `npm pack` to build the distributable. See the [MIT license](LICENSE).
|
|
168
|
+
|
|
169
|
+
### Release to npm
|
|
170
|
+
|
|
171
|
+
CI runs tests and installs the packed skill on pull requests to `develop` or
|
|
172
|
+
`main`. The npm workflow publishes when a stable GitHub Release is published.
|
|
173
|
+
Its tag must match the version in `package.json` and its commit must be in
|
|
174
|
+
`main` history.
|
|
175
|
+
|
|
176
|
+
Before publishing the first release through Actions, configure
|
|
177
|
+
[npm Trusted Publishing](https://docs.npmjs.com/trusted-publishers/) for
|
|
178
|
+
owner `sungphan`, repository `ui-fieldwork`, and workflow filename
|
|
179
|
+
`publish.yml`. Allow the direct `npm publish` action. Publish the GitHub Release
|
|
180
|
+
after the workflow is on `main` and the trusted publisher is configured.
|