Skip to content

本番環境やらかしカレンダー2019に対する解

License

Notifications You must be signed in to change notification settings

sadnessOjisan/yarakasanai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yarakasanai

本番環境でやらかしちゃった人 Advent Calendar 2019 23 日目(思いもよらないものを npm publish してしまった話(前任者の顔写真など))でやらかしたことを起こさないためのレポジトリです。

概要

やらかさないために・確実な publish をするために

  • CI/CD サーバーからの publish
  • 環境の固定やコード化

を行なったサンプルプロジェクトです。

ここで作ったモジュールは次のようにインストールできます。

$ yarn add @sadness.ojisan/yarakasanai

また、上でインストールできるモジュールはこのように使うことができます。

codesandbox.io

環境構築

node は v12 に固定しています(engines + Github Actions)

$ node -v                                                                                                    
v12.13.0
$ yarn install

やらかしたとき

$ npm unpublish yarakasanai --force

ref

License

MIT

About

本番環境やらかしカレンダー2019に対する解

Resources

License

Stars

Watchers

Forks

Packages

No packages published