Skip to content

docs: add npm READMEs and publish codemod - #1936

Merged
bataevvlad merged 1 commit into
masterfrom
chore/npm-readmes
Oct 6, 2026
Merged

bataevvlad merged 1 commit into
masterfrom
chore/npm-readmes

Conversation

@bataevvlad

Copy link
Copy Markdown
Collaborator

Why

npm view @ui-kitten/components readme returns No README data found!, for 6.2.0 and for 5.3.1. A 5.x user who lands on npmjs.com sees no install line, no "v6 is out" notice and no migration link. Last week 76% of @ui-kitten/components installs were still 5.3.1 and 3% were 6.x.

@ui-kitten/codemod is private: true, so the npx @ui-kitten/codemod command that the migration guide and README advertise fails.

What

  • README.md for every published package. components carries the full install / quick start / packages table; the other eight are short: what it is, install, one usage snippet, docs link, migration pointer.
  • homepage in every package.json points at the documentation site instead of the GitHub README anchor.
  • @ui-kitten/codemod is no longer private. The "not published yet" admonition is removed from the migration guide; root README now says npx @ui-kitten/codemod.
  • RELEASING.md: npm writes from a developer machine work from an interactive terminal via web auth (verified today with npm dist-tag rm); non-interactive shells get a bare 403. New section on the manual first publish a new package needs under trusted publishing.
  • Changeset: patch for all ten packages, so the READMEs reach npm on the next release.

Release order for the codemod

Trusted publishing only works for packages that already exist on npm. Before merging the Version PR that follows this one:

  1. yarn workspace @ui-kitten/codemod build && cd src/codemod && npm publish --access public
  2. npmjs.com → @ui-kitten/codemod → Settings → add trusted publisher akveo/react-native-ui-kitten / release.yml

Verification

  • yarn workspace @ui-kitten/codemod build and npm pack --dry-run in src/codemod: README, bin/, lib/commonjs included, 82 files, 110 kB.
  • node bin/ui-kitten-codemod --help runs.
  • yarn jest src/codemod --runInBand: 3 suites, 451 tests pass.
  • README snippets checked against the sources: MomentDateService(locale), DateFnsService(locale, { formatOptions, parseOptions }), SchemaProcessor().process(mapping) run against the Eva mapping, createMapping / mergeMapping exports, ui-kitten bootstrap CLI command.

npm showed no README for any @ui-kitten package ("No README data
found!"), so a 5.x user on npmjs.com saw no install line, no v6
notice and no migration link. Every published package now ships a
README with install, usage and the migration guide; homepage points
at the documentation site instead of the GitHub README anchor.

@ui-kitten/codemod was private, so the `npx @ui-kitten/codemod`
command in the migration guide and README did not work. Unmark it,
drop the "not published yet" note, and document the manual first
publish a new package needs under trusted publishing.
@bataevvlad
bataevvlad merged commit 5c45109 into master Oct 6, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 6, 2026
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