このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン 両方とも次のリビジョン | ||
packagist:knowledge [2020/07/17 12:02] y2sunlight [パッケージ・バージョンの管理] |
packagist:knowledge [2020/07/17 15:30] y2sunlight [composer.jsonの作成] |
||
---|---|---|---|
行 48: | 行 48: | ||
\\ | \\ | ||
- | ===== パッケージ・バージョンの管理 ===== | + | ===== パッケージのバージョン管理 ===== |
パッケージの新しいバージョンは、バージョン管理システムのリポジトリに作成したタグから自動的にフェッチされます。 | パッケージの新しいバージョンは、バージョン管理システムのリポジトリに作成したタグから自動的にフェッチされます。 | ||
行 54: | 行 54: | ||
バージョニングを管理する最も簡単な方法は、composer.json ファイルからバージョンフィールド( '' | バージョニングを管理する最も簡単な方法は、composer.json ファイルからバージョンフィールド( '' | ||
- | Tag/version names should match ' | + | タグ/バージョン名は '' |
< | < | ||
行 65: | 行 65: | ||
</ | </ | ||
- | Branches will automatically appear as " | + | ブランチは自動的に |
+ | |||
+ | > 例えば、'' | ||
\\ | \\ | ||
行 72: | 行 74: | ||
===== composer.jsonの作成 ===== | ===== composer.jsonの作成 ===== | ||
- | The composer.json | + | composer.json |
- | A typical | + | 典型的な |
<code json> | <code json> | ||
行 103: | 行 105: | ||
</ | </ | ||
- | Most of this information is obvious, | + | この情報のほとんどは明白で、キーワード( '' |
- | Once you have this file committed in your repository root, you can [[https:// | + | このファイルをリポジトリのルートでコミットしたら、パブリックリポジトリのURLを入力してパッケージを Packagist に[[https:// |
\\ | \\ | ||
- | === スケジュールの更新 === | + | ===== スケジュールの更新 |
New packages will be crawled immediately after submission if you have JS enabled. | New packages will be crawled immediately after submission if you have JS enabled. |