|
4 | 4 | /******/ (() => { // webpackBootstrap |
5 | 5 | /******/ var __webpack_modules__ = ({ |
6 | 6 |
|
7 | | -/***/ 4097: |
8 | | -/***/ ((module) => { |
9 | | - |
10 | | -const CONST = { |
11 | | - GITHUB_OWNER: 'Expensify', |
12 | | - APP_REPO: 'App', |
13 | | - APPLAUSE_BOT: 'applausebot', |
14 | | - OS_BOTIFY: 'OSBotify', |
15 | | - LABELS: { |
16 | | - STAGING_DEPLOY: 'StagingDeployCash', |
17 | | - DEPLOY_BLOCKER: 'DeployBlockerCash', |
18 | | - INTERNAL_QA: 'InternalQA', |
19 | | - }, |
20 | | - DATE_FORMAT_STRING: 'yyyy-MM-dd', |
21 | | -}; |
22 | | - |
23 | | -CONST.APP_REPO_URL = `https://github.com/${CONST.GITHUB_OWNER}/${CONST.APP_REPO}`; |
24 | | -CONST.APP_REPO_GIT_URL = `git@github.com:${CONST.GITHUB_OWNER}/${CONST.APP_REPO}.git`; |
25 | | - |
26 | | -module.exports = CONST; |
27 | | - |
28 | | - |
29 | | -/***/ }), |
30 | | - |
31 | 7 | /***/ 7351: |
32 | 8 | /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { |
33 | 9 |
|
@@ -16617,7 +16593,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); |
16617 | 16593 | const core = __importStar(__nccwpck_require__(2186)); |
16618 | 16594 | const github = __importStar(__nccwpck_require__(5438)); |
16619 | 16595 | const escapeRegExp_1 = __importDefault(__nccwpck_require__(8415)); |
16620 | | -const CONST_1 = __importDefault(__nccwpck_require__(4097)); |
| 16596 | +const CONST_1 = __importDefault(__nccwpck_require__(9873)); |
16621 | 16597 | const GithubUtils_1 = __importDefault(__nccwpck_require__(9296)); |
16622 | 16598 | const newComponentCategory_1 = __importDefault(__nccwpck_require__(9032)); |
16623 | 16599 | const pathToAuthorChecklist = `https://raw.githubusercontent.com/${CONST_1.default.GITHUB_OWNER}/${CONST_1.default.APP_REPO}/main/.github/PULL_REQUEST_TEMPLATE.md`; |
@@ -16770,7 +16746,7 @@ exports.detectReactComponent = void 0; |
16770 | 16746 | const github_1 = __importDefault(__nccwpck_require__(5438)); |
16771 | 16747 | const parser_1 = __nccwpck_require__(5026); |
16772 | 16748 | const traverse_1 = __importDefault(__nccwpck_require__(1380)); |
16773 | | -const CONST_1 = __importDefault(__nccwpck_require__(4097)); |
| 16749 | +const CONST_1 = __importDefault(__nccwpck_require__(9873)); |
16774 | 16750 | const GithubUtils_1 = __importDefault(__nccwpck_require__(9296)); |
16775 | 16751 | const promiseSome_1 = __importDefault(__nccwpck_require__(8534)); |
16776 | 16752 | const items = [ |
@@ -16862,6 +16838,33 @@ const newComponentCategory = { |
16862 | 16838 | exports["default"] = newComponentCategory; |
16863 | 16839 |
|
16864 | 16840 |
|
| 16841 | +/***/ }), |
| 16842 | + |
| 16843 | +/***/ 9873: |
| 16844 | +/***/ ((__unused_webpack_module, exports) => { |
| 16845 | + |
| 16846 | +"use strict"; |
| 16847 | + |
| 16848 | +Object.defineProperty(exports, "__esModule", ({ value: true })); |
| 16849 | +const CONST = { |
| 16850 | + GITHUB_OWNER: 'Expensify', |
| 16851 | + APP_REPO: 'App', |
| 16852 | + APPLAUSE_BOT: 'applausebot', |
| 16853 | + OS_BOTIFY: 'OSBotify', |
| 16854 | + LABELS: { |
| 16855 | + STAGING_DEPLOY: 'StagingDeployCash', |
| 16856 | + DEPLOY_BLOCKER: 'DeployBlockerCash', |
| 16857 | + INTERNAL_QA: 'InternalQA', |
| 16858 | + }, |
| 16859 | + DATE_FORMAT_STRING: 'yyyy-MM-dd', |
| 16860 | + APP_REPO_URL: '', |
| 16861 | + APP_REPO_GIT_URL: '', |
| 16862 | +}; |
| 16863 | +CONST.APP_REPO_URL = `https://github.com/${CONST.GITHUB_OWNER}/${CONST.APP_REPO}`; |
| 16864 | +CONST.APP_REPO_GIT_URL = `git@github.com:${CONST.GITHUB_OWNER}/${CONST.APP_REPO}.git`; |
| 16865 | +exports["default"] = CONST; |
| 16866 | + |
| 16867 | + |
16865 | 16868 | /***/ }), |
16866 | 16869 |
|
16867 | 16870 | /***/ 9296: |
@@ -16904,7 +16907,7 @@ const plugin_paginate_rest_1 = __nccwpck_require__(4193); |
16904 | 16907 | const plugin_throttling_1 = __nccwpck_require__(9968); |
16905 | 16908 | const EmptyObject_1 = __nccwpck_require__(8227); |
16906 | 16909 | const arrayDifference_1 = __importDefault(__nccwpck_require__(7034)); |
16907 | | -const CONST_1 = __importDefault(__nccwpck_require__(4097)); |
| 16910 | +const CONST_1 = __importDefault(__nccwpck_require__(9873)); |
16908 | 16911 | const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\\.com)'); |
16909 | 16912 | const PULL_REQUEST_REGEX = new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/pull/([0-9]+).*`); |
16910 | 16913 | const ISSUE_REGEX = new RegExp(`${GITHUB_BASE_URL_REGEX.source}/.*/.*/issues/([0-9]+).*`); |
@@ -17250,7 +17253,6 @@ class GithubUtils { |
17250 | 17253 | * Generate the URL of an New Expensify pull request given the PR number. |
17251 | 17254 | */ |
17252 | 17255 | static getPullRequestURLFromNumber(value) { |
17253 | | - // @ts-expect-error TODO: Remove this once CONST.js (https://github.com/Expensify/App/issues/25362) is migrated to TypeScript |
17254 | 17256 | return `${CONST_1.default.APP_REPO_URL}/pull/${value}`; |
17255 | 17257 | } |
17256 | 17258 | /** |
|
0 commit comments