From d5d48bbcc1b42da9f82a79e31ad75444700508a8 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 12 Feb 2023 12:15:08 +0000 Subject: [PATCH] update CHANGELOG.md --- CHANGELOG.md | 7 +++++-- README.md | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c8bdfc..8bec220 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ -*.*.* / 2023-2-** +3.0.0 / 2023-02-12 ------------------ -* +* ES Moduleになりました + - `import { summaly } from 'summaly';`で関数をインポートします + - デフォルトエクスポートはFastifyプラグインになります * https/http agents options +* サーバーのコマンドはnpm run serveになりました 2.7.0 / 2022-07-09 ------------------ diff --git a/README.md b/README.md index 62113b7..ca8c066 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ summaly Installation ---------------------------------------------------------------- ``` -npm install git+https://github.com/misskey-dev/summalygit +npm install git+https://github.com/misskey-dev/summaly.git ``` Usage @@ -33,6 +33,9 @@ fastify.register(Summaly[, opts]) Run the server: ``` +git clone https://github.com/misskey-dev/summaly.git +cd summaly +NODE_ENV=development npm install npm run build npm run serve ```