From 577a84928cd3c8e4f7a57d1f2746abd69db23eeb Mon Sep 17 00:00:00 2001 From: Chris Villa Date: Thu, 6 Jul 2023 18:03:49 +0100 Subject: [PATCH] fix: export correct files for Strapi adaptor --- packages/adaptor-strapi/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/adaptor-strapi/package.json b/packages/adaptor-strapi/package.json index 944e401da8..c598b5d458 100644 --- a/packages/adaptor-strapi/package.json +++ b/packages/adaptor-strapi/package.json @@ -2,14 +2,17 @@ "name": "@measured/puck-adaptor-strapi", "version": "0.3.1", "private": false, - "main": "./index.ts", - "types": "./index.ts", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", "license": "MIT", "scripts": { "lint": "eslint \"**/*.ts*\"", "build": "rm -rf dist && tsup index.ts", "prepare": "yarn build" }, + "files": [ + "dist" + ], "devDependencies": { "eslint": "^7.32.0", "eslint-config-custom": "*",