From 9b6deabb2f06bca6d08e684aa14c58ad6afe2431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCsters?= Date: Fri, 22 Mar 2024 12:04:42 +0100 Subject: [PATCH] fix: build --- dist/{src => }/ReleaseNotesGenerator.js | 0 dist/ReleaseNotesGenerator.js.map | 1 + dist/{src => }/index.js | 0 dist/index.js.map | 1 + dist/src/ReleaseNotesGenerator.js.map | 1 - dist/src/index.js.map | 1 - dist/src/utils/GitHubRepositoryUtils.js.map | 1 - dist/tests/setup.js | 13 -- dist/tests/setup.js.map | 1 - .../tests/utils/GitHubRepositoryUtils.spec.js | 154 ------------------ .../utils/GitHubRepositoryUtils.spec.js.map | 1 - dist/{src => }/types/IssueOrPr.js | 0 dist/{src => }/types/IssueOrPr.js.map | 2 +- dist/{src => }/utils/GitHubRepositoryUtils.js | 0 dist/utils/GitHubRepositoryUtils.js.map | 1 + package.json | 2 +- tsconfig.build.json | 7 + 17 files changed, 12 insertions(+), 174 deletions(-) rename dist/{src => }/ReleaseNotesGenerator.js (100%) create mode 100644 dist/ReleaseNotesGenerator.js.map rename dist/{src => }/index.js (100%) create mode 100644 dist/index.js.map delete mode 100644 dist/src/ReleaseNotesGenerator.js.map delete mode 100644 dist/src/index.js.map delete mode 100644 dist/src/utils/GitHubRepositoryUtils.js.map delete mode 100644 dist/tests/setup.js delete mode 100644 dist/tests/setup.js.map delete mode 100644 dist/tests/utils/GitHubRepositoryUtils.spec.js delete mode 100644 dist/tests/utils/GitHubRepositoryUtils.spec.js.map rename dist/{src => }/types/IssueOrPr.js (100%) rename dist/{src => }/types/IssueOrPr.js.map (52%) rename dist/{src => }/utils/GitHubRepositoryUtils.js (100%) create mode 100644 dist/utils/GitHubRepositoryUtils.js.map create mode 100644 tsconfig.build.json diff --git a/dist/src/ReleaseNotesGenerator.js b/dist/ReleaseNotesGenerator.js similarity index 100% rename from dist/src/ReleaseNotesGenerator.js rename to dist/ReleaseNotesGenerator.js diff --git a/dist/ReleaseNotesGenerator.js.map b/dist/ReleaseNotesGenerator.js.map new file mode 100644 index 0000000..729264b --- /dev/null +++ b/dist/ReleaseNotesGenerator.js.map @@ -0,0 +1 @@ +{"version":3,"file":"ReleaseNotesGenerator.js","sourceRoot":"","sources":["../src/ReleaseNotesGenerator.ts"],"names":[],"mappings":";;AAEA,MAAqB,qBAAqB;IACjC,oBAAoB,CAAC,MAAmB;QAC7C,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;YACxC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;YACjD,OAAO,KAAK,IAAI,KAAK,KAAK,CAAC,MAAM,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;QACvD,CAAC,CAAC,CAAC;QAEH,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;CACF;AATD,wCASC"} \ No newline at end of file diff --git a/dist/src/index.js b/dist/index.js similarity index 100% rename from dist/src/index.js rename to dist/index.js diff --git a/dist/index.js.map b/dist/index.js.map new file mode 100644 index 0000000..ca93442 --- /dev/null +++ b/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,oFAA4D;AAC5D,0FAAkE;AAElE,MAAM,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC1C,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAEtC,SAAe,GAAG;;QAChB,wBAAwB;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QAChE,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,CAAC,qBAAqB,EAAE;YAC7D,QAAQ,EAAE,IAAI;SACf,CAA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AAC"} \ No newline at end of file diff --git a/dist/src/ReleaseNotesGenerator.js.map b/dist/src/ReleaseNotesGenerator.js.map deleted file mode 100644 index ec8f047..0000000 --- a/dist/src/ReleaseNotesGenerator.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"ReleaseNotesGenerator.js","sourceRoot":"","sources":["../../src/ReleaseNotesGenerator.ts"],"names":[],"mappings":";;AAEA,MAAqB,qBAAqB;IACjC,oBAAoB,CAAC,MAAmB;QAC7C,MAAM,YAAY,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;YACxC,MAAM,IAAI,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;YACjD,OAAO,KAAK,IAAI,KAAK,KAAK,CAAC,MAAM,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;QACvD,CAAC,CAAC,CAAC;QAEH,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;CACF;AATD,wCASC"} \ No newline at end of file diff --git a/dist/src/index.js.map b/dist/src/index.js.map deleted file mode 100644 index 605e431..0000000 --- a/dist/src/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,oFAA4D;AAC5D,0FAAkE;AAElE,MAAM,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAC1C,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;AAEtC,SAAe,GAAG;;QAChB,wBAAwB;QACxB,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,cAAc,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;QAChE,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,CAAC,qBAAqB,EAAE;YAC7D,QAAQ,EAAE,IAAI;SACf,CAAC,CAAC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 No newline at end of file diff --git a/dist/src/utils/GitHubRepositoryUtils.js.map b/dist/src/utils/GitHubRepositoryUtils.js.map deleted file mode 100644 index 7f312aa..0000000 --- a/dist/src/utils/GitHubRepositoryUtils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GitHubRepositoryUtils.js","sourceRoot":"","sources":["../../../src/utils/GitHubRepositoryUtils.ts"],"names":[],"mappings":";;;;;;;;;;;AAGA,MAAqB,qBAAqB;IACxC,YACmB,KAAa,EACb,IAAY,EACZ,OAAgB;QAFhB,UAAK,GAAL,KAAK,CAAQ;QACb,SAAI,GAAJ,IAAI,CAAQ;QACZ,YAAO,GAAP,OAAO,CAAS;IAChC,CAAC;IAES,8BAA8B,CACzC,QAAgB,EAChB,MAAc;;YAEd,mDAAmD;YACnD,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,oCAAoC,CAClE,QAAQ,EACR,MAAM,CACP,CAAC;YAEF,yBAAyB;YACzB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,YAAY,CAAC,CAAC;YAEpE,OAAO,MAAM,CAAC;QAChB,CAAC;KAAA;IAEY,oCAAoC,CAC/C,QAAgB,EAChB,MAAc;;YAEd,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;YAEnE,6DAA6D;YAC7D,MAAM,sBAAsB,GAAG,OAAO;iBACnC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;iBACrD,IAAI,EAAE;iBACN,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;YAEpD,oBAAoB;YACpB,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,s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AG,WAAW,CAAC,GAAG,MAAM,MAAM,EAAE;aAC3C,CAAC,CAAC;YAEL,oDAAoD;YACpD,kCAAkC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;YAErE,OAAO,kCAAkC,CAAC,IAAI,CAAC,OAAO,CAAC;QACzD,CAAC;KAAA;IAEY,aAAa,CACxB,OAAe,EACf,WAAmB,EACnB,IAAY,EACZ,UAAmB;;YAEnB,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC;gBACrC,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,QAAQ,EAAE,OAAO;gBACjB,IAAI,EAAE,WAAW;gBACjB,IAAI;gBACJ,UAAU;aACX,CAAC,CAAC;QACL,CAAC;KAAA;CACF;AApLD,wCAoLC"} \ No newline at end of file diff --git a/dist/tests/setup.js b/dist/tests/setup.js deleted file mode 100644 index 9db8388..0000000 --- a/dist/tests/setup.js +++ /dev/null @@ -1,13 +0,0 @@ -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -module.exports = () => __awaiter(this, void 0, void 0, function* () { - console.log("Setup tests"); -}); -//# sourceMappingURL=setup.js.map \ No newline at end of file diff --git a/dist/tests/setup.js.map b/dist/tests/setup.js.map deleted file mode 100644 index 5359d07..0000000 --- a/dist/tests/setup.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../tests/setup.ts"],"names":[],"mappings":";;;;;;;;;AAAA,MAAM,CAAC,OAAO,GAAG,GAAS,EAAE;IAC1B,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;AAC7B,CAAC,CAAA,CAAC"} \ No newline at end of file diff --git a/dist/tests/utils/GitHubRepositoryUtils.spec.js b/dist/tests/utils/GitHubRepositoryUtils.spec.js deleted file mode 100644 index a91cf35..0000000 --- a/dist/tests/utils/GitHubRepositoryUtils.spec.js +++ /dev/null @@ -1,154 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); - __setModuleDefault(result, mod); - return result; -}; -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -require("jest"); -const env = __importStar(require("../../env/env.json")); -const GitHubRepositoryUtils_1 = __importDefault(require("../../src/utils/GitHubRepositoryUtils")); -const rest_1 = require("@octokit/rest"); -const owner = "SebastianKuesters"; -const repo = "test-repo-1711053208918"; -describe("GitHubRepositoryUtils", () => { - const octokit = new rest_1.Octokit({ - auth: env.GITHUB_TOKEN, - }); - const gitHubRepositoryUtils = new GitHubRepositoryUtils_1.default(owner, repo, octokit); - describe("getCommitsBetweenTags", () => { - it("should return commits between tags", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const startTag = "v0.1.0"; - const endTag = "v0.3.0"; - // Act - const commits = yield gitHubRepositoryUtils.getCommitsBetweenTags(startTag, endTag); - // Assert - expect(commits).toBeDefined(); - expect(commits.length).toBeGreaterThan(0); - })); - it("should return commits between tags when start tag is not provided", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const startTag = ""; - const endTag = "v0.3.0"; - // Act - const commits = yield gitHubRepositoryUtils.getCommitsBetweenTags(startTag, endTag); - // Assert - expect(commits).toBeDefined(); - expect(commits.length).toBeGreaterThan(0); - })); - }); - describe("getReferencedIssuesBetweenTags", () => { - it("should return referenced issues between tags", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const startTag = "v0.1.0"; - const endTag = "v0.3.0"; - // Act - const issues = yield gitHubRepositoryUtils.getReferencedIssuesBetweenTags(startTag, endTag); - // Assert - expect(issues).toBeDefined(); - expect(issues.length).toBeGreaterThan(0); - })); - }); - describe("getIssuesAndPrsByNumbers", () => { - it("should return issues by issue numbers", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const numbers = [11, 10]; - // Act - const issuesAndPrs = yield gitHubRepositoryUtils.getIssuesAndPrsByNumbers(numbers); - // Assert - expect(issuesAndPrs).toBeDefined(); - expect(issuesAndPrs.length).toBe(numbers.length); - })); - it("should return empty array when no numbers are provided", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const numbers = []; - // Act - const issuesAndPrs = yield gitHubRepositoryUtils.getIssuesAndPrsByNumbers(numbers); - // Assert - expect(issuesAndPrs).toBeDefined(); - expect(issuesAndPrs.length).toBe(0); - })); - it("should return empty array when issue numbers are invalid", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const numbers = [0, -1]; - // Act - const issuesAndPrs = yield gitHubRepositoryUtils.getIssuesAndPrsByNumbers(numbers); - // Assert - expect(issuesAndPrs).toBeDefined(); - expect(issuesAndPrs.length).toBe(0); - })); - }); - describe("getReferencedIssuesBetweenTags", () => { - it("should return issues all issues referenced between the start and end tag", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const startTag = "v0.1.0"; - const endTag = "v0.3.0"; - // Act - const issues = yield gitHubRepositoryUtils.getReferencedIssuesBetweenTags(startTag, endTag); - // Assert - expect(issues).toBeDefined(); - expect(issues.length).toBeGreaterThan(0); - })); - }); - describe("getReferencedIssuesFromPullRequest", () => { - it("should return referenced issues from pull request", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const pullRequestNumber = 11; - // Act - const issues = yield gitHubRepositoryUtils.getReferencedIssuesFromPullRequest(pullRequestNumber); - // Assert - expect(issues).toBeDefined(); - expect(issues.length).toBe(2); - })); - it("should return empty array when pull request number is invalid", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const pullRequestNumber = 0; - // Act - const issues = yield gitHubRepositoryUtils.getReferencedIssuesFromPullRequest(pullRequestNumber); - // Assert - expect(issues).toBeDefined(); - expect(issues.length).toBe(0); - })); - it("should return empty array when pull request has no referenced issues", () => __awaiter(void 0, void 0, void 0, function* () { - // Arrange - const pullRequestNumber = 10; - // Act - const issues = yield gitHubRepositoryUtils.getReferencedIssuesFromPullRequest(pullRequestNumber); - // Assert - expect(issues).toBeDefined(); - expect(issues.length).toBe(0); - })); - }); -}); -//# sourceMappingURL=GitHubRepositoryUtils.spec.js.map \ No newline at end of file diff --git a/dist/tests/utils/GitHubRepositoryUtils.spec.js.map b/dist/tests/utils/GitHubRepositoryUtils.spec.js.map deleted file mode 100644 index 81af9a1..0000000 --- a/dist/tests/utils/GitHubRepositoryUtils.spec.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"GitHubRepositoryUtils.spec.js","sourceRoot":"","sources":["../../../tests/utils/GitHubRepositoryUtils.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gBAAc;AACd,wDAA0C;AAC1C,kGAA0E;AAC1E,wCAAwC;AAGxC,MAAM,KAAK,GAAG,mBAAmB,CAAC;AAClC,MAAM,IAAI,GAAG,yBAAyB,CAAC;AAEvC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,MAAM,OAAO,GAAG,IAAI,cAAO,CAAC;QAC1B,IAAI,EAAE,GAAG,CAAC,YAAY;KACvB,CAAC,CAAC;IACH,MAAM,qBAAqB,GAAG,IAAI,+BAAqB,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAE9E,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;QACrC,EAAE,CAAC,oCAAoC,EAAE,GAAS,EAAE;YAClD,UAAU;YACV,MAAM,QAAQ,GAAG,QAAQ,CAAC;YAC1B,MAAM,MAAM,GAAG,QAAQ,CAAC;YAExB,MAAM;YACN,MAAM,OAAO,GAAG,MAAM,qBAAqB,CAAC,qBAAqB,CAC/D,QAAQ,EACR,MAAM,CACP,CAAC;YAEF,SAAS;YACT,MAAM,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAC;YAC9B,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;QAC5C,CAAC,CAAA,CAAC,CAAC;QAEH,EAAE,CAAC,mEAAmE,EAAE,GAAS,EAAE;YACjF,UAAU;YACV,MAAM,QAAQ,GAAG,EAAE,CAAC;YACpB,MAAM,MAAM,GAAG,QAAQ,CAAC;YAExB,MAAM;YACN,MAAM,OAAO,GAAG,MAAM,qBAAqB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mD,EAAE,GAAS,EAAE;YACjE,UAAU;YACV,MAAM,iBAAiB,GAAG,EAAE,CAAC;YAE7B,MAAM;YACN,MAAM,MAAM,GACV,MAAM,qBAAqB,CAAC,kCAAkC,CAC5D,iBAAiB,CAClB,CAAC;YAEJ,SAAS;YACT,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;YAC7B,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChC,CAAC,CAAA,CAAC,CAAC;QAEH,EAAE,CAAC,+DAA+D,EAAE,GAAS,EAAE;YAC7E,UAAU;YACV,MAAM,iBAAiB,GAAG,CAAC,CAAC;YAE5B,MAAM;YACN,MAAM,MAAM,GACV,MAAM,qBAAqB,CAAC,kCAAkC,CAC5D,iBAAiB,CAClB,CAAC;YAEJ,SAAS;YACT,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;YAC7B,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChC,CAAC,CAAA,CAAC,CAAC;QAEH,EAAE,CAAC,sEAAsE,EAAE,GAAS,EAAE;YACpF,UAAU;YACV,MAAM,iBAAiB,GAAG,EAAE,CAAC;YAE7B,MAAM;YACN,MAAM,MAAM,GACV,MAAM,qBAAqB,CAAC,kCAAkC,CAC5D,iBAAiB,CAClB,CAAC;YAEJ,SAAS;YACT,MAAM,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,CAAC;YAC7B,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAChC,CAAC,CAAA,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/dist/src/types/IssueOrPr.js b/dist/types/IssueOrPr.js similarity index 100% rename from dist/src/types/IssueOrPr.js rename to dist/types/IssueOrPr.js diff --git a/dist/src/types/IssueOrPr.js.map b/dist/types/IssueOrPr.js.map similarity index 52% rename from dist/src/types/IssueOrPr.js.map rename to dist/types/IssueOrPr.js.map index 1b4d1ca..c2ae9fd 100644 --- a/dist/src/types/IssueOrPr.js.map +++ b/dist/types/IssueOrPr.js.map @@ -1 +1 @@ -{"version":3,"file":"IssueOrPr.js","sourceRoot":"","sources":["../../../src/types/IssueOrPr.ts"],"names":[],"mappings":""} \ No newline at end of file +{"version":3,"file":"IssueOrPr.js","sourceRoot":"","sources":["../../src/types/IssueOrPr.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/dist/src/utils/GitHubRepositoryUtils.js b/dist/utils/GitHubRepositoryUtils.js similarity index 100% rename from dist/src/utils/GitHubRepositoryUtils.js rename to dist/utils/GitHubRepositoryUtils.js diff --git a/dist/utils/GitHubRepositoryUtils.js.map b/dist/utils/GitHubRepositoryUtils.js.map new file mode 100644 index 0000000..7d9e2ed --- /dev/null +++ b/dist/utils/GitHubRepositoryUtils.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GitHubRepositoryUtils.js","sourceRoot":"","sources":["../../src/utils/GitHubRepositoryUtils.ts"],"names":[],"mappings":";;;;;;;;;;;AAGA,MAAqB,qBAAqB;IACxC,YACmB,KAAa,EACb,IAAY,EACZ,OAAgB;QAFhB,UAAK,GAAL,KAAK,CAAQ;QACb,SAAI,GAAJ,IAAI,CAAQ;QACZ,YAAO,GAAP,OAAO,CAAS;IAChC,CAAC;IAES,8BAA8B,CACzC,QAAgB,EAChB,MAAc;;YAEd,mDAAmD;YACnD,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,oCAAoC,CAClE,QAAQ,EACR,MAAM,CACP,CAAC;YAEF,yBAAyB;YACzB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,YAAY,CAAC,CAAC;YAEpE,OAAO,MAAM,CAAC;QAChB,CAAC;KAAA;IAEY,oCAAoC,CAC/C,QAAgB,EAChB,MAAc;;YAEd,MAAM,OAA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AAG,QAAQ;gBAC1B,CAAC,CAAC,CACE,MAAM,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC;oBAC5B,KAAK;oBACL,IAAI;oBACJ,GAAG,EAAE,QAAQ;iBACd,CAAC,CACH,CAAC,IAAI;gBACR,CAAC,CAAC,CACE,MAAM,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC;oBAC9B,KAAK;oBACL,IAAI;oBACJ,MAAM,EAAE,MAAM;iBACf,CAAC,CACH,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;YAEjB,uCAAuC;YACvC,MAAM,kCAAkC,GACtC,MAAM,OAAO,CAAC,KAAK,CAAC,0BAA0B,CAAC;gBAC7C,KAAK;gBACL,IAAI;gBACJ,QAAQ,EAAE,GAAG,WAAW,CAAC,GAAG,MAAM,MAAM,EAAE;aAC3C,CAAC,CAAC;YAEL,oDAAoD;YACpD,kCAAkC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;YAErE,OAAO,kCAAkC,CAAC,IAAI,CAAC,OAAO,CAAC;QACzD,CAAC;KAAA;IAEY,aAAa,CACxB,OAAe,EACf,WAAmB,EACnB,IAAY,EACZ,UAAmB;;YAEnB,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC;gBACrC,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,QAAQ,EAAE,OAAO;gBACjB,IAAI,EAAE,WAAW;gBACjB,IAAI;gBACJ,UAAU;aACX,CAAC,CAAC;QACL,CAAC;KAAA;CACF;AApLD,wCAoLC"} \ No newline at end of file diff --git a/package.json b/package.json index d6dcc80..81797ba 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "start": "ts-node src/index.ts", "test": "jest --coverage", "test:watch": "jest --watch", - "build": "tsc" + "build": "tsc --p tsconfig.build.json" }, "dependencies": { "@actions/core": "^1.10.1", diff --git a/tsconfig.build.json b/tsconfig.build.json new file mode 100644 index 0000000..8e0adb5 --- /dev/null +++ b/tsconfig.build.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": "src", + }, + "exclude": ["tests", "env"] +}