@valbuild/shared 0.150.3 → 0.150.8
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 +12 -0
- package/client/dist/valbuild-shared-client.cjs.dev.js +8 -2
- package/client/dist/valbuild-shared-client.cjs.prod.js +8 -2
- package/client/dist/valbuild-shared-client.esm.js +2 -2
- package/dist/{acquireTypes-50960f2c.esm.js → acquireTypes-6e2f7961.esm.js} +2 -2
- package/dist/{acquireTypes-de10005d.cjs.dev.js → acquireTypes-84a4077a.cjs.dev.js} +6 -6
- package/dist/{acquireTypes-e9467a2a.cjs.prod.js → acquireTypes-dd976839.cjs.prod.js} +6 -6
- package/dist/{createForOfIteratorHelper-3db5d737.esm.js → createForOfIteratorHelper-666a6d17.esm.js} +31 -15
- package/dist/{createForOfIteratorHelper-90e6a8b6.cjs.prod.js → createForOfIteratorHelper-87a33eff.cjs.dev.js} +31 -15
- package/dist/{createForOfIteratorHelper-d86bb352.cjs.dev.js → createForOfIteratorHelper-fef4fa7d.cjs.prod.js} +31 -15
- package/dist/declarations/src/client/index.d.ts +1 -0
- package/dist/declarations/src/internal/ApiRoutes.d.ts +8 -0
- package/dist/declarations/src/internal/elementPicker.d.ts +96 -0
- package/dist/declarations/src/internal/index.d.ts +1 -0
- package/dist/declarations/src/internal/valCanvasProtocol.d.ts +36 -0
- package/dist/{getSitemapTree-667bcb3c.cjs.prod.js → getSitemapTree-873f7266.cjs.prod.js} +333 -2
- package/dist/{getSitemapTree-5afbc3ac.esm.js → getSitemapTree-b6161fd8.esm.js} +328 -3
- package/dist/{getSitemapTree-0fa0569c.cjs.dev.js → getSitemapTree-be70d9fc.cjs.dev.js} +333 -2
- package/dist/{proposalProject-a3d3ad76.esm.js → proposalProject-689c24cc.esm.js} +2 -2
- package/dist/{proposalProject-cdc53711.cjs.dev.js → proposalProject-926f2c68.cjs.dev.js} +2 -2
- package/dist/{proposalProject-28550146.cjs.prod.js → proposalProject-fab0c026.cjs.prod.js} +2 -2
- package/dist/{protocol-1c13de0d.cjs.prod.js → protocol-4e2a455b.cjs.prod.js} +1 -1
- package/dist/{protocol-3b9ef786.esm.js → protocol-7ddc1a71.esm.js} +1 -1
- package/dist/{protocol-d8a6efda.cjs.dev.js → protocol-ac1c3ec7.cjs.dev.js} +1 -1
- package/dist/{slicedToArray-6cd80315.esm.js → slicedToArray-22567815.esm.js} +2 -18
- package/dist/{slicedToArray-62e428df.cjs.dev.js → slicedToArray-c8a29f6b.cjs.dev.js} +1 -18
- package/dist/{slicedToArray-af50e684.cjs.prod.js → slicedToArray-d99b4e2e.cjs.prod.js} +1 -18
- package/internal/dist/valbuild-shared-internal.cjs.dev.js +25 -9
- package/internal/dist/valbuild-shared-internal.cjs.prod.js +25 -9
- package/internal/dist/valbuild-shared-internal.esm.js +17 -7
- package/package.json +1 -1
- package/publish/dist/valbuild-shared-publish.cjs.dev.js +6 -6
- package/publish/dist/valbuild-shared-publish.cjs.prod.js +6 -6
- package/publish/dist/valbuild-shared-publish.esm.js +4 -4
- package/typecheck/dist/valbuild-shared-typecheck.cjs.dev.js +7 -7
- package/typecheck/dist/valbuild-shared-typecheck.cjs.prod.js +7 -7
- package/typecheck/dist/valbuild-shared-typecheck.esm.js +5 -5
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.dev.js +4 -4
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.prod.js +4 -4
- package/typecheck/testing/dist/valbuild-shared-typecheck-testing.esm.js +3 -3
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-
|
|
5
|
+
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
|
|
6
6
|
var core = require('@valbuild/core');
|
|
7
|
-
var slicedToArray = require('../../dist/slicedToArray-
|
|
7
|
+
var slicedToArray = require('../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
|
|
8
8
|
var zod = require('zod');
|
|
9
|
-
var protocol = require('../../dist/protocol-
|
|
9
|
+
var protocol = require('../../dist/protocol-4e2a455b.cjs.prod.js');
|
|
10
10
|
var zodValidationError = require('zod-validation-error');
|
|
11
|
-
var getSitemapTree = require('../../dist/getSitemapTree-
|
|
11
|
+
var getSitemapTree = require('../../dist/getSitemapTree-873f7266.cjs.prod.js');
|
|
12
12
|
var FlexSearch = require('flexsearch');
|
|
13
13
|
var utils = require('../../dist/utils-32bcaca2.cjs.prod.js');
|
|
14
14
|
|
|
@@ -619,7 +619,7 @@ function convertListItemToRemirrorParagraph(rtChildren) {
|
|
|
619
619
|
var newChild = convertParagraphToRemirror(child.children);
|
|
620
620
|
if (lastChild.type === "paragraph" && newChild.type === "paragraph") {
|
|
621
621
|
if (newChild.content) {
|
|
622
|
-
lastChildContent.push.apply(lastChildContent,
|
|
622
|
+
lastChildContent.push.apply(lastChildContent, createForOfIteratorHelper._toConsumableArray(newChild.content));
|
|
623
623
|
} else {
|
|
624
624
|
// no content - skip
|
|
625
625
|
}
|
|
@@ -3479,7 +3479,13 @@ var Api = {
|
|
|
3479
3479
|
query: {
|
|
3480
3480
|
limit: onlyOneStringQueryParam.optional(),
|
|
3481
3481
|
cursor_updatedAt: onlyOneStringQueryParam.optional(),
|
|
3482
|
-
cursor_id: onlyOneStringQueryParam.optional()
|
|
3482
|
+
cursor_id: onlyOneStringQueryParam.optional(),
|
|
3483
|
+
/**
|
|
3484
|
+
* The proposal the Studio is in, by name: lists that proposal's
|
|
3485
|
+
* chats, everyone's, instead of your own (valbuild/home
|
|
3486
|
+
* `docs/proposals.md`, Flow H).
|
|
3487
|
+
*/
|
|
3488
|
+
proposal: onlyOneStringQueryParam.optional()
|
|
3483
3489
|
},
|
|
3484
3490
|
cookies: createForOfIteratorHelper._defineProperty({}, VAL_SESSION_COOKIE, zod.z.string().optional())
|
|
3485
3491
|
},
|
|
@@ -3490,7 +3496,9 @@ var Api = {
|
|
|
3490
3496
|
id: zod.z.string(),
|
|
3491
3497
|
name: zod.z.string().nullable(),
|
|
3492
3498
|
createdAt: zod.z.string(),
|
|
3493
|
-
updatedAt: zod.z.string()
|
|
3499
|
+
updatedAt: zod.z.string(),
|
|
3500
|
+
/** Who is in a proposal's chat, starter first. */
|
|
3501
|
+
authorIds: zod.z.array(zod.z.string()).optional()
|
|
3494
3502
|
})),
|
|
3495
3503
|
nextCursor: zod.z.object({
|
|
3496
3504
|
updatedAt: zod.z.string(),
|
|
@@ -3534,6 +3542,8 @@ var Api = {
|
|
|
3534
3542
|
status: zod.z.literal(200),
|
|
3535
3543
|
json: zod.z.object({
|
|
3536
3544
|
messages: zod.z.array(zod.z.object({
|
|
3545
|
+
/** Who asked, on a user message in a proposal's chat. */
|
|
3546
|
+
authorId: zod.z.string().nullable().optional(),
|
|
3537
3547
|
role: zod.z.string(),
|
|
3538
3548
|
content: zod.z.union([zod.z.string(), zod.z.array(zod.z.union([zod.z.object({
|
|
3539
3549
|
type: zod.z.literal("text"),
|
|
@@ -8314,7 +8324,7 @@ function selectionClosure(patchSets, selected, patchIds) {
|
|
|
8314
8324
|
try {
|
|
8315
8325
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
8316
8326
|
var group = _step4.value;
|
|
8317
|
-
if (
|
|
8327
|
+
if (createForOfIteratorHelper._toConsumableArray(group).some(function (id) {
|
|
8318
8328
|
return wanted.has(id);
|
|
8319
8329
|
})) {
|
|
8320
8330
|
var _iterator6 = createForOfIteratorHelper._createForOfIteratorHelper(group),
|
|
@@ -8597,7 +8607,7 @@ function _selfCheck() {
|
|
|
8597
8607
|
case 15:
|
|
8598
8608
|
for (_i2 = 0, _Object$entries2 = Object.entries(result); _i2 < _Object$entries2.length; _i2++) {
|
|
8599
8609
|
_Object$entries2$_i = slicedToArray._slicedToArray(_Object$entries2[_i2], 2), _sourcePath = _Object$entries2$_i[0], _list = _Object$entries2$_i[1];
|
|
8600
|
-
(_found = (_found$_ref = found[_ref = _sourcePath]) !== null && _found$_ref !== void 0 ? _found$_ref : found[_ref] = []).push.apply(_found,
|
|
8610
|
+
(_found = (_found$_ref = found[_ref = _sourcePath]) !== null && _found$_ref !== void 0 ? _found$_ref : found[_ref] = []).push.apply(_found, createForOfIteratorHelper._toConsumableArray(_list));
|
|
8601
8611
|
}
|
|
8602
8612
|
case 16:
|
|
8603
8613
|
_context.n = 2;
|
|
@@ -8684,6 +8694,10 @@ exports.VAL_CANVAS_MESSAGE = getSitemapTree.VAL_CANVAS_MESSAGE;
|
|
|
8684
8694
|
exports.VAL_CANVAS_PARAM = getSitemapTree.VAL_CANVAS_PARAM;
|
|
8685
8695
|
exports.VAL_CONFIG_SESSION_STORAGE_KEY = getSitemapTree.VAL_CONFIG_SESSION_STORAGE_KEY;
|
|
8686
8696
|
exports.VAL_THEME_SESSION_STORAGE_KEY = getSitemapTree.VAL_THEME_SESSION_STORAGE_KEY;
|
|
8697
|
+
exports.attachElementPicker = getSitemapTree.attachElementPicker;
|
|
8698
|
+
exports.createPickerOverlay = getSitemapTree.createPickerOverlay;
|
|
8699
|
+
exports.describeElement = getSitemapTree.describeElement;
|
|
8700
|
+
exports.elementLabel = getSitemapTree.elementLabel;
|
|
8687
8701
|
exports.formatRoutePattern = getSitemapTree.formatRoutePattern;
|
|
8688
8702
|
exports.getNextAppRouterSourceFolder = getSitemapTree.getNextAppRouterSourceFolder;
|
|
8689
8703
|
exports.getPageRouterSitemapTree = getSitemapTree.getPageRouterSitemapTree;
|
|
@@ -8694,7 +8708,9 @@ exports.isTanStackRoutesFolder = getSitemapTree.isTanStackRoutesFolder;
|
|
|
8694
8708
|
exports.isValCanvasFrame = getSitemapTree.isValCanvasFrame;
|
|
8695
8709
|
exports.isValCanvasPageMessage = getSitemapTree.isValCanvasPageMessage;
|
|
8696
8710
|
exports.isValCanvasStudioMessage = getSitemapTree.isValCanvasStudioMessage;
|
|
8711
|
+
exports.modifierLabel = getSitemapTree.modifierLabel;
|
|
8697
8712
|
exports.parseRoutePattern = getSitemapTree.parseRoutePattern;
|
|
8713
|
+
exports.startElementPicking = getSitemapTree.startElementPicking;
|
|
8698
8714
|
exports.withValCanvasParam = getSitemapTree.withValCanvasParam;
|
|
8699
8715
|
exports.AA_LARGE = AA_LARGE;
|
|
8700
8716
|
exports.AA_TEXT = AA_TEXT;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as _createForOfIteratorHelper, a as _objectSpread2, b as _toConsumableArray, _ as _typeof, d as _defineProperty } from '../../dist/createForOfIteratorHelper-666a6d17.esm.js';
|
|
2
2
|
import { Internal, CODE_LANGUAGES, resolveSettingsModule, missingDeclaredKeys, localeOfValue, discriminatedUnionBranchOf, routePatternOf, matchRoutePattern, DEFAULT_COLOR_FORMAT, declaredKeySetOf } from '@valbuild/core';
|
|
3
|
-
import {
|
|
3
|
+
import { b as _asyncToGenerator, d as _regenerator, g as _slicedToArray, a as _createClass, e as _classCallCheck } from '../../dist/slicedToArray-22567815.esm.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { _ as _objectWithoutProperties } from '../../dist/protocol-
|
|
6
|
-
export { P as PublishProtocolError, b as parseArtifacts, p as parseBuildTarget, l as parseCancel, a as parseDeclare, m as parseDiscard, j as parseJob, n as parseNewestCiRun, h as parsePress, g as parseProblems, f as parseProjectSource, d as parsePromote, o as parsePublishToken, k as parseRenew, i as parseRequestStatus, e as parseStatus, q as parseUpdateTarget, c as parseVerify } from '../../dist/protocol-
|
|
5
|
+
import { _ as _objectWithoutProperties } from '../../dist/protocol-7ddc1a71.esm.js';
|
|
6
|
+
export { P as PublishProtocolError, b as parseArtifacts, p as parseBuildTarget, l as parseCancel, a as parseDeclare, m as parseDiscard, j as parseJob, n as parseNewestCiRun, h as parsePress, g as parseProblems, f as parseProjectSource, d as parsePromote, o as parsePublishToken, k as parseRenew, i as parseRequestStatus, e as parseStatus, q as parseUpdateTarget, c as parseVerify } from '../../dist/protocol-7ddc1a71.esm.js';
|
|
7
7
|
import { fromError } from 'zod-validation-error';
|
|
8
|
-
export { D as DEFAULT_CANVAS_SELECTION, e as DEFAULT_CANVAS_SELECTION_SOFT, b as VAL_AI_SESSION_STORAGE_KEY, d as VAL_CANVAS_MESSAGE, c as VAL_CANVAS_PARAM, V as VAL_CONFIG_SESSION_STORAGE_KEY, a as VAL_THEME_SESSION_STORAGE_KEY, h as formatRoutePattern,
|
|
8
|
+
export { D as DEFAULT_CANVAS_SELECTION, e as DEFAULT_CANVAS_SELECTION_SOFT, b as VAL_AI_SESSION_STORAGE_KEY, d as VAL_CANVAS_MESSAGE, c as VAL_CANVAS_PARAM, V as VAL_CONFIG_SESSION_STORAGE_KEY, a as VAL_THEME_SESSION_STORAGE_KEY, j as attachElementPicker, k as createPickerOverlay, h as describeElement, l as elementLabel, n as formatRoutePattern, o as getNextAppRouterSourceFolder, u as getPageRouterSitemapTree, r as getPageRouterSourceFolder, v as getPatternFromModuleFilePath, q as getTanStackRouterSourceFolder, t as isTanStackRoutesFolder, g as isValCanvasFrame, i as isValCanvasPageMessage, f as isValCanvasStudioMessage, m as modifierLabel, p as parseRoutePattern, s as startElementPicking, w as withValCanvasParam } from '../../dist/getSitemapTree-b6161fd8.esm.js';
|
|
9
9
|
import FlexSearch from 'flexsearch';
|
|
10
10
|
import { b as base64DataUrlToUint8Array } from '../../dist/utils-00f3e1df.esm.js';
|
|
11
11
|
|
|
@@ -3472,7 +3472,13 @@ var Api = {
|
|
|
3472
3472
|
query: {
|
|
3473
3473
|
limit: onlyOneStringQueryParam.optional(),
|
|
3474
3474
|
cursor_updatedAt: onlyOneStringQueryParam.optional(),
|
|
3475
|
-
cursor_id: onlyOneStringQueryParam.optional()
|
|
3475
|
+
cursor_id: onlyOneStringQueryParam.optional(),
|
|
3476
|
+
/**
|
|
3477
|
+
* The proposal the Studio is in, by name: lists that proposal's
|
|
3478
|
+
* chats, everyone's, instead of your own (valbuild/home
|
|
3479
|
+
* `docs/proposals.md`, Flow H).
|
|
3480
|
+
*/
|
|
3481
|
+
proposal: onlyOneStringQueryParam.optional()
|
|
3476
3482
|
},
|
|
3477
3483
|
cookies: _defineProperty({}, VAL_SESSION_COOKIE, z.string().optional())
|
|
3478
3484
|
},
|
|
@@ -3483,7 +3489,9 @@ var Api = {
|
|
|
3483
3489
|
id: z.string(),
|
|
3484
3490
|
name: z.string().nullable(),
|
|
3485
3491
|
createdAt: z.string(),
|
|
3486
|
-
updatedAt: z.string()
|
|
3492
|
+
updatedAt: z.string(),
|
|
3493
|
+
/** Who is in a proposal's chat, starter first. */
|
|
3494
|
+
authorIds: z.array(z.string()).optional()
|
|
3487
3495
|
})),
|
|
3488
3496
|
nextCursor: z.object({
|
|
3489
3497
|
updatedAt: z.string(),
|
|
@@ -3527,6 +3535,8 @@ var Api = {
|
|
|
3527
3535
|
status: z.literal(200),
|
|
3528
3536
|
json: z.object({
|
|
3529
3537
|
messages: z.array(z.object({
|
|
3538
|
+
/** Who asked, on a user message in a proposal's chat. */
|
|
3539
|
+
authorId: z.string().nullable().optional(),
|
|
3530
3540
|
role: z.string(),
|
|
3531
3541
|
content: z.union([z.string(), z.array(z.union([z.object({
|
|
3532
3542
|
type: z.literal("text"),
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var slicedToArray = require('../../dist/slicedToArray-
|
|
6
|
-
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-
|
|
7
|
-
var protocol = require('../../dist/protocol-
|
|
5
|
+
var slicedToArray = require('../../dist/slicedToArray-c8a29f6b.cjs.dev.js');
|
|
6
|
+
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-87a33eff.cjs.dev.js');
|
|
7
|
+
var protocol = require('../../dist/protocol-ac1c3ec7.cjs.dev.js');
|
|
8
8
|
var zod = require('zod');
|
|
9
|
-
var proposalProject = require('../../dist/proposalProject-
|
|
9
|
+
var proposalProject = require('../../dist/proposalProject-926f2c68.cjs.dev.js');
|
|
10
10
|
require('zod-validation-error');
|
|
11
11
|
|
|
12
12
|
/*
|
|
@@ -1263,7 +1263,7 @@ function _runStudioDeploy() {
|
|
|
1263
1263
|
}]
|
|
1264
1264
|
});
|
|
1265
1265
|
case 44:
|
|
1266
|
-
declared = [].concat(
|
|
1266
|
+
declared = [].concat(createForOfIteratorHelper._toConsumableArray(artifacts.map(function (_ref0) {
|
|
1267
1267
|
var key = _ref0.key,
|
|
1268
1268
|
sha256 = _ref0.sha256,
|
|
1269
1269
|
bytes = _ref0.bytes;
|
|
@@ -1272,7 +1272,7 @@ function _runStudioDeploy() {
|
|
|
1272
1272
|
sha256: sha256,
|
|
1273
1273
|
bytes: bytes
|
|
1274
1274
|
};
|
|
1275
|
-
})),
|
|
1275
|
+
})), createForOfIteratorHelper._toConsumableArray(carriedInto(artifacts, carried, (_options$committedFil3 = options.committedFiles) !== null && _options$committedFil3 !== void 0 ? _options$committedFil3 : null)));
|
|
1276
1276
|
_context2.n = 45;
|
|
1277
1277
|
return runStudioPublish(createForOfIteratorHelper._objectSpread2({
|
|
1278
1278
|
client: client,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var slicedToArray = require('../../dist/slicedToArray-
|
|
6
|
-
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-
|
|
7
|
-
var protocol = require('../../dist/protocol-
|
|
5
|
+
var slicedToArray = require('../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
|
|
6
|
+
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
|
|
7
|
+
var protocol = require('../../dist/protocol-4e2a455b.cjs.prod.js');
|
|
8
8
|
var zod = require('zod');
|
|
9
|
-
var proposalProject = require('../../dist/proposalProject-
|
|
9
|
+
var proposalProject = require('../../dist/proposalProject-fab0c026.cjs.prod.js');
|
|
10
10
|
require('zod-validation-error');
|
|
11
11
|
|
|
12
12
|
/*
|
|
@@ -1263,7 +1263,7 @@ function _runStudioDeploy() {
|
|
|
1263
1263
|
}]
|
|
1264
1264
|
});
|
|
1265
1265
|
case 44:
|
|
1266
|
-
declared = [].concat(
|
|
1266
|
+
declared = [].concat(createForOfIteratorHelper._toConsumableArray(artifacts.map(function (_ref0) {
|
|
1267
1267
|
var key = _ref0.key,
|
|
1268
1268
|
sha256 = _ref0.sha256,
|
|
1269
1269
|
bytes = _ref0.bytes;
|
|
@@ -1272,7 +1272,7 @@ function _runStudioDeploy() {
|
|
|
1272
1272
|
sha256: sha256,
|
|
1273
1273
|
bytes: bytes
|
|
1274
1274
|
};
|
|
1275
|
-
})),
|
|
1275
|
+
})), createForOfIteratorHelper._toConsumableArray(carriedInto(artifacts, carried, (_options$committedFil3 = options.committedFiles) !== null && _options$committedFil3 !== void 0 ? _options$committedFil3 : null)));
|
|
1276
1276
|
_context2.n = 45;
|
|
1277
1277
|
return runStudioPublish(createForOfIteratorHelper._objectSpread2({
|
|
1278
1278
|
client: client,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, b as _asyncToGenerator, c as _wrapNativeSuper, d as _regenerator, e as _classCallCheck, f as _callSuper, g as _slicedToArray
|
|
2
|
-
import { _ as _typeof,
|
|
3
|
-
import { p as parseBuildTarget, a as parseDeclare, b as parseArtifacts, c as parseVerify, d as parsePromote, e as parseStatus, f as parseProjectSource, g as parseProblems, h as parsePress, i as parseRequestStatus, j as parseJob, k as parseRenew, l as parseCancel, m as parseDiscard, n as parseNewestCiRun, _ as _objectWithoutProperties } from '../../dist/protocol-
|
|
1
|
+
import { _ as _inherits, a as _createClass, b as _asyncToGenerator, c as _wrapNativeSuper, d as _regenerator, e as _classCallCheck, f as _callSuper, g as _slicedToArray } from '../../dist/slicedToArray-22567815.esm.js';
|
|
2
|
+
import { _ as _typeof, a as _objectSpread2, d as _defineProperty, c as _createForOfIteratorHelper, b as _toConsumableArray } from '../../dist/createForOfIteratorHelper-666a6d17.esm.js';
|
|
3
|
+
import { p as parseBuildTarget, a as parseDeclare, b as parseArtifacts, c as parseVerify, d as parsePromote, e as parseStatus, f as parseProjectSource, g as parseProblems, h as parsePress, i as parseRequestStatus, j as parseJob, k as parseRenew, l as parseCancel, m as parseDiscard, n as parseNewestCiRun, _ as _objectWithoutProperties } from '../../dist/protocol-7ddc1a71.esm.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
export { p as proposalProject } from '../../dist/proposalProject-
|
|
5
|
+
export { p as proposalProject } from '../../dist/proposalProject-689c24cc.esm.js';
|
|
6
6
|
import 'zod-validation-error';
|
|
7
7
|
|
|
8
8
|
/*
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var slicedToArray = require('../../dist/slicedToArray-
|
|
6
|
-
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-
|
|
5
|
+
var slicedToArray = require('../../dist/slicedToArray-c8a29f6b.cjs.dev.js');
|
|
6
|
+
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-87a33eff.cjs.dev.js');
|
|
7
7
|
var yaml = require('yaml');
|
|
8
|
-
var acquireTypes = require('../../dist/acquireTypes-
|
|
9
|
-
var proposalProject = require('../../dist/proposalProject-
|
|
8
|
+
var acquireTypes = require('../../dist/acquireTypes-84a4077a.cjs.dev.js');
|
|
9
|
+
var proposalProject = require('../../dist/proposalProject-926f2c68.cjs.dev.js');
|
|
10
10
|
|
|
11
11
|
function _regeneratorValues(e) {
|
|
12
12
|
if (null != e) {
|
|
@@ -365,7 +365,7 @@ function languageServiceFor(ts, fs, config, registry) {
|
|
|
365
365
|
* deduplicated as `tsc` does.
|
|
366
366
|
*/
|
|
367
367
|
function diagnosticsOf(ts, program, config) {
|
|
368
|
-
var all = ts.sortAndDeduplicateDiagnostics([].concat(
|
|
368
|
+
var all = ts.sortAndDeduplicateDiagnostics([].concat(createForOfIteratorHelper._toConsumableArray(config.errors), createForOfIteratorHelper._toConsumableArray(ts.getPreEmitDiagnostics(program))));
|
|
369
369
|
return all.filter(function (d) {
|
|
370
370
|
return d.category === ts.DiagnosticCategory.Error;
|
|
371
371
|
}).map(function (d) {
|
|
@@ -670,7 +670,7 @@ function _typecheckProject() {
|
|
|
670
670
|
return _context2.a(3, 20);
|
|
671
671
|
case 19:
|
|
672
672
|
found = diagnosticsOf(ts, program, _config2);
|
|
673
|
-
errors.push.apply(errors,
|
|
673
|
+
errors.push.apply(errors, createForOfIteratorHelper._toConsumableArray(found));
|
|
674
674
|
sourceFiles = program.getSourceFiles();
|
|
675
675
|
programs.push(createForOfIteratorHelper._objectSpread2({
|
|
676
676
|
tsconfig: relative(_config2.path),
|
|
@@ -1222,7 +1222,7 @@ function errorsByFile(errors) {
|
|
|
1222
1222
|
} finally {
|
|
1223
1223
|
_iterator.f();
|
|
1224
1224
|
}
|
|
1225
|
-
return
|
|
1225
|
+
return createForOfIteratorHelper._toConsumableArray(files).sort(function (_ref, _ref2) {
|
|
1226
1226
|
var _ref3 = slicedToArray._slicedToArray(_ref, 1),
|
|
1227
1227
|
a = _ref3[0];
|
|
1228
1228
|
var _ref4 = slicedToArray._slicedToArray(_ref2, 1),
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var slicedToArray = require('../../dist/slicedToArray-
|
|
6
|
-
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-
|
|
5
|
+
var slicedToArray = require('../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
|
|
6
|
+
var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
|
|
7
7
|
var yaml = require('yaml');
|
|
8
|
-
var acquireTypes = require('../../dist/acquireTypes-
|
|
9
|
-
var proposalProject = require('../../dist/proposalProject-
|
|
8
|
+
var acquireTypes = require('../../dist/acquireTypes-dd976839.cjs.prod.js');
|
|
9
|
+
var proposalProject = require('../../dist/proposalProject-fab0c026.cjs.prod.js');
|
|
10
10
|
|
|
11
11
|
function _regeneratorValues(e) {
|
|
12
12
|
if (null != e) {
|
|
@@ -365,7 +365,7 @@ function languageServiceFor(ts, fs, config, registry) {
|
|
|
365
365
|
* deduplicated as `tsc` does.
|
|
366
366
|
*/
|
|
367
367
|
function diagnosticsOf(ts, program, config) {
|
|
368
|
-
var all = ts.sortAndDeduplicateDiagnostics([].concat(
|
|
368
|
+
var all = ts.sortAndDeduplicateDiagnostics([].concat(createForOfIteratorHelper._toConsumableArray(config.errors), createForOfIteratorHelper._toConsumableArray(ts.getPreEmitDiagnostics(program))));
|
|
369
369
|
return all.filter(function (d) {
|
|
370
370
|
return d.category === ts.DiagnosticCategory.Error;
|
|
371
371
|
}).map(function (d) {
|
|
@@ -670,7 +670,7 @@ function _typecheckProject() {
|
|
|
670
670
|
return _context2.a(3, 20);
|
|
671
671
|
case 19:
|
|
672
672
|
found = diagnosticsOf(ts, program, _config2);
|
|
673
|
-
errors.push.apply(errors,
|
|
673
|
+
errors.push.apply(errors, createForOfIteratorHelper._toConsumableArray(found));
|
|
674
674
|
sourceFiles = program.getSourceFiles();
|
|
675
675
|
programs.push(createForOfIteratorHelper._objectSpread2({
|
|
676
676
|
tsconfig: relative(_config2.path),
|
|
@@ -1222,7 +1222,7 @@ function errorsByFile(errors) {
|
|
|
1222
1222
|
} finally {
|
|
1223
1223
|
_iterator.f();
|
|
1224
1224
|
}
|
|
1225
|
-
return
|
|
1225
|
+
return createForOfIteratorHelper._toConsumableArray(files).sort(function (_ref, _ref2) {
|
|
1226
1226
|
var _ref3 = slicedToArray._slicedToArray(_ref, 1),
|
|
1227
1227
|
a = _ref3[0];
|
|
1228
1228
|
var _ref4 = slicedToArray._slicedToArray(_ref2, 1),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _inherits, a as _createClass, c as _wrapNativeSuper, e as _classCallCheck, f as _callSuper, b as _asyncToGenerator, d as _regenerator,
|
|
2
|
-
import {
|
|
1
|
+
import { _ as _inherits, a as _createClass, c as _wrapNativeSuper, e as _classCallCheck, f as _callSuper, b as _asyncToGenerator, d as _regenerator, g as _slicedToArray } from '../../dist/slicedToArray-22567815.esm.js';
|
|
2
|
+
import { c as _createForOfIteratorHelper, _ as _typeof, a as _objectSpread2, b as _toConsumableArray } from '../../dist/createForOfIteratorHelper-666a6d17.esm.js';
|
|
3
3
|
import { parse } from 'yaml';
|
|
4
|
-
import { p as parsePnpmLockfile, c as computePnpmLayout, l as layoutOptionsOfWorkspace, a as packageDirOf, T as TypeAcquisition, b as parentOf, n as normalizePath, L as LinkedFileSystem, S as SourceError } from '../../dist/acquireTypes-
|
|
5
|
-
export { e as LockfileError, S as SourceError, U as UnsupportedLayoutError, d as packageNameOf, t as typesPackageOf } from '../../dist/acquireTypes-
|
|
6
|
-
import { p as proposalProject } from '../../dist/proposalProject-
|
|
4
|
+
import { p as parsePnpmLockfile, c as computePnpmLayout, l as layoutOptionsOfWorkspace, a as packageDirOf, T as TypeAcquisition, b as parentOf, n as normalizePath, L as LinkedFileSystem, S as SourceError } from '../../dist/acquireTypes-6e2f7961.esm.js';
|
|
5
|
+
export { e as LockfileError, S as SourceError, U as UnsupportedLayoutError, d as packageNameOf, t as typesPackageOf } from '../../dist/acquireTypes-6e2f7961.esm.js';
|
|
6
|
+
import { p as proposalProject } from '../../dist/proposalProject-689c24cc.esm.js';
|
|
7
7
|
|
|
8
8
|
function _regeneratorValues(e) {
|
|
9
9
|
if (null != e) {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var slicedToArray = require('../../../dist/slicedToArray-
|
|
6
|
-
var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-
|
|
5
|
+
var slicedToArray = require('../../../dist/slicedToArray-c8a29f6b.cjs.dev.js');
|
|
6
|
+
var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-87a33eff.cjs.dev.js');
|
|
7
7
|
var fs = require('node:fs');
|
|
8
8
|
var path = require('node:path');
|
|
9
|
-
var acquireTypes = require('../../../dist/acquireTypes-
|
|
9
|
+
var acquireTypes = require('../../../dist/acquireTypes-84a4077a.cjs.dev.js');
|
|
10
10
|
require('yaml');
|
|
11
11
|
|
|
12
12
|
function _interopNamespace(e) {
|
|
@@ -108,7 +108,7 @@ function slotsByName(store) {
|
|
|
108
108
|
function nodeModulesSources(root) {
|
|
109
109
|
var _options$fallbackRoot;
|
|
110
110
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
111
|
-
var roots = [root].concat(
|
|
111
|
+
var roots = [root].concat(createForOfIteratorHelper._toConsumableArray((_options$fallbackRoot = options.fallbackRoots) !== null && _options$fallbackRoot !== void 0 ? _options$fallbackRoot : []));
|
|
112
112
|
var stores = roots.map(function (dir) {
|
|
113
113
|
return slotsByName(path__namespace.join(dir, "node_modules", ".pnpm"));
|
|
114
114
|
});
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var slicedToArray = require('../../../dist/slicedToArray-
|
|
6
|
-
var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-
|
|
5
|
+
var slicedToArray = require('../../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
|
|
6
|
+
var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
|
|
7
7
|
var fs = require('node:fs');
|
|
8
8
|
var path = require('node:path');
|
|
9
|
-
var acquireTypes = require('../../../dist/acquireTypes-
|
|
9
|
+
var acquireTypes = require('../../../dist/acquireTypes-dd976839.cjs.prod.js');
|
|
10
10
|
require('yaml');
|
|
11
11
|
|
|
12
12
|
function _interopNamespace(e) {
|
|
@@ -108,7 +108,7 @@ function slotsByName(store) {
|
|
|
108
108
|
function nodeModulesSources(root) {
|
|
109
109
|
var _options$fallbackRoot;
|
|
110
110
|
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
111
|
-
var roots = [root].concat(
|
|
111
|
+
var roots = [root].concat(createForOfIteratorHelper._toConsumableArray((_options$fallbackRoot = options.fallbackRoots) !== null && _options$fallbackRoot !== void 0 ? _options$fallbackRoot : []));
|
|
112
112
|
var stores = roots.map(function (dir) {
|
|
113
113
|
return slotsByName(path__namespace.join(dir, "node_modules", ".pnpm"));
|
|
114
114
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { b as _asyncToGenerator, d as _regenerator } from '../../../dist/slicedToArray-22567815.esm.js';
|
|
2
|
+
import { b as _toConsumableArray, c as _createForOfIteratorHelper } from '../../../dist/createForOfIteratorHelper-666a6d17.esm.js';
|
|
3
3
|
import * as fs from 'node:fs';
|
|
4
4
|
import * as path from 'node:path';
|
|
5
|
-
import { S as SourceError } from '../../../dist/acquireTypes-
|
|
5
|
+
import { S as SourceError } from '../../../dist/acquireTypes-6e2f7961.esm.js';
|
|
6
6
|
import 'yaml';
|
|
7
7
|
|
|
8
8
|
/**
|