@hamedb89/localghost 0.2.0 → 0.3.0
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 +1 -0
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/docs/github.md +5 -5
- package/package.json +1 -1
package/docs/github.md
CHANGED
|
@@ -115,12 +115,12 @@ https://hamedb89.github.io/localghost/
|
|
|
115
115
|
`.github/workflows/ci.yml` runs on pull requests and pushes to `main`. It uses `npm ci`, then runs:
|
|
116
116
|
|
|
117
117
|
```sh
|
|
118
|
-
|
|
118
|
+
./bin/ghost check
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
That command typechecks, builds the package, builds the static site, and runs `npm pack --dry-run`.
|
|
121
|
+
That command typechecks, builds the package, builds the static site, and runs `npm pack --dry-run`. From a checkout, the same verification is available as `./bin/ghost check`.
|
|
122
122
|
|
|
123
|
-
`.github/workflows/publish-npm.yml` publishes to npm when a `v*` tag is pushed, or from manual workflow dispatch. The workflow checks that tag names match `package.json` versions, reruns
|
|
123
|
+
`.github/workflows/publish-npm.yml` publishes to npm when a `v*` tag is pushed, or from manual workflow dispatch. The workflow checks that tag names match `package.json` versions, reruns `./bin/ghost check`, and then uses:
|
|
124
124
|
|
|
125
125
|
```sh
|
|
126
126
|
npm run publish:public
|
|
@@ -153,12 +153,12 @@ For a normal patch release:
|
|
|
153
153
|
|
|
154
154
|
```sh
|
|
155
155
|
git status --short
|
|
156
|
-
|
|
156
|
+
./bin/ghost check
|
|
157
157
|
npm version patch
|
|
158
158
|
git push origin main --tags
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
Pushing the `v*` tag starts the npm publish workflow automatically. The workflow reruns
|
|
161
|
+
Pushing the `v*` tag starts the npm publish workflow automatically. The workflow reruns `./bin/ghost check` before publishing. Create the GitHub release afterwards if you want release notes on GitHub.
|
|
162
162
|
|
|
163
163
|
If publishing from a local terminal instead of GitHub Actions, omit provenance and provide the npm two-factor code:
|
|
164
164
|
|