remove package json index and typings fields (#277)

* remove package json index and typings fields

* add missing util export

* Remove legacy util export
This commit is contained in:
Lukasz Ostrowski 2023-08-24 13:18:37 +02:00 committed by GitHub
parent 53f70180a6
commit 357557a1f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 7 deletions

View file

@ -0,0 +1,5 @@
---
"@saleor/app-sdk": patch
---
Removed unused package.json's index and typing, which were never built and bundled

View file

@ -0,0 +1,5 @@
---
"@saleor/app-sdk": patch
---
Removed exported "util" that was never bundled

View file

@ -2,8 +2,6 @@
"name": "@saleor/app-sdk",
"version": "0.43.0",
"description": "SDK for building great Saleor Apps",
"types": "index.d.ts",
"main": "index.js",
"scripts": {
"prepublishOnly": "pnpm build",
"watch": "tsup --watch",
@ -112,11 +110,6 @@
"import": "./app-bridge/next/index.mjs",
"require": "./app-bridge/next/index.js"
},
"./util": {
"types": "./util/index.d.ts",
"import": "./util/index.mjs",
"require": "./util/index.js"
},
"./handlers/next": {
"types": "./handlers/next/index.d.ts",
"import": "./handlers/next/index.mjs",