From 0e272dcf54042be7d655a72281d63c3575e574ba Mon Sep 17 00:00:00 2001 From: Artyom Sokolov Date: Tue, 22 Jun 2021 20:36:14 +0300 Subject: [PATCH] Update README.md and publish.yml --- .github/workflows/publish.yml | 2 +- README.md | 8 ++++++++ package.json | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e341653..6403915 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,6 +30,6 @@ jobs: - name: Build run: yarn build - name: Publish - run: yarn npm publish + run: yarn npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index 121e08d..c4151e3 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,14 @@ yarn add @applicazza/fastify-nextjs yarn add fastify-static ``` +Disable compression in Next.js (next.config.js) + +```js +module.exports = { + compress: false, +}; +``` + Default example ```ts diff --git a/package.json b/package.json index 7f54d9e..22749d0 100644 --- a/package.json +++ b/package.json @@ -52,5 +52,5 @@ "test": "jest --coverage" }, "types": "dist/index.d.ts", - "version": "0.0.3" + "version": "0.0.4" }