Skip to content

Commit fee344a

Browse files
committed
Update package.json with additional metadata
1 parent aee6340 commit fee344a

File tree

2 files changed

+36
-14
lines changed

2 files changed

+36
-14
lines changed

packages/graphql/package.json

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
{
22
"name": "@typespec/graphql",
33
"version": "0.1.0",
4+
"author": "Microsoft Corporation",
5+
"description": "TypeSpec library for emitting GraphQL",
6+
"homepage": "https://typespec.io",
7+
"readme": "https://github.com/microsoft/typespec/blob/main/README.md",
8+
"license": "MIT",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/microsoft/typespec.git"
12+
},
13+
"bugs": {
14+
"url": "https://github.com/microsoft/typespec/issues"
15+
},
16+
"keywords": [
17+
"typespec"
18+
],
419
"type": "module",
520
"main": "dist/src/index.js",
621
"exports": {
@@ -13,15 +28,8 @@
1328
"default": "./dist/src/testing/index.js"
1429
}
1530
},
16-
"peerDependencies": {
17-
"@typespec/compiler": "workspace:~"
18-
},
19-
"devDependencies": {
20-
"@types/node": "~22.7.5",
21-
"rimraf": "~6.0.1",
22-
"source-map-support": "~0.5.21",
23-
"typescript": "~5.6.3",
24-
"vitest": "^2.1.2"
31+
"engines": {
32+
"node": ">=18.0.0"
2533
},
2634
"scripts": {
2735
"clean": "rimraf ./dist ./temp",
@@ -32,5 +40,20 @@
3240
"lint": "eslint src/ test/ --report-unused-disable-directives --max-warnings=0",
3341
"lint:fix": "eslint . --report-unused-disable-directives --fix"
3442
},
35-
"private": true
43+
"files": [
44+
"lib/*.tsp",
45+
"dist/**",
46+
"!dist/test/**"
47+
],
48+
"peerDependencies": {
49+
"@typespec/compiler": "workspace:~"
50+
},
51+
"devDependencies": {
52+
"@types/node": "~22.7.5",
53+
"@typespec/compiler": "workspace:~",
54+
"rimraf": "~6.0.1",
55+
"source-map-support": "~0.5.21",
56+
"typescript": "~5.6.3",
57+
"vitest": "^2.1.2"
58+
}
3659
}

pnpm-lock.yaml

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)