Pin `@stellar/stellar-sdk` exactly and document the protocol-compatibility policy

オープン 初心者向け
#158 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
nodejs, typescript

調査の方向性

web/package.json から始めてください。そこでは @stellar/stellar-sdk がキャレット範囲の ^16.0.1 に設定されているので、他の依存関係がどのように固定されているかを確認してください。インストール済みの正確なバージョンに変更し、その後クリーンなインストールで web/package-lock.json を再生成してください。web/README.md に「Upgrading the Stellar SDK」セクションを追加してください。完了の条件は、バージョン固定と lockfile が更新されていること、そのセクションが存在すること、そして web/ で npm ci と npm run build の両方が成功することです。

索引モデルが issue の本文から書いたものです。

説明

difficulty: beginner dx good first issue help wanted web

Difficulty: Beginner

Problem

web/package.json pins almost every dependency exactly, but @stellar/stellar-sdk uses a caret range (^16.0.1). The SDK must match the network's protocol version, and a mismatch has caused hard-to-diagnose failures ("Bad union switch") before. A caret range lets a routine install move it.

Why it matters

An unexpected SDK bump can break every transaction without any code change.

Scope of work

Pin the SDK to an exact version, and add a short "Upgrading the Stellar SDK" section to web/README.md explaining that the version must be matched to the testnet protocol, how to check it, and how to test after an upgrade.

Expected outcome

The SDK only changes through a deliberate, tested upgrade.

Acceptance criteria

  • The dependency is pinned and the lockfile is updated.
  • The documentation section exists.
  • npm ci and npm run build pass.

Relevant files

  • web/package.json, web/package-lock.json, web/README.md

Dependencies

Related to #10. PRs touching package.json may conflict.

Maintainer discussion needed?

No.

主要言語
TypeScript
スター
0
フォーク
4
平均マージ
54分
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Yormee-103/PayLoop のほかの issue

Yormee-103/PayLoop の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。