@chappibunny/repolens 1.16.1 → 1.16.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/CHANGELOG.md +8 -0
- package/README.md +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to RepoLens will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.16.2
|
|
6
|
+
|
|
7
|
+
### Branding
|
|
8
|
+
|
|
9
|
+
- New RepoLens icon: emerald rounded tile with a camera aperture and a white git-branch glyph, transparent background. Replaces `assets/logo-400.png`, `assets/Avatar.png` and the gallery `gallery/assets/logo.png` (512x512).
|
|
10
|
+
- The gallery site adds `favicon.ico` (16 and 32 px) next to the PNG icon.
|
|
11
|
+
- The VS Code extension (0.2.4) uses the same icon.
|
|
12
|
+
|
|
5
13
|
## 1.16.1
|
|
6
14
|
|
|
7
15
|
Fixes three problems found by running 1.16.0 on orval-labs/orval (a TypeScript monorepo whose test snapshots and samples dwarf the packages).
|
package/README.md
CHANGED
|
@@ -243,9 +243,9 @@ If `npx` reports `Unknown command: mcp`, an `.npmrc` with `min-release-age` (or
|
|
|
243
243
|
|
|
244
244
|
## GitHub Action
|
|
245
245
|
|
|
246
|
-
`action.yml` is a composite action named **RepoLens Architecture Docs**. `publish`, `demo`, and `doctor` run the published npm package (`npx --force --yes @chappibunny/repolens@1.16.
|
|
246
|
+
`action.yml` is a composite action named **RepoLens Architecture Docs**. `publish`, `demo`, and `doctor` run the published npm package (`npx --force --yes @chappibunny/repolens@1.16.2`). `comment` and `badge` run from the action checkout. Inputs are `command` (`publish`, `demo`, `doctor`, `comment`, or `badge`), `config`, `node-version`, `pr-comment`, `version`, `badge-out`, `badge-url`, and `badge-link`. The action passes `--force` so a repository `devEngines` pin does not stop `npx` on npm versions that enforce `devEngines` (newer npm). Node 20's bundled npm does not enforce that field. From a shell, use the same flag: `npx --force --yes @chappibunny/repolens demo`. `--ignore-engines` does not skip `devEngines`.
|
|
247
247
|
|
|
248
|
-
Publishing docs (the npm package at tag `v1.16.
|
|
248
|
+
Publishing docs (the npm package at tag `v1.16.2`):
|
|
249
249
|
|
|
250
250
|
```yaml
|
|
251
251
|
name: Architecture docs
|
|
@@ -261,7 +261,7 @@ jobs:
|
|
|
261
261
|
runs-on: ubuntu-latest
|
|
262
262
|
steps:
|
|
263
263
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
264
|
-
- uses: CHAPIBUNNY/repolens@v1.16.
|
|
264
|
+
- uses: CHAPIBUNNY/repolens@v1.16.2
|
|
265
265
|
with:
|
|
266
266
|
command: publish
|
|
267
267
|
config: .repolens.yml
|
|
@@ -269,7 +269,7 @@ jobs:
|
|
|
269
269
|
pr-comment: ${{ github.event_name == 'pull_request' && 'true' || 'false' }}
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
-
On `v1.15.2`, `pr-comment: true` runs the architecture diff from the action checkout and turns the published package's older short summary off. The diff lists modules, files, dependencies, the code-health delta, and new hotspots. It edits one sticky comment (`<!-- repolens:architecture-diff -->`) instead of adding a new comment each push. The footer is "Generated by RepoLens" and links to this repository and the [gallery](https://chapibunny.github.io/repolens/). Tag `v1.15.1` does not contain `command: comment`. Pin `v1.16.
|
|
272
|
+
On `v1.15.2`, `pr-comment: true` runs the architecture diff from the action checkout and turns the published package's older short summary off. The diff lists modules, files, dependencies, the code-health delta, and new hotspots. It edits one sticky comment (`<!-- repolens:architecture-diff -->`) instead of adding a new comment each push. The footer is "Generated by RepoLens" and links to this repository and the [gallery](https://chapibunny.github.io/repolens/). Tag `v1.15.1` does not contain `command: comment`. Pin `v1.16.2` or a commit SHA in production.
|
|
273
273
|
|
|
274
274
|
```yaml
|
|
275
275
|
name: RepoLens architecture comment
|
|
@@ -285,7 +285,7 @@ jobs:
|
|
|
285
285
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
286
286
|
with:
|
|
287
287
|
fetch-depth: 0
|
|
288
|
-
- uses: CHAPIBUNNY/repolens@v1.16.
|
|
288
|
+
- uses: CHAPIBUNNY/repolens@v1.16.2
|
|
289
289
|
with:
|
|
290
290
|
command: comment
|
|
291
291
|
```
|
|
@@ -294,7 +294,7 @@ jobs:
|
|
|
294
294
|
|
|
295
295
|
`pr-comment: true` on `publish`, `demo`, or `doctor` (when the action ref contains this change) runs the same comment after the package and turns the package's older comment off, so the pull request still gets one comment.
|
|
296
296
|
|
|
297
|
-
The action is listed on the GitHub Marketplace only after a release is published with **Publish this Action to the GitHub Marketplace** checked. Those steps are in [docs/RELEASE.md](docs/RELEASE.md). The tag `v1.16.
|
|
297
|
+
The action is listed on the GitHub Marketplace only after a release is published with **Publish this Action to the GitHub Marketplace** checked. Those steps are in [docs/RELEASE.md](docs/RELEASE.md). The tag `v1.16.2` has to exist before `uses: CHAPIBUNNY/repolens@v1.16.2` resolves, and `@chappibunny/repolens@1.16.2` has to be on npm before `publish` can install it. `command: comment` and `command: badge` do not install that package.
|
|
298
298
|
|
|
299
299
|
## Add the badge to your repo
|
|
300
300
|
|
|
@@ -330,7 +330,7 @@ jobs:
|
|
|
330
330
|
runs-on: ubuntu-latest
|
|
331
331
|
steps:
|
|
332
332
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
333
|
-
- uses: CHAPIBUNNY/repolens@v1.16.
|
|
333
|
+
- uses: CHAPIBUNNY/repolens@v1.16.2
|
|
334
334
|
with:
|
|
335
335
|
command: badge
|
|
336
336
|
badge-url: https://USER.github.io/REPO/repolens-badge.json
|
package/package.json
CHANGED