lovewebconnection 0.2.0 → 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 +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1908,6 +1908,28 @@ CHROME_PATH="/path/to/chrome" node --test src/explorer-browser.test.ts
|
|
|
1908
1908
|
LWC_SKIP_BROWSER=1 npm test # skip only the browser file
|
|
1909
1909
|
```
|
|
1910
1910
|
|
|
1911
|
+
### Releasing
|
|
1912
|
+
|
|
1913
|
+
Publishing runs from `.github/workflows/publish.yml` on a version tag through
|
|
1914
|
+
npm trusted publishing (OIDC), so the repository stores no `NPM_TOKEN`. Bump the
|
|
1915
|
+
version, commit it, and push a matching tag:
|
|
1916
|
+
|
|
1917
|
+
```bash
|
|
1918
|
+
npm version patch --no-git-tag-version # or minor / major
|
|
1919
|
+
# commit the version change on main
|
|
1920
|
+
git tag v0.2.1
|
|
1921
|
+
git push origin main v0.2.1
|
|
1922
|
+
```
|
|
1923
|
+
|
|
1924
|
+
The tag must match `package.json`, or the workflow stops before publishing. It
|
|
1925
|
+
then runs the typecheck, the offline suite and the build, and publishes with
|
|
1926
|
+
`npm publish --access public`; provenance is generated automatically because the
|
|
1927
|
+
publish is authenticated by OIDC. The npm side trusts only this repository and
|
|
1928
|
+
this workflow filename, configured under the package's **Settings → Trusted
|
|
1929
|
+
Publisher**, so renaming the workflow or moving the repository requires updating
|
|
1930
|
+
that connection. A granular token can still publish manually, but a release no
|
|
1931
|
+
longer needs one.
|
|
1932
|
+
|
|
1911
1933
|
## Next step
|
|
1912
1934
|
|
|
1913
1935
|
To prove the connection end to end, run `npm run chain` with real values. If the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lovewebconnection",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "lwc — read-only EVM chain connection kit: chain health, balances, scans, view calls, and watch-mode reliability checks",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/emeraldjewels4-rgb/lovewebconnection-cli#readme",
|