@valbuild/shared 0.148.7 → 0.149.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/client/dist/valbuild-shared-client.cjs.dev.js +2 -1
- package/client/dist/valbuild-shared-client.cjs.prod.js +2 -1
- package/client/dist/valbuild-shared-client.esm.js +2 -1
- package/dist/acquireTypes-50960f2c.esm.js +1801 -0
- package/dist/acquireTypes-de10005d.cjs.dev.js +1815 -0
- package/dist/acquireTypes-e9467a2a.cjs.prod.js +1815 -0
- package/dist/createForOfIteratorHelper-3db5d737.esm.js +121 -0
- package/dist/createForOfIteratorHelper-90e6a8b6.cjs.prod.js +129 -0
- package/dist/createForOfIteratorHelper-d86bb352.cjs.dev.js +129 -0
- package/dist/declarations/src/internal/ApiRoutes.d.ts +3 -3
- package/dist/declarations/src/internal/index.d.ts +1 -0
- package/dist/declarations/src/internal/selfCheck.d.ts +51 -0
- package/dist/declarations/src/publish/buildProposal.d.ts +106 -0
- package/dist/declarations/src/publish/builder.d.ts +22 -0
- package/dist/declarations/src/publish/callJson.d.ts +21 -0
- package/dist/declarations/src/publish/index.d.ts +23 -0
- package/dist/declarations/src/publish/jobClient.d.ts +96 -0
- package/dist/declarations/src/publish/loadedLayer.d.ts +50 -0
- package/dist/declarations/src/publish/proposalProject.d.ts +2 -0
- package/dist/declarations/src/publish/publishClient.d.ts +95 -0
- package/dist/declarations/src/publish/runStudioDeploy.d.ts +244 -0
- package/dist/declarations/src/publish/runStudioJob.d.ts +102 -0
- package/dist/declarations/src/publish/runStudioPublish.d.ts +80 -0
- package/dist/declarations/src/typecheck/acquireTypes.d.ts +109 -0
- package/dist/declarations/src/typecheck/adeptSources.d.ts +9 -0
- package/dist/declarations/src/typecheck/index.d.ts +20 -0
- package/dist/declarations/src/typecheck/linkedFileSystem.d.ts +53 -0
- package/dist/declarations/src/typecheck/lockedVersions.d.ts +14 -0
- package/dist/declarations/src/typecheck/pnpmLayout.d.ts +95 -0
- package/dist/declarations/src/typecheck/pnpmLockfile.d.ts +57 -0
- package/dist/declarations/src/typecheck/proposalTypecheck.d.ts +76 -0
- package/dist/declarations/src/typecheck/testing/index.d.ts +6 -0
- package/dist/declarations/src/typecheck/testing/nodeModulesSources.d.ts +5 -0
- package/dist/declarations/src/typecheck/typecheckProject.d.ts +89 -0
- package/dist/declarations/src/typecheck/typescriptCompiler.d.ts +52 -0
- package/dist/{getSitemapTree-40d76bf8.cjs.prod.js → getSitemapTree-0fa0569c.cjs.dev.js} +5 -131
- package/dist/{getSitemapTree-cd006a36.esm.js → getSitemapTree-5afbc3ac.esm.js} +2 -121
- package/dist/{getSitemapTree-a7f2cc6d.cjs.dev.js → getSitemapTree-667bcb3c.cjs.prod.js} +5 -131
- package/dist/proposalProject-28550146.cjs.prod.js +18 -0
- package/dist/proposalProject-a3d3ad76.esm.js +16 -0
- package/dist/proposalProject-cdc53711.cjs.dev.js +18 -0
- package/dist/protocol-1c13de0d.cjs.prod.js +433 -0
- package/dist/protocol-3b9ef786.esm.js +413 -0
- package/dist/protocol-d8a6efda.cjs.dev.js +433 -0
- package/dist/slicedToArray-62e428df.cjs.dev.js +309 -0
- package/dist/slicedToArray-6cd80315.esm.js +299 -0
- package/dist/slicedToArray-af50e684.cjs.prod.js +309 -0
- package/internal/dist/valbuild-shared-internal.cjs.dev.js +419 -888
- package/internal/dist/valbuild-shared-internal.cjs.prod.js +419 -888
- package/internal/dist/valbuild-shared-internal.esm.js +236 -707
- package/package.json +27 -4
- package/publish/dist/valbuild-shared-publish.cjs.d.ts +2 -0
- package/publish/dist/valbuild-shared-publish.cjs.dev.js +2466 -0
- package/publish/dist/valbuild-shared-publish.cjs.js +7 -0
- package/publish/dist/valbuild-shared-publish.cjs.prod.js +2466 -0
- package/publish/dist/valbuild-shared-publish.esm.js +2428 -0
- package/publish/package.json +4 -0
- package/typecheck/dist/valbuild-shared-typecheck.cjs.d.ts +2 -0
- package/typecheck/dist/valbuild-shared-typecheck.cjs.dev.js +1173 -0
- package/typecheck/dist/valbuild-shared-typecheck.cjs.js +7 -0
- package/typecheck/dist/valbuild-shared-typecheck.cjs.prod.js +1173 -0
- package/typecheck/dist/valbuild-shared-typecheck.esm.js +1152 -0
- package/typecheck/package.json +4 -0
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.d.ts +2 -0
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.dev.js +202 -0
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.js +7 -0
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.prod.js +202 -0
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.esm.js +177 -0
- package/typecheck/testing/package.json +4 -0
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var createForOfIteratorHelper = require('./createForOfIteratorHelper-90e6a8b6.cjs.prod.js');
|
|
4
|
+
|
|
5
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
6
|
+
var i = Object.defineProperty;
|
|
7
|
+
try {
|
|
8
|
+
i({}, "", {});
|
|
9
|
+
} catch (e) {
|
|
10
|
+
i = 0;
|
|
11
|
+
}
|
|
12
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
13
|
+
function o(r, n) {
|
|
14
|
+
_regeneratorDefine(e, r, function (e) {
|
|
15
|
+
return this._invoke(r, n, e);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
r ? i ? i(e, r, {
|
|
19
|
+
value: n,
|
|
20
|
+
enumerable: !t,
|
|
21
|
+
configurable: !t,
|
|
22
|
+
writable: !t
|
|
23
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
24
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function _regenerator() {
|
|
28
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
29
|
+
var e,
|
|
30
|
+
t,
|
|
31
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
32
|
+
n = r.iterator || "@@iterator",
|
|
33
|
+
o = r.toStringTag || "@@toStringTag";
|
|
34
|
+
function i(r, n, o, i) {
|
|
35
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
36
|
+
u = Object.create(c.prototype);
|
|
37
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
38
|
+
var i,
|
|
39
|
+
c,
|
|
40
|
+
u,
|
|
41
|
+
f = 0,
|
|
42
|
+
p = o || [],
|
|
43
|
+
y = !1,
|
|
44
|
+
G = {
|
|
45
|
+
p: 0,
|
|
46
|
+
n: 0,
|
|
47
|
+
v: e,
|
|
48
|
+
a: d,
|
|
49
|
+
f: d.bind(e, 4),
|
|
50
|
+
d: function (t, r) {
|
|
51
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
function d(r, n) {
|
|
55
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
56
|
+
var o,
|
|
57
|
+
i = p[t],
|
|
58
|
+
d = G.p,
|
|
59
|
+
l = i[2];
|
|
60
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
61
|
+
}
|
|
62
|
+
if (o || r > 1) return a;
|
|
63
|
+
throw y = !0, n;
|
|
64
|
+
}
|
|
65
|
+
return function (o, p, l) {
|
|
66
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
67
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
68
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
69
|
+
try {
|
|
70
|
+
if (f = 2, i) {
|
|
71
|
+
if (c || (o = "next"), t = i[o]) {
|
|
72
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
73
|
+
if (!t.done) return t;
|
|
74
|
+
u = t.value, c < 2 && (c = 0);
|
|
75
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
76
|
+
i = e;
|
|
77
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
78
|
+
} catch (t) {
|
|
79
|
+
i = e, c = 1, u = t;
|
|
80
|
+
} finally {
|
|
81
|
+
f = 1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
value: t,
|
|
86
|
+
done: y
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}(r, o, i), !0), u;
|
|
90
|
+
}
|
|
91
|
+
var a = {};
|
|
92
|
+
function Generator() {}
|
|
93
|
+
function GeneratorFunction() {}
|
|
94
|
+
function GeneratorFunctionPrototype() {}
|
|
95
|
+
t = Object.getPrototypeOf;
|
|
96
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
97
|
+
return this;
|
|
98
|
+
}), t),
|
|
99
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
100
|
+
function f(e) {
|
|
101
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
102
|
+
}
|
|
103
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
104
|
+
return this;
|
|
105
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
106
|
+
return "[object Generator]";
|
|
107
|
+
}), (_regenerator = function () {
|
|
108
|
+
return {
|
|
109
|
+
w: i,
|
|
110
|
+
m: f
|
|
111
|
+
};
|
|
112
|
+
})();
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
116
|
+
try {
|
|
117
|
+
var i = n[a](c),
|
|
118
|
+
u = i.value;
|
|
119
|
+
} catch (n) {
|
|
120
|
+
return void e(n);
|
|
121
|
+
}
|
|
122
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
123
|
+
}
|
|
124
|
+
function _asyncToGenerator(n) {
|
|
125
|
+
return function () {
|
|
126
|
+
var t = this,
|
|
127
|
+
e = arguments;
|
|
128
|
+
return new Promise(function (r, o) {
|
|
129
|
+
var a = n.apply(t, e);
|
|
130
|
+
function _next(n) {
|
|
131
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
132
|
+
}
|
|
133
|
+
function _throw(n) {
|
|
134
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
135
|
+
}
|
|
136
|
+
_next(void 0);
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function _defineProperties(e, r) {
|
|
142
|
+
for (var t = 0; t < r.length; t++) {
|
|
143
|
+
var o = r[t];
|
|
144
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, createForOfIteratorHelper._toPropertyKey(o.key), o);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
function _createClass(e, r, t) {
|
|
148
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
149
|
+
writable: !1
|
|
150
|
+
}), e;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function _classCallCheck(a, n) {
|
|
154
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function _getPrototypeOf(t) {
|
|
158
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
159
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
160
|
+
}, _getPrototypeOf(t);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function _isNativeReflectConstruct() {
|
|
164
|
+
try {
|
|
165
|
+
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
166
|
+
} catch (t) {}
|
|
167
|
+
return (_isNativeReflectConstruct = function () {
|
|
168
|
+
return !!t;
|
|
169
|
+
})();
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
function _assertThisInitialized(e) {
|
|
173
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
174
|
+
return e;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
function _possibleConstructorReturn(t, e) {
|
|
178
|
+
if (e && ("object" == typeof e || "function" == typeof e)) return e;
|
|
179
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
180
|
+
return _assertThisInitialized(t);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
function _callSuper(t, o, e) {
|
|
184
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function _setPrototypeOf(t, e) {
|
|
188
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
189
|
+
return t.__proto__ = e, t;
|
|
190
|
+
}, _setPrototypeOf(t, e);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
function _inherits(t, e) {
|
|
194
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
195
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
196
|
+
constructor: {
|
|
197
|
+
value: t,
|
|
198
|
+
writable: !0,
|
|
199
|
+
configurable: !0
|
|
200
|
+
}
|
|
201
|
+
}), Object.defineProperty(t, "prototype", {
|
|
202
|
+
writable: !1
|
|
203
|
+
}), e && _setPrototypeOf(t, e);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
function _isNativeFunction(t) {
|
|
207
|
+
try {
|
|
208
|
+
return -1 !== Function.toString.call(t).indexOf("[native code]");
|
|
209
|
+
} catch (n) {
|
|
210
|
+
return "function" == typeof t;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
function _construct(t, e, r) {
|
|
215
|
+
if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);
|
|
216
|
+
var o = [null];
|
|
217
|
+
o.push.apply(o, e);
|
|
218
|
+
var p = new (t.bind.apply(t, o))();
|
|
219
|
+
return r && _setPrototypeOf(p, r.prototype), p;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
function _wrapNativeSuper(t) {
|
|
223
|
+
var r = "function" == typeof Map ? new Map() : void 0;
|
|
224
|
+
return _wrapNativeSuper = function (t) {
|
|
225
|
+
if (null === t || !_isNativeFunction(t)) return t;
|
|
226
|
+
if ("function" != typeof t) throw new TypeError("Super expression must either be null or a function");
|
|
227
|
+
if (void 0 !== r) {
|
|
228
|
+
if (r.has(t)) return r.get(t);
|
|
229
|
+
r.set(t, Wrapper);
|
|
230
|
+
}
|
|
231
|
+
function Wrapper() {
|
|
232
|
+
return _construct(t, arguments, _getPrototypeOf(this).constructor);
|
|
233
|
+
}
|
|
234
|
+
return Wrapper.prototype = Object.create(t.prototype, {
|
|
235
|
+
constructor: {
|
|
236
|
+
value: Wrapper,
|
|
237
|
+
enumerable: !1,
|
|
238
|
+
writable: !0,
|
|
239
|
+
configurable: !0
|
|
240
|
+
}
|
|
241
|
+
}), _setPrototypeOf(Wrapper, t);
|
|
242
|
+
}, _wrapNativeSuper(t);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function _arrayWithoutHoles(r) {
|
|
246
|
+
if (Array.isArray(r)) return createForOfIteratorHelper._arrayLikeToArray(r);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function _iterableToArray(r) {
|
|
250
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
function _nonIterableSpread() {
|
|
254
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
function _toConsumableArray(r) {
|
|
258
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || createForOfIteratorHelper._unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
function _arrayWithHoles(r) {
|
|
262
|
+
if (Array.isArray(r)) return r;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
function _iterableToArrayLimit(r, l) {
|
|
266
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
267
|
+
if (null != t) {
|
|
268
|
+
var e,
|
|
269
|
+
n,
|
|
270
|
+
i,
|
|
271
|
+
u,
|
|
272
|
+
a = [],
|
|
273
|
+
f = !0,
|
|
274
|
+
o = !1;
|
|
275
|
+
try {
|
|
276
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
|
277
|
+
if (Object(t) !== t) return;
|
|
278
|
+
f = !1;
|
|
279
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
280
|
+
} catch (r) {
|
|
281
|
+
o = !0, n = r;
|
|
282
|
+
} finally {
|
|
283
|
+
try {
|
|
284
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
285
|
+
} finally {
|
|
286
|
+
if (o) throw n;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return a;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
function _nonIterableRest() {
|
|
294
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
function _slicedToArray(r, e) {
|
|
298
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || createForOfIteratorHelper._unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
exports._asyncToGenerator = _asyncToGenerator;
|
|
302
|
+
exports._callSuper = _callSuper;
|
|
303
|
+
exports._classCallCheck = _classCallCheck;
|
|
304
|
+
exports._createClass = _createClass;
|
|
305
|
+
exports._inherits = _inherits;
|
|
306
|
+
exports._regenerator = _regenerator;
|
|
307
|
+
exports._slicedToArray = _slicedToArray;
|
|
308
|
+
exports._toConsumableArray = _toConsumableArray;
|
|
309
|
+
exports._wrapNativeSuper = _wrapNativeSuper;
|