|
3 | 3 | "publishConfig": { |
4 | 4 | "access": "public" |
5 | 5 | }, |
6 | | - "version": "1.0.0", |
7 | | - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec", |
8 | | - "main": "generated/types.js", |
9 | | - "types": "generated/types.ts", |
| 6 | + "version": "0.0.0-development", |
| 7 | + "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for https://api.github.com", |
| 8 | + "main": "", |
| 9 | + "types": "generated/types.d.ts", |
10 | 10 | "repository": "github:octokit/openapi-types.ts", |
11 | 11 | "keywords": [], |
12 | 12 | "author": "Gregor Martynus (https://twitter.com/gr2m)", |
13 | 13 | "license": "MIT", |
14 | 14 | "scripts": { |
15 | | - "build": "pika build", |
16 | 15 | "download": "node scripts/download", |
17 | | - "generate-types": "npx openapi-typescript cache/openapi-schema.json -o src/generated/types.ts", |
| 16 | + "generate-types": "npx openapi-typescript cache/openapi-schema.json -o generated/types.d.ts", |
18 | 17 | "postgenerate-types": "node scripts/update-package" |
19 | 18 | }, |
20 | 19 | "devDependencies": { |
21 | | - "@gr2m/openapi-typescript": "^4.0.0-fork.2", |
22 | | - "@octokit/tsconfig": "^1.0.2", |
23 | | - "@pika/pack": "^0.5.0", |
24 | | - "@pika/plugin-build-node": "^0.9.2", |
25 | | - "@pika/plugin-build-web": "^0.9.2", |
26 | | - "@pika/plugin-ts-standard-pkg": "^0.9.2", |
27 | | - "pika-plugin-merge-properties": "^1.0.6", |
28 | | - "semantic-release-plugin-update-version-in-files": "^1.1.0", |
29 | | - "typescript": "^4.1.5" |
| 20 | + "openapi-typescript": "^4.0.1" |
30 | 21 | }, |
31 | 22 | "release": { |
32 | | - "branches": "main", |
33 | | - "plugins": [ |
34 | | - "@semantic-release/commit-analyzer", |
35 | | - "@semantic-release/release-notes-generator", |
36 | | - "@semantic-release/github", |
37 | | - [ |
38 | | - "@semantic-release/npm", |
39 | | - { |
40 | | - "pkgRoot": "./pkg" |
41 | | - } |
42 | | - ], |
43 | | - [ |
44 | | - "semantic-release-plugin-update-version-in-files", |
45 | | - { |
46 | | - "files": [ |
47 | | - "pkg/dist-web/*", |
48 | | - "pkg/dist-node/*", |
49 | | - "pkg/*/version.*" |
50 | | - ] |
51 | | - } |
52 | | - ] |
| 23 | + "branches": [ |
| 24 | + "main", |
| 25 | + "beta" |
53 | 26 | ] |
54 | 27 | }, |
55 | 28 | "octokit": { |
56 | 29 | "openapi-version": "2.23.0" |
57 | 30 | }, |
58 | | - "@pika/pack": { |
59 | | - "pipeline": [ |
60 | | - [ |
61 | | - "@pika/plugin-ts-standard-pkg" |
62 | | - ], |
63 | | - [ |
64 | | - "pika-plugin-merge-properties", |
65 | | - { |
66 | | - "properties": { |
67 | | - "octokit": "see https://github.com/jabuco/pika-plugin-merge-properties/issues/2" |
68 | | - } |
69 | | - } |
70 | | - ], |
71 | | - [ |
72 | | - "@pika/plugin-build-node" |
73 | | - ], |
74 | | - [ |
75 | | - "@pika/plugin-build-web" |
76 | | - ] |
77 | | - ] |
78 | | - }, |
79 | 31 | "renovate": { |
80 | 32 | "extends": [ |
81 | 33 | "github>octokit/.github" |
|
0 commit comments