summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-07-07 05:26:04 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-07-07 05:26:04 +0900
commit4b747d20b7b595ea3a86ecce55797eea762b3422 (patch)
tree0e7ad80dd02a35a3f9fb829891e84ccc76094853
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-4b747d20b7b595ea3a86ecce55797eea762b3422.tar.gz
sharkey-4b747d20b7b595ea3a86ecce55797eea762b3422.tar.bz2
sharkey-4b747d20b7b595ea3a86ecce55797eea762b3422.zip
Use npx to avoid global install of ts-node
-rw-r--r--CONTRIBUTING.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 894122b04f..ea427b2c01 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -220,8 +220,7 @@ const user = await Users.findOne(userId).then(ensure);
### Migration作成方法
```
-npm i -g ts-node
-ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前
+npx ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前
```
作成されたスクリプトは不必要な変更を含むため除去してください。