tibber-express-utils 4.0.13 → 4.0.20
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/package.json +1 -1
- package/readme.md +25 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Usage
|
|
2
2
|
|
|
3
|
+
## Releases & publishing — read before merging a PR
|
|
4
|
+
|
|
5
|
+
Merging to `master` runs the CircleCI `build_and_deploy` job:
|
|
6
|
+
[semantic-release](https://semantic-release.gitbook.io/) computes the version
|
|
7
|
+
from the squash-commit title (conventional commits: `fix:` → patch, `feat:` →
|
|
8
|
+
minor, `feat!:`/`BREAKING CHANGE` → major; `chore:`/`docs:`/plain titles →
|
|
9
|
+
**no release**), pushes the version-bump commit + tag, creates the GitHub
|
|
10
|
+
release, and the job then publishes to npm via
|
|
11
|
+
[trusted publishing](https://docs.npmjs.com/trusted-publishers) (CircleCI
|
|
12
|
+
OIDC — no stored npm token; requires this package's npmjs trusted-publisher
|
|
13
|
+
entry and npm ≥ 11.11, i.e. the `cimg/node:24` image).
|
|
14
|
+
|
|
15
|
+
**Dep-update PRs**: Dependabot's `fix(deps): …` titles trigger a patch
|
|
16
|
+
release on merge. A tool that squashes with a plain title (e.g. Renovate's
|
|
17
|
+
default `Update dependency x to vY`) will NOT publish — edit the squash
|
|
18
|
+
title to `fix(deps): …` if consumers should get the bump.
|
|
19
|
+
|
|
20
|
+
**If the publish step fails** after semantic-release has pushed the version
|
|
21
|
+
bump: just rerun the job — the already-published guard sees the committed
|
|
22
|
+
version is missing from npm and publishes it. Note this self-heal applies to
|
|
23
|
+
*any* master build, release or not: while the committed version is missing
|
|
24
|
+
from npm, the next merge of any kind publishes it. (Versions 4.0.14–4.0.18 were
|
|
25
|
+
tagged during the broken-token era but never reached npm; consumers jump
|
|
26
|
+
from 4.0.13 straight to the first post-fix release.)
|
|
27
|
+
|
|
3
28
|
## Requirements
|
|
4
29
|
|
|
5
30
|
- **Node.js**: 18 or higher
|