@sentry/craft 3.7.0 → 3.7.1
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/dist/craft +93 -57
- package/package.json +1 -1
package/dist/craft
CHANGED
|
@@ -44268,10 +44268,10 @@ var init_ignore = __esm({
|
|
|
44268
44268
|
ignored(p8) {
|
|
44269
44269
|
const fullpath = p8.fullpath();
|
|
44270
44270
|
const fullpaths = `${fullpath}/`;
|
|
44271
|
-
const
|
|
44272
|
-
const relatives = `${
|
|
44271
|
+
const relative8 = p8.relative() || ".";
|
|
44272
|
+
const relatives = `${relative8}/`;
|
|
44273
44273
|
for (const m10 of this.relative) {
|
|
44274
|
-
if (m10.match(
|
|
44274
|
+
if (m10.match(relative8) || m10.match(relatives))
|
|
44275
44275
|
return true;
|
|
44276
44276
|
}
|
|
44277
44277
|
for (const m10 of this.absolute) {
|
|
@@ -44282,9 +44282,9 @@ var init_ignore = __esm({
|
|
|
44282
44282
|
}
|
|
44283
44283
|
childrenIgnored(p8) {
|
|
44284
44284
|
const fullpath = p8.fullpath() + "/";
|
|
44285
|
-
const
|
|
44285
|
+
const relative8 = (p8.relative() || ".") + "/";
|
|
44286
44286
|
for (const m10 of this.relativeChildren) {
|
|
44287
|
-
if (m10.match(
|
|
44287
|
+
if (m10.match(relative8))
|
|
44288
44288
|
return true;
|
|
44289
44289
|
}
|
|
44290
44290
|
for (const m10 of this.absoluteChildren) {
|
|
@@ -60256,6 +60256,14 @@ function symlinkDependencyDirs(originalCwd, worktreePath) {
|
|
|
60256
60256
|
}
|
|
60257
60257
|
}
|
|
60258
60258
|
}
|
|
60259
|
+
async function listLocalBranches(git) {
|
|
60260
|
+
const refs = await git.raw([
|
|
60261
|
+
"for-each-ref",
|
|
60262
|
+
"--format=%(refname)",
|
|
60263
|
+
"refs/heads/"
|
|
60264
|
+
]);
|
|
60265
|
+
return refs.split("\n").filter(Boolean);
|
|
60266
|
+
}
|
|
60259
60267
|
async function createDryRunIsolation(git, rev) {
|
|
60260
60268
|
if (!isDryRun()) {
|
|
60261
60269
|
return {
|
|
@@ -60280,14 +60288,13 @@ async function createDryRunIsolation(git, rev) {
|
|
|
60280
60288
|
const worktreePath = (0, import_path3.join)((0, import_os.tmpdir)(), `craft-dry-run-${randomSuffix}`);
|
|
60281
60289
|
logger.info(`[dry-run] Creating temporary worktree at ${worktreePath}`);
|
|
60282
60290
|
const rawGit = wo(originalCwd);
|
|
60283
|
-
|
|
60284
|
-
|
|
60285
|
-
const
|
|
60286
|
-
|
|
60287
|
-
|
|
60291
|
+
const originalBranches = new Set(await listLocalBranches(rawGit));
|
|
60292
|
+
const repositoryRoot = (await rawGit.revparse(["--show-toplevel"])).trim();
|
|
60293
|
+
const worktreeCwd = (0, import_path3.join)(
|
|
60294
|
+
worktreePath,
|
|
60295
|
+
(0, import_path3.relative)((0, import_fs3.realpathSync)(repositoryRoot), (0, import_fs3.realpathSync)(originalCwd))
|
|
60288
60296
|
);
|
|
60289
|
-
|
|
60290
|
-
process.chdir(worktreePath);
|
|
60297
|
+
await rawGit.raw(["worktree", "add", "--detach", worktreePath, revision]);
|
|
60291
60298
|
const cleanup = async () => {
|
|
60292
60299
|
logger.debug(`[dry-run] Cleaning up temporary worktree at ${worktreePath}`);
|
|
60293
60300
|
unregisterCleanupHandlers();
|
|
@@ -60308,8 +60315,35 @@ async function createDryRunIsolation(git, rev) {
|
|
|
60308
60315
|
logger.warn(`[dry-run] Failed to clean up worktree: ${rmErr}`);
|
|
60309
60316
|
}
|
|
60310
60317
|
}
|
|
60318
|
+
try {
|
|
60319
|
+
for (const branch of await listLocalBranches(rawGit)) {
|
|
60320
|
+
if (!originalBranches.has(branch)) {
|
|
60321
|
+
await rawGit.raw(["update-ref", "-d", branch]);
|
|
60322
|
+
logger.debug(`[dry-run] Deleted temporary branch ${branch}`);
|
|
60323
|
+
}
|
|
60324
|
+
}
|
|
60325
|
+
} catch (err) {
|
|
60326
|
+
logger.warn(`[dry-run] Failed to clean up temporary branches: ${err}`);
|
|
60327
|
+
}
|
|
60311
60328
|
};
|
|
60312
60329
|
registerCleanupHandlers(cleanup);
|
|
60330
|
+
try {
|
|
60331
|
+
if (!(0, import_fs3.existsSync)(worktreeCwd)) {
|
|
60332
|
+
throw new ConfigurationError(
|
|
60333
|
+
`Cannot run the dry run from "${originalCwd}": it does not exist at revision "${revision}".`
|
|
60334
|
+
);
|
|
60335
|
+
}
|
|
60336
|
+
symlinkDependencyDirs(originalCwd, worktreeCwd);
|
|
60337
|
+
enableWorktreeMode();
|
|
60338
|
+
process.chdir(worktreeCwd);
|
|
60339
|
+
} catch (err) {
|
|
60340
|
+
await cleanup();
|
|
60341
|
+
throw err;
|
|
60342
|
+
}
|
|
60343
|
+
const worktreeGit = createDryRunGit(
|
|
60344
|
+
// eslint-disable-next-line no-restricted-syntax -- This is the wrapper module
|
|
60345
|
+
wo(worktreePath, { allowEnvironment: GIT_IDENTITY_ENV })
|
|
60346
|
+
);
|
|
60313
60347
|
const showDiff = async () => {
|
|
60314
60348
|
const diffGit = wo(worktreePath);
|
|
60315
60349
|
const worktreeHead = (await diffGit.revparse(["HEAD"])).trim();
|
|
@@ -60494,6 +60528,7 @@ var init_dryRun = __esm({
|
|
|
60494
60528
|
init_dist3();
|
|
60495
60529
|
init_logger2();
|
|
60496
60530
|
init_helpers();
|
|
60531
|
+
init_errors2();
|
|
60497
60532
|
init_gitIdentityEnv();
|
|
60498
60533
|
_inWorktreeMode = false;
|
|
60499
60534
|
_activeWorktreeCleanup = null;
|
|
@@ -61093,13 +61128,13 @@ async function getWorkspaceChangeFilter() {
|
|
|
61093
61128
|
const discovered = await discoverWorkspaces(root);
|
|
61094
61129
|
const ownedPaths = new Set(getWorkspaceNames());
|
|
61095
61130
|
for (const pkg of discovered.packages) {
|
|
61096
|
-
const
|
|
61097
|
-
if (
|
|
61131
|
+
const relative8 = import_node_path13.default.relative(root, pkg.location).split(import_node_path13.default.sep).join("/");
|
|
61132
|
+
if (relative8 === "" || relative8 === ".." || relative8.startsWith("../")) {
|
|
61098
61133
|
throw new ConfigurationError(
|
|
61099
61134
|
`Workspace package is outside the repository: ${pkg.name}`
|
|
61100
61135
|
);
|
|
61101
61136
|
}
|
|
61102
|
-
ownedPaths.add(
|
|
61137
|
+
ownedPaths.add(relative8);
|
|
61103
61138
|
}
|
|
61104
61139
|
const orderedOwners = [...ownedPaths].sort(
|
|
61105
61140
|
(left2, right2) => right2.length - left2.length
|
|
@@ -143027,12 +143062,12 @@ var require_fromHttp = __commonJS({
|
|
|
143027
143062
|
var fromHttp = (options = {}) => {
|
|
143028
143063
|
options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp");
|
|
143029
143064
|
let host;
|
|
143030
|
-
const
|
|
143065
|
+
const relative8 = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI];
|
|
143031
143066
|
const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI];
|
|
143032
143067
|
const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN];
|
|
143033
143068
|
const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE];
|
|
143034
143069
|
const warn3 = options.logger?.constructor?.name === "NoOpLogger" || !options.logger?.warn ? console.warn : options.logger.warn.bind(options.logger);
|
|
143035
|
-
if (
|
|
143070
|
+
if (relative8 && full) {
|
|
143036
143071
|
warn3("@aws-sdk/credential-provider-http: you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri.");
|
|
143037
143072
|
warn3("awsContainerCredentialsFullUri will take precedence.");
|
|
143038
143073
|
}
|
|
@@ -143042,8 +143077,8 @@ var require_fromHttp = __commonJS({
|
|
|
143042
143077
|
}
|
|
143043
143078
|
if (full) {
|
|
143044
143079
|
host = full;
|
|
143045
|
-
} else if (
|
|
143046
|
-
host = `${DEFAULT_LINK_LOCAL_HOST}${
|
|
143080
|
+
} else if (relative8) {
|
|
143081
|
+
host = `${DEFAULT_LINK_LOCAL_HOST}${relative8}`;
|
|
143047
143082
|
} else {
|
|
143048
143083
|
throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided.
|
|
143049
143084
|
Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger });
|
|
@@ -161176,10 +161211,10 @@ var require_symlink = __commonJS({
|
|
|
161176
161211
|
pathExists(dstpath, (err, destinationExists) => {
|
|
161177
161212
|
if (err) return callback(err);
|
|
161178
161213
|
if (destinationExists) return callback(null);
|
|
161179
|
-
symlinkPaths(srcpath, dstpath, (err2,
|
|
161214
|
+
symlinkPaths(srcpath, dstpath, (err2, relative8) => {
|
|
161180
161215
|
if (err2) return callback(err2);
|
|
161181
|
-
srcpath =
|
|
161182
|
-
symlinkType(
|
|
161216
|
+
srcpath = relative8.toDst;
|
|
161217
|
+
symlinkType(relative8.toCwd, type2, (err3, type3) => {
|
|
161183
161218
|
if (err3) return callback(err3);
|
|
161184
161219
|
const dir = path20.dirname(dstpath);
|
|
161185
161220
|
pathExists(dir, (err4, dirExists) => {
|
|
@@ -161197,9 +161232,9 @@ var require_symlink = __commonJS({
|
|
|
161197
161232
|
function createSymlinkSync(srcpath, dstpath, type2) {
|
|
161198
161233
|
const destinationExists = fs16.existsSync(dstpath);
|
|
161199
161234
|
if (destinationExists) return void 0;
|
|
161200
|
-
const
|
|
161201
|
-
srcpath =
|
|
161202
|
-
type2 = symlinkTypeSync(
|
|
161235
|
+
const relative8 = symlinkPathsSync(srcpath, dstpath);
|
|
161236
|
+
srcpath = relative8.toDst;
|
|
161237
|
+
type2 = symlinkTypeSync(relative8.toCwd, type2);
|
|
161203
161238
|
const dir = path20.dirname(dstpath);
|
|
161204
161239
|
const exists = fs16.existsSync(dir);
|
|
161205
161240
|
if (exists) return fs16.symlinkSync(srcpath, dstpath, type2);
|
|
@@ -169265,10 +169300,10 @@ var require_symlink2 = __commonJS({
|
|
|
169265
169300
|
});
|
|
169266
169301
|
}
|
|
169267
169302
|
function _createSymlink(srcpath, dstpath, type2, callback) {
|
|
169268
|
-
symlinkPaths(srcpath, dstpath, (err,
|
|
169303
|
+
symlinkPaths(srcpath, dstpath, (err, relative8) => {
|
|
169269
169304
|
if (err) return callback(err);
|
|
169270
|
-
srcpath =
|
|
169271
|
-
symlinkType(
|
|
169305
|
+
srcpath = relative8.toDst;
|
|
169306
|
+
symlinkType(relative8.toCwd, type2, (err2, type3) => {
|
|
169272
169307
|
if (err2) return callback(err2);
|
|
169273
169308
|
const dir = path20.dirname(dstpath);
|
|
169274
169309
|
pathExists(dir, (err3, dirExists) => {
|
|
@@ -169293,9 +169328,9 @@ var require_symlink2 = __commonJS({
|
|
|
169293
169328
|
const dstStat = fs16.statSync(dstpath);
|
|
169294
169329
|
if (areIdentical(srcStat, dstStat)) return;
|
|
169295
169330
|
}
|
|
169296
|
-
const
|
|
169297
|
-
srcpath =
|
|
169298
|
-
type2 = symlinkTypeSync(
|
|
169331
|
+
const relative8 = symlinkPathsSync(srcpath, dstpath);
|
|
169332
|
+
srcpath = relative8.toDst;
|
|
169333
|
+
type2 = symlinkTypeSync(relative8.toCwd, type2);
|
|
169299
169334
|
const dir = path20.dirname(dstpath);
|
|
169300
169335
|
const exists = fs16.existsSync(dir);
|
|
169301
169336
|
if (exists) return fs16.symlinkSync(srcpath, dstpath, type2);
|
|
@@ -184318,7 +184353,7 @@ var require_dist12 = __commonJS({
|
|
|
184318
184353
|
splitRootRe = /^[\/]*/;
|
|
184319
184354
|
}
|
|
184320
184355
|
var splitRootRe;
|
|
184321
|
-
exports3.realpathSync = function
|
|
184356
|
+
exports3.realpathSync = function realpathSync5(p8, cache4) {
|
|
184322
184357
|
p8 = pathModule.resolve(p8);
|
|
184323
184358
|
if (cache4 && Object.prototype.hasOwnProperty.call(cache4, p8)) {
|
|
184324
184359
|
return cache4[p8];
|
|
@@ -184481,8 +184516,8 @@ var require_dist12 = __commonJS({
|
|
|
184481
184516
|
"../../node_modules/.pnpm/fs.realpath@1.0.0/node_modules/fs.realpath/index.js"(exports3, module22) {
|
|
184482
184517
|
module22.exports = realpath2;
|
|
184483
184518
|
realpath2.realpath = realpath2;
|
|
184484
|
-
realpath2.sync =
|
|
184485
|
-
realpath2.realpathSync =
|
|
184519
|
+
realpath2.sync = realpathSync5;
|
|
184520
|
+
realpath2.realpathSync = realpathSync5;
|
|
184486
184521
|
realpath2.monkeypatch = monkeypatch;
|
|
184487
184522
|
realpath2.unmonkeypatch = unmonkeypatch;
|
|
184488
184523
|
var fs122 = require("fs");
|
|
@@ -184510,7 +184545,7 @@ var require_dist12 = __commonJS({
|
|
|
184510
184545
|
}
|
|
184511
184546
|
});
|
|
184512
184547
|
}
|
|
184513
|
-
function
|
|
184548
|
+
function realpathSync5(p8, cache4) {
|
|
184514
184549
|
if (ok2) {
|
|
184515
184550
|
return origRealpathSync(p8, cache4);
|
|
184516
184551
|
}
|
|
@@ -184526,7 +184561,7 @@ var require_dist12 = __commonJS({
|
|
|
184526
184561
|
}
|
|
184527
184562
|
function monkeypatch() {
|
|
184528
184563
|
fs122.realpath = realpath2;
|
|
184529
|
-
fs122.realpathSync =
|
|
184564
|
+
fs122.realpathSync = realpathSync5;
|
|
184530
184565
|
}
|
|
184531
184566
|
function unmonkeypatch() {
|
|
184532
184567
|
fs122.realpath = origRealpath;
|
|
@@ -219379,15 +219414,15 @@ var require_pattern = __commonJS({
|
|
|
219379
219414
|
exports2.removeDuplicateSlashes = removeDuplicateSlashes;
|
|
219380
219415
|
function partitionAbsoluteAndRelative(patterns) {
|
|
219381
219416
|
const absolute = [];
|
|
219382
|
-
const
|
|
219417
|
+
const relative8 = [];
|
|
219383
219418
|
for (const pattern of patterns) {
|
|
219384
219419
|
if (isAbsolute7(pattern)) {
|
|
219385
219420
|
absolute.push(pattern);
|
|
219386
219421
|
} else {
|
|
219387
|
-
|
|
219422
|
+
relative8.push(pattern);
|
|
219388
219423
|
}
|
|
219389
219424
|
}
|
|
219390
|
-
return [absolute,
|
|
219425
|
+
return [absolute, relative8];
|
|
219391
219426
|
}
|
|
219392
219427
|
exports2.partitionAbsoluteAndRelative = partitionAbsoluteAndRelative;
|
|
219393
219428
|
function isAbsolute7(pattern) {
|
|
@@ -223405,7 +223440,7 @@ var require_upload = __commonJS({
|
|
|
223405
223440
|
var import_async_retry5 = __toESM2(require_lib15());
|
|
223406
223441
|
var import_async_sema = require_lib12();
|
|
223407
223442
|
var import_utils68 = require_utils10();
|
|
223408
|
-
var
|
|
223443
|
+
var import_errors51 = require_errors3();
|
|
223409
223444
|
var import_deploy = require_deploy();
|
|
223410
223445
|
var isClientNetworkError = (err) => {
|
|
223411
223446
|
if (!(err instanceof Error)) {
|
|
@@ -223577,11 +223612,11 @@ var require_upload = __commonJS({
|
|
|
223577
223612
|
`An internal error occurred in upload request. Not retrying...`
|
|
223578
223613
|
);
|
|
223579
223614
|
const { error: error3 } = await res.json();
|
|
223580
|
-
err = new
|
|
223615
|
+
err = new import_errors51.DeploymentError(error3);
|
|
223581
223616
|
} else {
|
|
223582
223617
|
debug4(`A server error occurred in upload request. Retrying...`);
|
|
223583
223618
|
const { error: error3 } = await res.json();
|
|
223584
|
-
throw new
|
|
223619
|
+
throw new import_errors51.DeploymentError(error3);
|
|
223585
223620
|
}
|
|
223586
223621
|
} catch (e5) {
|
|
223587
223622
|
debug4(`An unexpected error occurred in upload promise:
|
|
@@ -228897,7 +228932,7 @@ var require_collect_deployment_files = __commonJS({
|
|
|
228897
228932
|
var import_error_utils = require_dist13();
|
|
228898
228933
|
var import_fs_extra = require_lib11();
|
|
228899
228934
|
var import_path35 = require("path");
|
|
228900
|
-
var
|
|
228935
|
+
var import_errors51 = require_errors3();
|
|
228901
228936
|
var import_utils68 = require_utils10();
|
|
228902
228937
|
var import_archive = require_archive();
|
|
228903
228938
|
var import_hashes = require_hashes();
|
|
@@ -228906,7 +228941,7 @@ var require_collect_deployment_files = __commonJS({
|
|
|
228906
228941
|
debug4(
|
|
228907
228942
|
`Error: 'path' is expected to be a string or an array. Received ${typeof path20}`
|
|
228908
228943
|
);
|
|
228909
|
-
throw new
|
|
228944
|
+
throw new import_errors51.DeploymentError({
|
|
228910
228945
|
code: "missing_path",
|
|
228911
228946
|
message: "Path not provided"
|
|
228912
228947
|
});
|
|
@@ -228919,14 +228954,14 @@ var require_collect_deployment_files = __commonJS({
|
|
|
228919
228954
|
if (Array.isArray(path20)) {
|
|
228920
228955
|
for (const filePath of path20) {
|
|
228921
228956
|
if (!(0, import_path35.isAbsolute)(filePath)) {
|
|
228922
|
-
throw new
|
|
228957
|
+
throw new import_errors51.DeploymentError({
|
|
228923
228958
|
code: "invalid_path",
|
|
228924
228959
|
message: `Provided path ${filePath} is not absolute`
|
|
228925
228960
|
});
|
|
228926
228961
|
}
|
|
228927
228962
|
}
|
|
228928
228963
|
} else if (!(0, import_path35.isAbsolute)(path20)) {
|
|
228929
|
-
throw new
|
|
228964
|
+
throw new import_errors51.DeploymentError({
|
|
228930
228965
|
code: "invalid_path",
|
|
228931
228966
|
message: `Provided path ${path20} is not absolute`
|
|
228932
228967
|
});
|
|
@@ -228994,7 +229029,7 @@ var require_create_deployment = __commonJS({
|
|
|
228994
229029
|
var import_deploy = require_deploy();
|
|
228995
229030
|
var import_upload = require_upload();
|
|
228996
229031
|
var import_utils68 = require_utils10();
|
|
228997
|
-
var
|
|
229032
|
+
var import_errors51 = require_errors3();
|
|
228998
229033
|
var import_collect_deployment_files = require_collect_deployment_files();
|
|
228999
229034
|
function buildCreateDeployment() {
|
|
229000
229035
|
return async function* createDeployment2(clientOptions, deploymentOptions = {}) {
|
|
@@ -229006,7 +229041,7 @@ var require_create_deployment = __commonJS({
|
|
|
229006
229041
|
debug4(
|
|
229007
229042
|
`Error: 'token' is expected to be a string. Received ${typeof clientOptions.token}`
|
|
229008
229043
|
);
|
|
229009
|
-
throw new
|
|
229044
|
+
throw new import_errors51.DeploymentError({
|
|
229010
229045
|
code: "token_not_provided",
|
|
229011
229046
|
message: "Options object must include a `token`"
|
|
229012
229047
|
});
|
|
@@ -229014,7 +229049,7 @@ var require_create_deployment = __commonJS({
|
|
|
229014
229049
|
if (clientOptions.manual) {
|
|
229015
229050
|
debug4("Manual provisioning mode enabled");
|
|
229016
229051
|
if (!clientOptions.prebuilt) {
|
|
229017
|
-
throw new
|
|
229052
|
+
throw new import_errors51.DeploymentError({
|
|
229018
229053
|
code: "invalid_options",
|
|
229019
229054
|
message: "The `manual` option requires `prebuilt` to be true"
|
|
229020
229055
|
});
|
|
@@ -229103,7 +229138,7 @@ var require_continue = __commonJS({
|
|
|
229103
229138
|
var import_hashes = require_hashes();
|
|
229104
229139
|
var import_ready_state = require_ready_state();
|
|
229105
229140
|
var import_upload = require_upload();
|
|
229106
|
-
var
|
|
229141
|
+
var import_errors51 = require_errors3();
|
|
229107
229142
|
var import_archive = require_archive();
|
|
229108
229143
|
async function* continueDeployment2(options) {
|
|
229109
229144
|
const debug4 = (0, import_utils68.createDebug)(options.debug);
|
|
@@ -229112,7 +229147,7 @@ var require_continue = __commonJS({
|
|
|
229112
229147
|
if (!await import_fs_extra.default.pathExists(outputDir)) {
|
|
229113
229148
|
return yield {
|
|
229114
229149
|
type: "error",
|
|
229115
|
-
payload: new
|
|
229150
|
+
payload: new import_errors51.DeploymentError({
|
|
229116
229151
|
code: "output_dir_not_found",
|
|
229117
229152
|
message: `Output directory not found at ${outputDir}. Run 'vercel build' first.`
|
|
229118
229153
|
})
|
|
@@ -229211,7 +229246,7 @@ var require_continue = __commonJS({
|
|
|
229211
229246
|
if (!deployment) {
|
|
229212
229247
|
return yield {
|
|
229213
229248
|
type: "error",
|
|
229214
|
-
payload: new
|
|
229249
|
+
payload: new import_errors51.DeploymentError({
|
|
229215
229250
|
code: "continue_failed",
|
|
229216
229251
|
message: "Failed to continue deployment after uploading files"
|
|
229217
229252
|
})
|
|
@@ -229989,11 +230024,12 @@ function applyWorkspaceSelection(config, workspaceDirectory) {
|
|
|
229989
230024
|
);
|
|
229990
230025
|
}
|
|
229991
230026
|
function findConfigFile() {
|
|
229992
|
-
|
|
230027
|
+
const cwd = process.cwd();
|
|
230028
|
+
if (_configPathCache && _configPathCacheCwd === cwd && (0, import_fs27.existsSync)(_configPathCache)) {
|
|
229993
230029
|
return _configPathCache;
|
|
229994
230030
|
}
|
|
229995
230031
|
_configPathCache = void 0;
|
|
229996
|
-
|
|
230032
|
+
_configPathCacheCwd = cwd;
|
|
229997
230033
|
const MAX_DEPTH = 1024;
|
|
229998
230034
|
let depth = 0;
|
|
229999
230035
|
let currentDir = cwd;
|
|
@@ -230371,7 +230407,7 @@ async function expandWorkspaceTargets(targets) {
|
|
|
230371
230407
|
}
|
|
230372
230408
|
return expandedTargets;
|
|
230373
230409
|
}
|
|
230374
|
-
var import_fs27, import_path25, import_git_url_parse, CONFIG_FILE_NAME, DEFAULT_RELEASE_BRANCH_NAME, _configPathCache, _configCache, WORKSPACES_MIN_VERSION, _activeWorkspaceName, WORKSPACE_PLACEHOLDERS, WORKSPACE_PLACEHOLDER_REGEX, AUTO_VERSION_MIN_VERSION, _globalGitHubConfigCache, DEFAULT_CHANGELOG_FILE_PATH;
|
|
230410
|
+
var import_fs27, import_path25, import_git_url_parse, CONFIG_FILE_NAME, DEFAULT_RELEASE_BRANCH_NAME, _configPathCache, _configPathCacheCwd, _configCache, WORKSPACES_MIN_VERSION, _activeWorkspaceName, WORKSPACE_PLACEHOLDERS, WORKSPACE_PLACEHOLDER_REGEX, AUTO_VERSION_MIN_VERSION, _globalGitHubConfigCache, DEFAULT_CHANGELOG_FILE_PATH;
|
|
230375
230411
|
var init_config2 = __esm({
|
|
230376
230412
|
"src/config.ts"() {
|
|
230377
230413
|
"use strict";
|
|
@@ -230415,7 +230451,7 @@ var require_package7 = __commonJS({
|
|
|
230415
230451
|
"package.json"(exports2, module2) {
|
|
230416
230452
|
module2.exports = {
|
|
230417
230453
|
name: "@sentry/craft",
|
|
230418
|
-
version: "3.7.
|
|
230454
|
+
version: "3.7.1",
|
|
230419
230455
|
description: "The universal sentry workflow CLI",
|
|
230420
230456
|
main: "dist/craft",
|
|
230421
230457
|
repository: "https://github.com/getsentry/craft",
|
|
@@ -230622,7 +230658,7 @@ function getPackage() {
|
|
|
230622
230658
|
}
|
|
230623
230659
|
function getPackageVersion3() {
|
|
230624
230660
|
const { version: version2 } = getPackage();
|
|
230625
|
-
const buildInfo = "
|
|
230661
|
+
const buildInfo = "d725f285bc864ea8aeb300f189a8680cde6aa22a";
|
|
230626
230662
|
return buildInfo ? `${version2} (${buildInfo})` : version2;
|
|
230627
230663
|
}
|
|
230628
230664
|
function semVerToString(s8) {
|