From 12df29b2711adf72d06c13656c77d0f7601aae8c Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 18 Nov 2024 18:41:18 -0600 Subject: [PATCH] Include src in packages for source maps --- content-types/content-type-group-updated/package.json | 5 ++++- content-types/content-type-primitives/package.json | 5 ++++- content-types/content-type-reaction/package.json | 5 ++++- content-types/content-type-read-receipt/package.json | 5 ++++- content-types/content-type-remote-attachment/package.json | 5 ++++- content-types/content-type-reply/package.json | 5 ++++- content-types/content-type-text/package.json | 5 ++++- .../content-type-transaction-reference/package.json | 5 ++++- packages/frames-validator/package.json | 5 ++++- 9 files changed, 36 insertions(+), 9 deletions(-) diff --git a/content-types/content-type-group-updated/package.json b/content-types/content-type-group-updated/package.json index dfe9f7823..b27fe5a75 100644 --- a/content-types/content-type-group-updated/package.json +++ b/content-types/content-type-group-updated/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/content-types/content-type-primitives/package.json b/content-types/content-type-primitives/package.json index ab40fb0dc..c1407d104 100644 --- a/content-types/content-type-primitives/package.json +++ b/content-types/content-type-primitives/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/content-types/content-type-reaction/package.json b/content-types/content-type-reaction/package.json index b862c90d1..e87059fbd 100644 --- a/content-types/content-type-reaction/package.json +++ b/content-types/content-type-reaction/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/content-types/content-type-read-receipt/package.json b/content-types/content-type-read-receipt/package.json index 68a95c94c..77f0fb5d3 100644 --- a/content-types/content-type-read-receipt/package.json +++ b/content-types/content-type-read-receipt/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/content-types/content-type-remote-attachment/package.json b/content-types/content-type-remote-attachment/package.json index 8b44b4f5f..7e59d1d34 100644 --- a/content-types/content-type-remote-attachment/package.json +++ b/content-types/content-type-remote-attachment/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/content-types/content-type-reply/package.json b/content-types/content-type-reply/package.json index 1cab69ce4..11d5105da 100644 --- a/content-types/content-type-reply/package.json +++ b/content-types/content-type-reply/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/content-types/content-type-text/package.json b/content-types/content-type-text/package.json index 69b473db3..2f8fa0e61 100644 --- a/content-types/content-type-text/package.json +++ b/content-types/content-type-text/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/content-types/content-type-transaction-reference/package.json b/content-types/content-type-transaction-reference/package.json index b703a4e53..b90f3f7d4 100644 --- a/content-types/content-type-transaction-reference/package.json +++ b/content-types/content-type-transaction-reference/package.json @@ -38,7 +38,10 @@ "browser": "dist/browser/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c", diff --git a/packages/frames-validator/package.json b/packages/frames-validator/package.json index 1680877bf..2c4fe7e05 100644 --- a/packages/frames-validator/package.json +++ b/packages/frames-validator/package.json @@ -20,7 +20,10 @@ "module": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "src", + "!src/**/*.test.*", + "tsconfig.json" ], "scripts": { "build": "yarn clean:dist && yarn rollup -c",