Skip to content

chore: привести repository в package.json к виду, пригодному для npm provenance - #2995

Merged
Yakutoc merged 1 commit into
devfrom
chore-fix-rep-urls
Jul 28, 2026
Merged

chore: привести repository в package.json к виду, пригодному для npm provenance#2995
Yakutoc merged 1 commit into
devfrom
chore-fix-rep-urls

Conversation

@Yakutoc

@Yakutoc Yakutoc commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

What/why changed

Приводим поле repository в порядок во всех публикуемых пакетах - это предусловие для npm trusted publishing и provenance.

При публикации через OIDC реестр сверяет repository.url из манифеста с URL репозитория из сертификата подписи Sigstore.

Несовпадение или пустое значение - публикация падает с E422 Failed to validate repository information.

Бонусом, поправили поле contributors на "contributors": ["salute.developers@gmail.com"], без указания отдельных разработчиков.

Summary by CodeRabbit

  • Chores
    • Standardized repository links across packages and utilities to use HTTPS.
    • Added or corrected repository metadata and package directory references.
    • Updated contributor metadata for selected packages.
    • Corrected repository information for token utilities and FinAI components.
📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/plasma-asdk@0.384.1-canary.2995.30345748617.0
npm install @salutejs/plasma-b2c@1.626.1-canary.2995.30345748617.0
npm install @salutejs/plasma-colors@0.16.1-canary.2995.30345748617.0
npm install @salutejs/plasma-core@1.233.1-canary.2995.30345748617.0
npm install @salutejs/plasma-giga@0.353.1-canary.2995.30345748617.0
npm install @salutejs/plasma-homeds@0.353.1-canary.2995.30345748617.0
npm install @salutejs/plasma-hope@1.380.1-canary.2995.30345748617.0
npm install @salutejs/plasma-icons@1.243.1-canary.2995.30345748617.0
npm install @salutejs/plasma-new-hope@0.370.1-canary.2995.30345748617.0
npm install @salutejs/plasma-tokens@1.145.1-canary.2995.30345748617.0
npm install @salutejs/plasma-tokens-b2b@1.59.1-canary.2995.30345748617.0
npm install @salutejs/plasma-tokens-b2c@0.70.1-canary.2995.30345748617.0
npm install @salutejs/plasma-tokens-core@0.7.1-canary.2995.30345748617.0
npm install @salutejs/plasma-tokens-web@1.74.1-canary.2995.30345748617.0
npm install @salutejs/plasma-typo@0.47.1-canary.2995.30345748617.0
npm install @salutejs/plasma-web@1.628.1-canary.2995.30345748617.0
npm install @salutejs/sdds-bizcom@0.358.1-canary.2995.30345748617.0
npm install @salutejs/sdds-cs@0.362.1-canary.2995.30345748617.0
npm install @salutejs/sdds-dfa@0.356.1-canary.2995.30345748617.0
npm install @salutejs/sdds-finai@0.349.1-canary.2995.30345748617.0
npm install @salutejs/sdds-insol@0.353.1-canary.2995.30345748617.0
npm install @salutejs/sdds-netology@0.357.1-canary.2995.30345748617.0
npm install @salutejs/sdds-os@0.28.1-canary.2995.30345748617.0
npm install @salutejs/sdds-platform-ai@0.357.1-canary.2995.30345748617.0
npm install @salutejs/sdds-sbcom@0.358.1-canary.2995.30345748617.0
npm install @salutejs/sdds-scan@0.356.1-canary.2995.30345748617.0
npm install @salutejs/sdds-serv@0.357.1-canary.2995.30345748617.0
npm install @salutejs/core-themes@0.35.1-canary.2995.30345748617.0
npm install @salutejs/plasma-themes@0.57.1-canary.2995.30345748617.0
npm install @salutejs/sdds-themes@0.71.1-canary.2995.30345748617.0
npm install @salutejs/sdds-api-tests@0.15.1-canary.2995.30345748617.0
npm install @salutejs/plasma-cy-utils@0.163.1-canary.2995.30345748617.0
npm install @salutejs/plasma-sb-utils@0.234.1-canary.2995.30345748617.0
npm install @salutejs/plasma-tokens-utils@0.55.1-canary.2995.30345748617.0
# or 
yarn add @salutejs/plasma-asdk@0.384.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-b2c@1.626.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-colors@0.16.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-core@1.233.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-giga@0.353.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-homeds@0.353.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-hope@1.380.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-icons@1.243.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-new-hope@0.370.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-tokens@1.145.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-tokens-b2b@1.59.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-tokens-b2c@0.70.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-tokens-core@0.7.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-tokens-web@1.74.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-typo@0.47.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-web@1.628.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-bizcom@0.358.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-cs@0.362.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-dfa@0.356.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-finai@0.349.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-insol@0.353.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-netology@0.357.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-os@0.28.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-platform-ai@0.357.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-sbcom@0.358.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-scan@0.356.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-serv@0.357.1-canary.2995.30345748617.0
yarn add @salutejs/core-themes@0.35.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-themes@0.57.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-themes@0.71.1-canary.2995.30345748617.0
yarn add @salutejs/sdds-api-tests@0.15.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-cy-utils@0.163.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-sb-utils@0.234.1-canary.2995.30345748617.0
yarn add @salutejs/plasma-tokens-utils@0.55.1-canary.2995.30345748617.0

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Package manifests across packages and utilities standardize Git repository URLs and monorepo directory mappings. Selected manifests also update contributor metadata and compact the published files declaration.

