背景
GitHub リポジトリを指定して、npm パッケージをインストールしている。
{
"dependencies": {
"@hiro0218/example-icon": "github:hiro0218/example-icon"
}
}
GitHub リポジトリを指定して、npm パッケージをインストールしている。
{
"dependencies": {
"@hiro0218/example-icon": "github:hiro0218/example-icon"
}
}
※他のパッケージの状況も相まって、正しいやり方ではないように思うので、検証が進み次第更新する。
パッケージのバージョン指定部分(github:hiro0218/example-icon
)に#1.2.3
バージョンを指定する。
{
"dependencies": {
"@hiro0218/example-icon": "github:hiro0218/example-icon#v1.2.3"
}
}
package-lock.json
を削除する
npm install
する