From 105bb255a23be3a1fbc7db04fcaa0ca2dccea5ea Mon Sep 17 00:00:00 2001 From: Steve Rice Date: Tue, 12 Nov 2024 11:32:38 -0800 Subject: [PATCH] Update package.json with additional metadata --- packages/graphql/package.json | 44 +++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/packages/graphql/package.json b/packages/graphql/package.json index c233dbe9ecb..53c00b35e09 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -1,6 +1,21 @@ { "name": "@typespec/graphql", "version": "0.1.0", + "author": "Microsoft Corporation", + "description": "TypeSpec library for emitting GraphQL", + "homepage": "https://typespec.io", + "readme": "https://github.com/microsoft/typespec/blob/main/README.md", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/microsoft/typespec.git" + }, + "bugs": { + "url": "https://github.com/microsoft/typespec/issues" + }, + "keywords": [ + "typespec" + ], "type": "module", "main": "dist/src/index.js", "exports": { @@ -13,15 +28,8 @@ "default": "./dist/src/testing/index.js" } }, - "peerDependencies": { - "@typespec/compiler": "workspace:~" - }, - "devDependencies": { - "@types/node": "~22.7.5", - "rimraf": "~6.0.1", - "source-map-support": "~0.5.21", - "typescript": "~5.6.3", - "vitest": "^2.1.2" + "engines": { + "node": ">=18.0.0" }, "scripts": { "clean": "rimraf ./dist ./temp", @@ -32,5 +40,21 @@ "lint": "eslint src/ test/ --report-unused-disable-directives --max-warnings=0", "lint:fix": "eslint . --report-unused-disable-directives --fix" }, - "private": true + "files": [ + "lib/*.tsp", + "dist/**", + "!dist/test/**" + ], + "peerDependencies": { + "@typespec/compiler": "workspace:~" + }, + "devDependencies": { + "@types/node": "~22.7.5", + "@typespec/compiler": "workspace:~", + "rimraf": "~6.0.1", + "source-map-support": "~0.5.21", + "typescript": "~5.6.3", + "vitest": "^2.1.2" + } + }