Skip to content

docs: give every published package a README - #196

Merged
derrickmehaffy merged 2 commits into
mainfrom
docs/package-readmes
Aug 14, 2026
Merged

derrickmehaffy merged 2 commits into
mainfrom
docs/package-readmes

Conversation

@derrickmehaffy

Copy link
Copy Markdown
Contributor

Both providers published with no README at all — npm answers "No README data found!" on each page. That reads as abandoned, for packages someone is being asked to put in front of their database.

Memory provider leads with the thing people get wrong: it's per-process, so two instances cache independently and a purge on one doesn't reach the others.

Redis provider covers the connection relationship with @strapi-community/plugin-redis, matching keysPrefix to the client's keyPrefix (a mismatch silently makes every purge a no-op), Redis Cluster behaviour, and that KeyDB/Valkey work unchanged.

The plugin's own README was stale too

That's the one npm renders, so it was the most-read stale page we had. It still:

  • described the package as BETA
  • claimed support "recently tested as of September 2025"
  • offered a filesystem provider that does not exist
  • listed none of the features added since 5.0.0
  • linked LICENSE.md, which isn't the filename

It now tracks the root README, with the screenshot and links absolutised since npm can't resolve repository-relative paths.

Verified the READMEs actually land in the published tarballs rather than being excluded by files: ["dist"].

🤖 Generated with Claude Code

derrickmehaffy and others added 2 commits August 13, 2026 17:12
Both providers published with no README at all - npm answered "No README
data found!" on each of their pages, which reads as abandoned for packages
someone is being asked to put in front of their database.

The memory provider's page leads with the thing people get wrong: it is
per-process, so two instances cache independently and a purge on one does not
reach the others. The redis one covers the connection relationship with
@strapi-community/plugin-redis, matching keysPrefix to the client's keyPrefix,
and that KeyDB and Valkey work unchanged.

The plugin's own package README was separately stale - it still described the
package as BETA, claimed support "as of September 2025", offered a filesystem
provider that does not exist, listed none of the features added since 5.0.0,
and linked LICENSE.md, which is not the filename. npm renders that file, so it
was the most-read stale page we had. It now tracks the root README, with the
screenshot and links absolutised since npm cannot resolve repository-relative
paths.

Verified the READMEs are actually in the published tarballs rather than
excluded by `files: ["dist"]`.
This branch is three package READMEs. It also carried four files from the
in-progress Cache-Control work (#175) - the e2e suite and the playground
fixtures it needs - but not the implementation, so every e2e job failed on
tests for a feature that is not on this branch.

Those files now live on feat/cache-control with the implementation.

Co-Authored-By: Claude <noreply@anthropic.com>
@derrickmehaffy
derrickmehaffy merged commit 2f53e09 into main Aug 14, 2026
13 checks passed
This was referenced Aug 14, 2026
@derrickmehaffy
derrickmehaffy deleted the docs/package-readmes branch August 14, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant