From 0c513ea58a8418888390aa8bc54250873dd4a37c Mon Sep 17 00:00:00 2001 From: Noel Date: Fri, 27 Jan 2023 20:24:40 -0700 Subject: [PATCH] include src/runtime in dist/ --- .github/workflows/Publish.yaml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Publish.yaml b/.github/workflows/Publish.yaml index da4e329..e032527 100644 --- a/.github/workflows/Publish.yaml +++ b/.github/workflows/Publish.yaml @@ -48,6 +48,9 @@ jobs: - name: Build distribution run: yarn build + - name: Add src/runtime/ in dist/ + run: cp -R ./src/runtime ./dist + - name: Publish! uses: JS-DevTools/npm-publish@v1 with: diff --git a/package.json b/package.json index a571ab0..2bf2453 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@augu/fastify-nitro", "description": "🐻‍❄️⚗️ Experimental Nitro preset to export a Nitro server as middleware for fastify", - "version": "1.0.1", + "version": "1.0.2", "main": "./dist/index.js", "types": "./dist/index.d.ts", "repository": "https://github.com/auguwu/nitro-preset",