UNPKG

5.2 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6var _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};
25Object.defineProperty(exports, "Loader", {
26 enumerable: true,
27 get: function () {
28 return _loader.Loader;
29 }
30});
31Object.defineProperty(exports, "NoopLoader", {
32 enumerable: true,
33 get: function () {
34 return _loader.NoopLoader;
35 }
36});
37Object.defineProperty(exports, "fetch", {
38 enumerable: true,
39 get: function () {
40 return _fetch.fetch;
41 }
42});
43Object.defineProperty(exports, "fetchToTemp", {
44 enumerable: true,
45 get: function () {
46 return _fetch.fetchToTemp;
47 }
48});
49Object.defineProperty(exports, "findProjectRoot", {
50 enumerable: true,
51 get: function () {
52 return _findProjectRoot.default;
53 }
54});
55Object.defineProperty(exports, "getDefaultUserTerminal", {
56 enumerable: true,
57 get: function () {
58 return _getDefaultUserTerminal.default;
59 }
60});
61Object.defineProperty(exports, "getLoader", {
62 enumerable: true,
63 get: function () {
64 return _loader.getLoader;
65 }
66});
67Object.defineProperty(exports, "hookStdout", {
68 enumerable: true,
69 get: function () {
70 return _hookStdout.default;
71 }
72});
73Object.defineProperty(exports, "isPackagerRunning", {
74 enumerable: true,
75 get: function () {
76 return _isPackagerRunning.default;
77 }
78});
79Object.defineProperty(exports, "launchDebugger", {
80 enumerable: true,
81 get: function () {
82 return _launchDebugger.default;
83 }
84});
85Object.defineProperty(exports, "launchDefaultBrowser", {
86 enumerable: true,
87 get: function () {
88 return _launchDefaultBrowser.default;
89 }
90});
91Object.defineProperty(exports, "launchEditor", {
92 enumerable: true,
93 get: function () {
94 return _launchEditor.default;
95 }
96});
97exports.link = void 0;
98Object.defineProperty(exports, "logger", {
99 enumerable: true,
100 get: function () {
101 return _logger.default;
102 }
103});
104Object.defineProperty(exports, "printRunDoctorTip", {
105 enumerable: true,
106 get: function () {
107 return _printRunDoctorTip.default;
108 }
109});
110Object.defineProperty(exports, "resolveNodeModuleDir", {
111 enumerable: true,
112 get: function () {
113 return _resolveNodeModuleDir.default;
114 }
115});
116exports.version = void 0;
117var _logger = _interopRequireDefault(require("./logger"));
118var _isPackagerRunning = _interopRequireDefault(require("./isPackagerRunning"));
119var _getDefaultUserTerminal = _interopRequireDefault(require("./getDefaultUserTerminal"));
120var _fetch = require("./fetch");
121var _launchDefaultBrowser = _interopRequireDefault(require("./launchDefaultBrowser"));
122var _launchDebugger = _interopRequireDefault(require("./launchDebugger"));
123var _launchEditor = _interopRequireDefault(require("./launchEditor"));
124var _version = _interopRequireWildcard(require("./releaseChecker"));
125exports.version = _version;
126var _resolveNodeModuleDir = _interopRequireDefault(require("./resolveNodeModuleDir"));
127var _hookStdout = _interopRequireDefault(require("./hookStdout"));
128var _loader = require("./loader");
129var _findProjectRoot = _interopRequireDefault(require("./findProjectRoot"));
130var _printRunDoctorTip = _interopRequireDefault(require("./printRunDoctorTip"));
131var _link = _interopRequireWildcard(require("./doclink"));
132exports.link = _link;
133var _errors = require("./errors");
134Object.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});
145function _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); }
146function _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; }
147function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
148
149//# sourceMappingURL=index.ts.map
\No newline at end of file