From f956f684ece0bd1baec636d62f6be6ebd03bd4ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romel=20P=C3=A9rez?= Date: Thu, 17 Nov 2022 16:15:02 -0500 Subject: [PATCH] Add npm exports and metadata (#705) --- packages/houdini-react/package.json | 18 +++++++++++++++++- packages/houdini-svelte/package.json | 17 +++++++++++++++++ packages/houdini/package.json | 15 +++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/packages/houdini-react/package.json b/packages/houdini-react/package.json index 89ceec9411..16a0f9b6ec 100644 --- a/packages/houdini-react/package.json +++ b/packages/houdini-react/package.json @@ -2,7 +2,20 @@ "name": "houdini-react", "version": "0.17.9", "private": true, - "description": "The disappearing GraphQL clients", + "description": "The React plugin for houdini", + "keywords": [ + "typescript", + "react", + "graphql", + "graphql-client" + ], + "homepage": "https://github.com/HoudiniGraphql/houdini", + "funding": "https://github.com/sponsors/HoudiniGraphql", + "repository": { + "type": "git", + "url": "https://github.com/HoudiniGraphql/houdini.git" + }, + "license": "MIT", "scripts": { "compile": "scripts build --plugin", "typedefs": "scripts typedefs --plugin" @@ -21,6 +34,9 @@ "houdini": "workspace:^", "recast": "^0.21.5" }, + "files": [ + "build" + ], "exports": { "./package.json": "./package.json", "./next": { diff --git a/packages/houdini-svelte/package.json b/packages/houdini-svelte/package.json index bd8999127d..71c7fcbc9a 100644 --- a/packages/houdini-svelte/package.json +++ b/packages/houdini-svelte/package.json @@ -2,6 +2,20 @@ "name": "houdini-svelte", "version": "0.17.9", "description": "The svelte plugin for houdini", + "keywords": [ + "typescript", + "svelte", + "sveltekit", + "graphql", + "graphql-client" + ], + "homepage": "https://github.com/HoudiniGraphql/houdini", + "funding": "https://github.com/sponsors/HoudiniGraphql", + "repository": { + "type": "git", + "url": "https://github.com/HoudiniGraphql/houdini.git" + }, + "license": "MIT", "type": "module", "scripts": { "tests": "vitest", @@ -27,6 +41,9 @@ "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0" }, + "files": [ + "build" + ], "exports": { "./package.json": "./package.json", ".": { diff --git a/packages/houdini/package.json b/packages/houdini/package.json index acc7f52c40..3ef7705026 100644 --- a/packages/houdini/package.json +++ b/packages/houdini/package.json @@ -2,6 +2,18 @@ "name": "houdini", "version": "0.17.9", "description": "The disappearing GraphQL clients", + "keywords": [ + "typescript", + "graphql", + "graphql-client" + ], + "homepage": "https://github.com/HoudiniGraphql/houdini", + "funding": "https://github.com/sponsors/HoudiniGraphql", + "repository": { + "type": "git", + "url": "https://github.com/HoudiniGraphql/houdini.git" + }, + "license": "MIT", "type": "module", "scripts": { "compile": "scripts build", @@ -42,6 +54,9 @@ "recast": "^0.21.5", "vite-plugin-watch-and-run": "^1.0.3" }, + "files": [ + "build" + ], "exports": { "./package.json": "./package.json", "./codegen": {