1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | var _exportNames = {
|
7 | logger: true,
|
8 | isPackagerRunning: true,
|
9 | getDefaultUserTerminal: true,
|
10 | fetch: true,
|
11 | fetchToTemp: true,
|
12 | launchDefaultBrowser: true,
|
13 | launchDebugger: true,
|
14 | launchEditor: true,
|
15 | version: true,
|
16 | resolveNodeModuleDir: true,
|
17 | hookStdout: true,
|
18 | getLoader: true,
|
19 | NoopLoader: true,
|
20 | Loader: true,
|
21 | findProjectRoot: true,
|
22 | printRunDoctorTip: true,
|
23 | link: true
|
24 | };
|
25 | Object.defineProperty(exports, "Loader", {
|
26 | enumerable: true,
|
27 | get: function () {
|
28 | return _loader.Loader;
|
29 | }
|
30 | });
|
31 | Object.defineProperty(exports, "NoopLoader", {
|
32 | enumerable: true,
|
33 | get: function () {
|
34 | return _loader.NoopLoader;
|
35 | }
|
36 | });
|
37 | Object.defineProperty(exports, "fetch", {
|
38 | enumerable: true,
|
39 | get: function () {
|
40 | return _fetch.fetch;
|
41 | }
|
42 | });
|
43 | Object.defineProperty(exports, "fetchToTemp", {
|
44 | enumerable: true,
|
45 | get: function () {
|
46 | return _fetch.fetchToTemp;
|
47 | }
|
48 | });
|
49 | Object.defineProperty(exports, "findProjectRoot", {
|
50 | enumerable: true,
|
51 | get: function () {
|
52 | return _findProjectRoot.default;
|
53 | }
|
54 | });
|
55 | Object.defineProperty(exports, "getDefaultUserTerminal", {
|
56 | enumerable: true,
|
57 | get: function () {
|
58 | return _getDefaultUserTerminal.default;
|
59 | }
|
60 | });
|
61 | Object.defineProperty(exports, "getLoader", {
|
62 | enumerable: true,
|
63 | get: function () {
|
64 | return _loader.getLoader;
|
65 | }
|
66 | });
|
67 | Object.defineProperty(exports, "hookStdout", {
|
68 | enumerable: true,
|
69 | get: function () {
|
70 | return _hookStdout.default;
|
71 | }
|
72 | });
|
73 | Object.defineProperty(exports, "isPackagerRunning", {
|
74 | enumerable: true,
|
75 | get: function () {
|
76 | return _isPackagerRunning.default;
|
77 | }
|
78 | });
|
79 | Object.defineProperty(exports, "launchDebugger", {
|
80 | enumerable: true,
|
81 | get: function () {
|
82 | return _launchDebugger.default;
|
83 | }
|
84 | });
|
85 | Object.defineProperty(exports, "launchDefaultBrowser", {
|
86 | enumerable: true,
|
87 | get: function () {
|
88 | return _launchDefaultBrowser.default;
|
89 | }
|
90 | });
|
91 | Object.defineProperty(exports, "launchEditor", {
|
92 | enumerable: true,
|
93 | get: function () {
|
94 | return _launchEditor.default;
|
95 | }
|
96 | });
|
97 | exports.link = void 0;
|
98 | Object.defineProperty(exports, "logger", {
|
99 | enumerable: true,
|
100 | get: function () {
|
101 | return _logger.default;
|
102 | }
|
103 | });
|
104 | Object.defineProperty(exports, "printRunDoctorTip", {
|
105 | enumerable: true,
|
106 | get: function () {
|
107 | return _printRunDoctorTip.default;
|
108 | }
|
109 | });
|
110 | Object.defineProperty(exports, "resolveNodeModuleDir", {
|
111 | enumerable: true,
|
112 | get: function () {
|
113 | return _resolveNodeModuleDir.default;
|
114 | }
|
115 | });
|
116 | exports.version = void 0;
|
117 | var _logger = _interopRequireDefault(require("./logger"));
|
118 | var _isPackagerRunning = _interopRequireDefault(require("./isPackagerRunning"));
|
119 | var _getDefaultUserTerminal = _interopRequireDefault(require("./getDefaultUserTerminal"));
|
120 | var _fetch = require("./fetch");
|
121 | var _launchDefaultBrowser = _interopRequireDefault(require("./launchDefaultBrowser"));
|
122 | var _launchDebugger = _interopRequireDefault(require("./launchDebugger"));
|
123 | var _launchEditor = _interopRequireDefault(require("./launchEditor"));
|
124 | var _version = _interopRequireWildcard(require("./releaseChecker"));
|
125 | exports.version = _version;
|
126 | var _resolveNodeModuleDir = _interopRequireDefault(require("./resolveNodeModuleDir"));
|
127 | var _hookStdout = _interopRequireDefault(require("./hookStdout"));
|
128 | var _loader = require("./loader");
|
129 | var _findProjectRoot = _interopRequireDefault(require("./findProjectRoot"));
|
130 | var _printRunDoctorTip = _interopRequireDefault(require("./printRunDoctorTip"));
|
131 | var _link = _interopRequireWildcard(require("./doclink"));
|
132 | exports.link = _link;
|
133 | var _errors = require("./errors");
|
134 | Object.keys(_errors).forEach(function (key) {
|
135 | if (key === "default" || key === "__esModule") return;
|
136 | if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
137 | if (key in exports && exports[key] === _errors[key]) return;
|
138 | Object.defineProperty(exports, key, {
|
139 | enumerable: true,
|
140 | get: function () {
|
141 | return _errors[key];
|
142 | }
|
143 | });
|
144 | });
|
145 | function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
146 | function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
147 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
148 |
|
149 |
|
\ | No newline at end of file |