diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c8bdfc7..8bec2206 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 62113b7a..ca8c0662 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 ```