Changes

Package metadata updates

Layer / File(s) Summary
Repository metadata normalization
packages/*/package.json, packages/themes/*/package.json, utils/*/package.json
Repository URLs are changed to git+https form, and repository directory mappings are added or corrected for packages in the monorepo.
Contributor and files metadata
packages/plasma-colors/package.json, packages/plasma-tokens*/package.json, packages/themes/*/package.json
Selected contributor arrays now contain salute.developers@gmail.com; selected files arrays are compacted to ["dist"].

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: titankuzmich, salute-eva, shuga2704

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the package.json repository metadata update for npm provenance and is specific enough.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore-fix-rep-urls

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Yakutoc Yakutoc self-assigned this Jul 28, 2026
@Yakutoc Yakutoc added the changelog-skip Exclude pull request changes from changelog label Jul 28, 2026
"keywords": ["design-system", "react-components", "ui-kit", "react"],
"repository": {
"type": "git",
"url": "ssh://git@github.com:salute-developers/plasma.git",

@Yakutoc Yakutoc Jul 28, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Note]:

это гибрид схемы ssh:// и scp-синтаксиса с двоеточием. Формально невалидный URL: new URL(...) кидает ERR_INVALID_URL, потому что salute-developers парсится как порт.

Почему "работало"?

Проходит он только благодаря лояльному регекспу hosted-git-info, который при публикации приводит его к git+ssh://git@github.com/salute-developers/plasma.git - именно в таком виде он и лежит сейчас в реестре у например, @salutejs/sdds-serv@0.357.0

@github-actions

Copy link
Copy Markdown
Contributor

Theme Builder app deployed!

https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-2995/

"styled-components": "5.3.1",
"ts-node": "10.2.1"
},
"contributors": ["Виноградов Антон Александрович", "Зубаиров Фаниль Асхатович", "Vasiliy Loginevskiy"],

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Note]:

Приводим к одному виду

@Yakutoc
Yakutoc marked this pull request as ready for review July 28, 2026 09:20

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/plasma-tokens-b2c/package.json`:
- Line 60: Standardize the contributors email to salute.developers@gmail.com in
the contributors arrays of packages/plasma-tokens-b2c/package.json at lines
60-60, packages/plasma-tokens-core/package.json at lines 23-23, and
packages/plasma-tokens-web/package.json at lines 60-60.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 7fe936b3-e513-49ec-90d8-486f5bb7f56d

📥 Commits

Reviewing files that changed from the base of the PR and between 5e6dacb and 3ad85ca.

📒 Files selected for processing (33)
  • packages/plasma-asdk/package.json
  • packages/plasma-b2c/package.json
  • packages/plasma-colors/package.json
  • packages/plasma-core/package.json
  • packages/plasma-giga/package.json
  • packages/plasma-homeds/package.json
  • packages/plasma-hope/package.json
  • packages/plasma-icons/package.json
  • packages/plasma-tokens-b2b/package.json
  • packages/plasma-tokens-b2c/package.json
  • packages/plasma-tokens-core/package.json
  • packages/plasma-tokens-web/package.json
  • packages/plasma-tokens/package.json
  • packages/plasma-typo/package.json
  • packages/plasma-web/package.json
  • packages/sdds-bizcom/package.json
  • packages/sdds-cs/package.json
  • packages/sdds-dfa/package.json
  • packages/sdds-finai/package.json
  • packages/sdds-insol/package.json
  • packages/sdds-netology/package.json
  • packages/sdds-os/package.json
  • packages/sdds-platform-ai/package.json
  • packages/sdds-sbcom/package.json
  • packages/sdds-scan/package.json
  • packages/sdds-serv/package.json
  • packages/themes/core-themes/package.json
  • packages/themes/plasma-themes/package.json
  • packages/themes/sdds-themes/package.json
  • utils/api-tests/package.json
  • utils/plasma-cy-utils/package.json
  • utils/plasma-sb-utils/package.json
  • utils/plasma-tokens-utils/package.json

Comment thread packages/plasma-tokens-b2c/package.json
@github-actions

Copy link
Copy Markdown
Contributor

@Yakutoc
Yakutoc added this pull request to the merge queue Jul 28, 2026
Merged via the queue into dev with commit 4105e1b Jul 28, 2026
66 checks passed
@Yakutoc
Yakutoc deleted the chore-fix-rep-urls branch July 28, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-skip Exclude pull request changes from changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants