From 25a0f3991f09351e8c129801bbf23519df0a35aa Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Mon, 10 Oct 2022 15:04:49 -0700 Subject: [PATCH] fix(types): add export to type-only files as a workaround for https://github.com/ije/esm.sh/issues/433 (#84) --- .../index.js | 1 + .../package.json | 7 +++-- packages/types-openapi-ghes-3.0/index.js | 1 + packages/types-openapi-ghes-3.0/package.json | 7 +++-- .../index.js | 1 + .../package.json | 7 +++-- packages/types-openapi-ghes-3.1/index.js | 1 + packages/types-openapi-ghes-3.1/package.json | 7 +++-- .../index.js | 1 + .../package.json | 7 +++-- packages/types-openapi-ghes-3.2/index.js | 1 + packages/types-openapi-ghes-3.2/package.json | 7 +++-- .../index.js | 1 + .../package.json | 7 +++-- packages/types-openapi-github.ae/index.js | 1 + packages/types-openapi-github.ae/package.json | 7 +++-- packages/types-openapi/index.js | 1 + packages/types-openapi/package.json | 7 +++-- .../index.js | 1 + .../package.json | 25 ++++++++-------- packages/types-rest-api-ghes-3.0/index.js | 1 + packages/types-rest-api-ghes-3.0/package.json | 29 ++++++++++--------- .../index.js | 1 + .../package.json | 25 ++++++++-------- packages/types-rest-api-ghes-3.1/index.js | 1 + packages/types-rest-api-ghes-3.1/package.json | 29 ++++++++++--------- .../index.js | 1 + .../package.json | 25 ++++++++-------- packages/types-rest-api-ghes-3.2/index.js | 1 + packages/types-rest-api-ghes-3.2/package.json | 29 ++++++++++--------- .../index.js | 1 + .../package.json | 25 ++++++++-------- packages/types-rest-api-github.ae/index.js | 1 + .../types-rest-api-github.ae/package.json | 29 ++++++++++--------- packages/types-rest-api/index.js | 1 + packages/types-rest-api/package.json | 7 ++--- packages/types/index.js | 1 + packages/types/package.json | 7 ++--- 38 files changed, 173 insertions(+), 139 deletions(-) create mode 100644 packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/index.js create mode 100644 packages/types-openapi-ghes-3.0/index.js create mode 100644 packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/index.js create mode 100644 packages/types-openapi-ghes-3.1/index.js create mode 100644 packages/types-openapi-ghes-3.2-diff-to-api.github.com/index.js create mode 100644 packages/types-openapi-ghes-3.2/index.js create mode 100644 packages/types-openapi-github.ae-diff-to-api.github.com/index.js create mode 100644 packages/types-openapi-github.ae/index.js create mode 100644 packages/types-openapi/index.js create mode 100644 packages/types-rest-api-ghes-3.0-compatible/index.js create mode 100644 packages/types-rest-api-ghes-3.0/index.js create mode 100644 packages/types-rest-api-ghes-3.1-compatible/index.js create mode 100644 packages/types-rest-api-ghes-3.1/index.js create mode 100644 packages/types-rest-api-ghes-3.2-compatible/index.js create mode 100644 packages/types-rest-api-ghes-3.2/index.js create mode 100644 packages/types-rest-api-github.ae-compatible/index.js create mode 100644 packages/types-rest-api-github.ae/index.js create mode 100644 packages/types-rest-api/index.js create mode 100644 packages/types/index.js diff --git a/packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/index.js b/packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/package.json b/packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/package.json index 85b9315..4276d70 100644 --- a/packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/package.json +++ b/packages/types-openapi-ghes-3.0-diff-to-ghes-3.1/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-ghes-3.0-diff-to-ghes-3.1", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-ghes-3.0-diff-to-ghes-3.1" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi-ghes-3.0/index.js b/packages/types-openapi-ghes-3.0/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-ghes-3.0/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-ghes-3.0/package.json b/packages/types-openapi-ghes-3.0/package.json index 6ee8fa2..c4e15d9 100644 --- a/packages/types-openapi-ghes-3.0/package.json +++ b/packages/types-openapi-ghes-3.0/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-ghes-3.0", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-ghes-3.0" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/index.js b/packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/package.json b/packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/package.json index b86e5f4..4c5b707 100644 --- a/packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/package.json +++ b/packages/types-openapi-ghes-3.1-diff-to-ghes-3.2/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-ghes-3.1-diff-to-ghes-3.2", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-ghes-3.1-diff-to-ghes-3.2" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi-ghes-3.1/index.js b/packages/types-openapi-ghes-3.1/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-ghes-3.1/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-ghes-3.1/package.json b/packages/types-openapi-ghes-3.1/package.json index e3d7762..e39b425 100644 --- a/packages/types-openapi-ghes-3.1/package.json +++ b/packages/types-openapi-ghes-3.1/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-ghes-3.1", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-ghes-3.1" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi-ghes-3.2-diff-to-api.github.com/index.js b/packages/types-openapi-ghes-3.2-diff-to-api.github.com/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-ghes-3.2-diff-to-api.github.com/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-ghes-3.2-diff-to-api.github.com/package.json b/packages/types-openapi-ghes-3.2-diff-to-api.github.com/package.json index 58c7aba..5047c90 100644 --- a/packages/types-openapi-ghes-3.2-diff-to-api.github.com/package.json +++ b/packages/types-openapi-ghes-3.2-diff-to-api.github.com/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-ghes-3.2-diff-to-api.github.com", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-ghes-3.2-diff-to-api.github.com" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi-ghes-3.2/index.js b/packages/types-openapi-ghes-3.2/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-ghes-3.2/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-ghes-3.2/package.json b/packages/types-openapi-ghes-3.2/package.json index dc0be29..afaea89 100644 --- a/packages/types-openapi-ghes-3.2/package.json +++ b/packages/types-openapi-ghes-3.2/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-ghes-3.2", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-ghes-3.2" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi-github.ae-diff-to-api.github.com/index.js b/packages/types-openapi-github.ae-diff-to-api.github.com/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-github.ae-diff-to-api.github.com/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-github.ae-diff-to-api.github.com/package.json b/packages/types-openapi-github.ae-diff-to-api.github.com/package.json index b31fad1..253dca6 100644 --- a/packages/types-openapi-github.ae-diff-to-api.github.com/package.json +++ b/packages/types-openapi-github.ae-diff-to-api.github.com/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-github.ae-diff-to-api.github.com", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-github.ae-diff-to-api.github.com" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi-github.ae/index.js b/packages/types-openapi-github.ae/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi-github.ae/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi-github.ae/package.json b/packages/types-openapi-github.ae/package.json index 82365d3..f5291ac 100644 --- a/packages/types-openapi-github.ae/package.json +++ b/packages/types-openapi-github.ae/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi-github.ae", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi-github.ae" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-openapi/index.js b/packages/types-openapi/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-openapi/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-openapi/package.json b/packages/types-openapi/package.json index f5c15b5..c08b7a8 100644 --- a/packages/types-openapi/package.json +++ b/packages/types-openapi/package.json @@ -1,14 +1,15 @@ { "name": "@octokit-next/types-openapi", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/octokit/octokit-next.js", "directory": "packages/types-openapi" }, - "publishConfig": { "access": "public" }, - "version": "0.0.0-development", - "types": "index.d.ts", "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "octokit": { "openapi-version": "5.2.2" } diff --git a/packages/types-rest-api-ghes-3.0-compatible/index.js b/packages/types-rest-api-ghes-3.0-compatible/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-ghes-3.0-compatible/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-ghes-3.0-compatible/package.json b/packages/types-rest-api-ghes-3.0-compatible/package.json index c17095d..6a86f3a 100644 --- a/packages/types-rest-api-ghes-3.0-compatible/package.json +++ b/packages/types-rest-api-ghes-3.0-compatible/package.json @@ -1,21 +1,22 @@ { - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "dependencies": { - "@octokit-next/types": "0.0.0-development", - "@octokit-next/types-openapi-ghes-3.0": "0.0.0-development" - }, - "description": "Types for GHES 3.0 (compatible) REST API requests and responses", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.0-compatible#readme", - "license": "MIT", "name": "@octokit-next/types-rest-api-ghes-3.0-compatible", - "octokit": { "openapi-version": "5.2.2" }, + "version": "0.0.0-development", "publishConfig": { "access": "public" }, + "type": "module", + "description": "Types for GHES 3.0 (compatible) REST API requests and responses", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "directory": "packages/types-rest-api-ghes-3.0-compatible", "type": "git", "url": "https://github.com/octokit/octokit-next.js.git" }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.0-compatible#readme", + "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", + "dependencies": { + "@octokit-next/types": "0.0.0-development", + "@octokit-next/types-openapi-ghes-3.0": "0.0.0-development" + }, + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api-ghes-3.0/index.js b/packages/types-rest-api-ghes-3.0/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-ghes-3.0/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-ghes-3.0/package.json b/packages/types-rest-api-ghes-3.0/package.json index ade150d..bbec80c 100644 --- a/packages/types-rest-api-ghes-3.0/package.json +++ b/packages/types-rest-api-ghes-3.0/package.json @@ -1,5 +1,19 @@ { + "name": "@octokit-next/types-rest-api-ghes-3.0", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, + "type": "module", + "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", + "repository": { + "directory": "packages/types-rest-api-ghes-3.0", + "type": "git", + "url": "https://github.com/octokit/octokit-next.js.git" + }, + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.0#readme", "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", "dependencies": { "@octokit-next/types": "0.0.0-development", "@octokit-next/types-openapi-ghes-3.0": "0.0.0-development", @@ -7,18 +21,5 @@ "@octokit-next/types-rest-api-ghes-3.1": "0.0.0-development", "type-fest": "^3.0.0" }, - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.0#readme", - "license": "MIT", - "name": "@octokit-next/types-rest-api-ghes-3.0", - "octokit": { "openapi-version": "5.2.2" }, - "publishConfig": { "access": "public" }, - "repository": { - "directory": "packages/types-rest-api-ghes-3.0", - "type": "git", - "url": "https://github.com/octokit/octokit-next.js.git" - }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api-ghes-3.1-compatible/index.js b/packages/types-rest-api-ghes-3.1-compatible/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-ghes-3.1-compatible/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-ghes-3.1-compatible/package.json b/packages/types-rest-api-ghes-3.1-compatible/package.json index 6cdb7ec..d57b643 100644 --- a/packages/types-rest-api-ghes-3.1-compatible/package.json +++ b/packages/types-rest-api-ghes-3.1-compatible/package.json @@ -1,21 +1,22 @@ { - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "dependencies": { - "@octokit-next/types": "0.0.0-development", - "@octokit-next/types-openapi-ghes-3.1": "0.0.0-development" - }, - "description": "Types for GHES 3.1 (compatible) REST API requests and responses", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.1-compatible#readme", - "license": "MIT", "name": "@octokit-next/types-rest-api-ghes-3.1-compatible", - "octokit": { "openapi-version": "5.2.2" }, + "version": "0.0.0-development", "publishConfig": { "access": "public" }, + "type": "module", + "description": "Types for GHES 3.1 (compatible) REST API requests and responses", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "directory": "packages/types-rest-api-ghes-3.1-compatible", "type": "git", "url": "https://github.com/octokit/octokit-next.js.git" }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.1-compatible#readme", + "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", + "dependencies": { + "@octokit-next/types": "0.0.0-development", + "@octokit-next/types-openapi-ghes-3.1": "0.0.0-development" + }, + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api-ghes-3.1/index.js b/packages/types-rest-api-ghes-3.1/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-ghes-3.1/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-ghes-3.1/package.json b/packages/types-rest-api-ghes-3.1/package.json index 1b98726..4934685 100644 --- a/packages/types-rest-api-ghes-3.1/package.json +++ b/packages/types-rest-api-ghes-3.1/package.json @@ -1,5 +1,19 @@ { + "name": "@octokit-next/types-rest-api-ghes-3.1", + "version": "0.0.0-development", + "publishConfig": { "access": "public" }, + "type": "module", + "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", + "repository": { + "directory": "packages/types-rest-api-ghes-3.1", + "type": "git", + "url": "https://github.com/octokit/octokit-next.js.git" + }, + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.1#readme", "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", "dependencies": { "@octokit-next/types": "0.0.0-development", "@octokit-next/types-openapi-ghes-3.1": "0.0.0-development", @@ -7,18 +21,5 @@ "@octokit-next/types-rest-api-ghes-3.2": "0.0.0-development", "type-fest": "^3.0.0" }, - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.1#readme", - "license": "MIT", - "name": "@octokit-next/types-rest-api-ghes-3.1", - "octokit": { "openapi-version": "5.2.2" }, - "publishConfig": { "access": "public" }, - "repository": { - "directory": "packages/types-rest-api-ghes-3.1", - "type": "git", - "url": "https://github.com/octokit/octokit-next.js.git" - }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api-ghes-3.2-compatible/index.js b/packages/types-rest-api-ghes-3.2-compatible/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-ghes-3.2-compatible/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-ghes-3.2-compatible/package.json b/packages/types-rest-api-ghes-3.2-compatible/package.json index 97b28e8..401c604 100644 --- a/packages/types-rest-api-ghes-3.2-compatible/package.json +++ b/packages/types-rest-api-ghes-3.2-compatible/package.json @@ -1,21 +1,22 @@ { - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "dependencies": { - "@octokit-next/types": "0.0.0-development", - "@octokit-next/types-openapi-ghes-3.2": "0.0.0-development" - }, - "description": "Types for GHES 3.2 (compatible) REST API requests and responses", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.2-compatible#readme", - "license": "MIT", "name": "@octokit-next/types-rest-api-ghes-3.2-compatible", - "octokit": { "openapi-version": "5.2.2" }, + "version": "0.0.0-development", "publishConfig": { "access": "public" }, + "type": "module", + "description": "Types for GHES 3.2 (compatible) REST API requests and responses", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "directory": "packages/types-rest-api-ghes-3.2-compatible", "type": "git", "url": "https://github.com/octokit/octokit-next.js.git" }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.2-compatible#readme", + "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", + "dependencies": { + "@octokit-next/types": "0.0.0-development", + "@octokit-next/types-openapi-ghes-3.2": "0.0.0-development" + }, + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api-ghes-3.2/index.js b/packages/types-rest-api-ghes-3.2/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-ghes-3.2/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-ghes-3.2/package.json b/packages/types-rest-api-ghes-3.2/package.json index 673278e..f3bfab3 100644 --- a/packages/types-rest-api-ghes-3.2/package.json +++ b/packages/types-rest-api-ghes-3.2/package.json @@ -1,23 +1,24 @@ { - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "dependencies": { - "@octokit-next/types": "0.0.0-development", - "@octokit-next/types-openapi-ghes-3.2": "0.0.0-development", - "@octokit-next/types-rest-api": "0.0.0-development", - "type-fest": "^3.0.0" - }, - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.2#readme", - "license": "MIT", "name": "@octokit-next/types-rest-api-ghes-3.2", - "octokit": { "openapi-version": "5.2.2" }, + "version": "0.0.0-development", "publishConfig": { "access": "public" }, + "type": "module", + "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "directory": "packages/types-rest-api-ghes-3.2", "type": "git", "url": "https://github.com/octokit/octokit-next.js.git" }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-ghes-3.2#readme", + "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", + "dependencies": { + "@octokit-next/types": "0.0.0-development", + "@octokit-next/types-openapi-ghes-3.2": "0.0.0-development", + "@octokit-next/types-rest-api": "0.0.0-development", + "type-fest": "^3.0.0" + }, + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api-github.ae-compatible/index.js b/packages/types-rest-api-github.ae-compatible/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-github.ae-compatible/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-github.ae-compatible/package.json b/packages/types-rest-api-github.ae-compatible/package.json index b049c5d..0a4e2d0 100644 --- a/packages/types-rest-api-github.ae-compatible/package.json +++ b/packages/types-rest-api-github.ae-compatible/package.json @@ -1,21 +1,22 @@ { - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "dependencies": { - "@octokit-next/types": "0.0.0-development", - "@octokit-next/types-openapi-github.ae": "0.0.0-development" - }, - "description": "Types for GITHUB.AE (compatible) REST API requests and responses", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-github.ae-compatible#readme", - "license": "MIT", "name": "@octokit-next/types-rest-api-github.ae-compatible", - "octokit": { "openapi-version": "5.2.2" }, + "version": "0.0.0-development", "publishConfig": { "access": "public" }, + "type": "module", + "description": "Types for GITHUB.AE (compatible) REST API requests and responses", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "directory": "packages/types-rest-api-github.ae-compatible", "type": "git", "url": "https://github.com/octokit/octokit-next.js.git" }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-github.ae-compatible#readme", + "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", + "dependencies": { + "@octokit-next/types": "0.0.0-development", + "@octokit-next/types-openapi-github.ae": "0.0.0-development" + }, + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api-github.ae/index.js b/packages/types-rest-api-github.ae/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api-github.ae/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api-github.ae/package.json b/packages/types-rest-api-github.ae/package.json index c9f1b73..8c8a99c 100644 --- a/packages/types-rest-api-github.ae/package.json +++ b/packages/types-rest-api-github.ae/package.json @@ -1,23 +1,24 @@ { - "author": "Gregor Martynus (https://twitter.com/gr2m)", - "dependencies": { - "@octokit-next/types": "0.0.0-development", - "@octokit-next/types-openapi-github.ae": "0.0.0-development", - "@octokit-next/types-rest-api": "0.0.0-development", - "type-fest": "^3.0.0" - }, - "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", - "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-github.ae#readme", - "license": "MIT", "name": "@octokit-next/types-rest-api-github.ae", - "octokit": { "openapi-version": "5.2.2" }, + "version": "0.0.0-development", "publishConfig": { "access": "public" }, + "type": "module", + "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", + "exoprts": "./index.js", + "types": "index.d.ts", "repository": { "directory": "packages/types-rest-api-github.ae", "type": "git", "url": "https://github.com/octokit/octokit-next.js.git" }, - "type": "module", - "types": "index.d.ts", - "version": "0.0.0-development" + "homepage": "https://github.com/octokit/octokit-next.js/tree/main/packages/types-rest-api-github.ae#readme", + "author": "Gregor Martynus (https://twitter.com/gr2m)", + "license": "MIT", + "dependencies": { + "@octokit-next/types": "0.0.0-development", + "@octokit-next/types-openapi-github.ae": "0.0.0-development", + "@octokit-next/types-rest-api": "0.0.0-development", + "type-fest": "^3.0.0" + }, + "octokit": { "openapi-version": "5.2.2" } } diff --git a/packages/types-rest-api/index.js b/packages/types-rest-api/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types-rest-api/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types-rest-api/package.json b/packages/types-rest-api/package.json index 43c3afe..7fbcacc 100644 --- a/packages/types-rest-api/package.json +++ b/packages/types-rest-api/package.json @@ -1,11 +1,10 @@ { "name": "@octokit-next/types-rest-api", - "publishConfig": { - "access": "public" - }, - "type": "module", "version": "0.0.0-development", + "publishConfig": { "access": "public" }, + "type": "module", "description": "Types for github.com REST API requests and responses", + "exoprts": "./index.js", "types": "./index.d.ts", "repository": { "type": "git", diff --git a/packages/types/index.js b/packages/types/index.js new file mode 100644 index 0000000..cc6fca8 --- /dev/null +++ b/packages/types/index.js @@ -0,0 +1 @@ +export default "Workaround for https://github.com/ije/esm.sh/issues/433"; diff --git a/packages/types/package.json b/packages/types/package.json index 56adae3..6e405a0 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,11 +1,10 @@ { "name": "@octokit-next/types", - "publishConfig": { - "access": "public" - }, - "type": "module", "version": "0.0.0-development", + "publishConfig": { "access": "public" }, + "type": "module", "description": "Shared TypeScript definitions for upcoming Octokit SDK", + "exoprts": "./index.js", "types": "./index.d.ts", "repository": { "type": "git",