sst 2.0.37 → 2.0.39

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/sst.mjs CHANGED
@@ -506,21 +506,21 @@ function getProjectIdByGit() {
506
506
  return null;
507
507
  }
508
508
  }
509
- function normalizeGitUrl(url9) {
510
- url9 = url9.trim();
511
- url9 = url9.endsWith(".git") ? url9.substring(0, url9.length - 4) : url9;
512
- if (url9.startsWith("git@")) {
513
- const match = url9.match(/git@([^:]+):(.*)/);
509
+ function normalizeGitUrl(url10) {
510
+ url10 = url10.trim();
511
+ url10 = url10.endsWith(".git") ? url10.substring(0, url10.length - 4) : url10;
512
+ if (url10.startsWith("git@")) {
513
+ const match = url10.match(/git@([^:]+):(.*)/);
514
514
  if (match && match.length > 2) {
515
515
  return `${match[1]}/${match[2]}`;
516
516
  }
517
- } else if (url9.startsWith("http://") || url9.startsWith("https://")) {
518
- const match = url9.match(/https?:\/\/([^@]+@)?(.*)/);
517
+ } else if (url10.startsWith("http://") || url10.startsWith("https://")) {
518
+ const match = url10.match(/https?:\/\/([^@]+@)?(.*)/);
519
519
  if (match && match.length > 2) {
520
520
  return match[2];
521
521
  }
522
522
  }
523
- return url9;
523
+ return url10;
524
524
  }
525
525
  function getRawProjectId() {
526
526
  const gitUrl = getProjectIdByGit();
@@ -1266,57 +1266,85 @@ var init_tslib_es6 = __esm({
1266
1266
  }
1267
1267
  });
1268
1268
 
1269
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/abort.js
1269
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/abort.js
1270
1270
  var require_abort = __commonJS({
1271
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/abort.js"(exports) {
1271
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/abort.js"(exports) {
1272
1272
  "use strict";
1273
1273
  Object.defineProperty(exports, "__esModule", { value: true });
1274
1274
  }
1275
1275
  });
1276
1276
 
1277
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/auth.js
1277
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/auth.js
1278
1278
  var require_auth = __commonJS({
1279
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/auth.js"(exports) {
1279
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/auth.js"(exports) {
1280
1280
  "use strict";
1281
1281
  Object.defineProperty(exports, "__esModule", { value: true });
1282
+ exports.HttpAuthLocation = void 0;
1283
+ var HttpAuthLocation;
1284
+ (function(HttpAuthLocation2) {
1285
+ HttpAuthLocation2["HEADER"] = "header";
1286
+ HttpAuthLocation2["QUERY"] = "query";
1287
+ })(HttpAuthLocation = exports.HttpAuthLocation || (exports.HttpAuthLocation = {}));
1282
1288
  }
1283
1289
  });
1284
1290
 
1285
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/client.js
1291
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/checksum.js
1292
+ var require_checksum = __commonJS({
1293
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/checksum.js"(exports) {
1294
+ "use strict";
1295
+ Object.defineProperty(exports, "__esModule", { value: true });
1296
+ }
1297
+ });
1298
+
1299
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/client.js
1286
1300
  var require_client = __commonJS({
1287
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/client.js"(exports) {
1301
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/client.js"(exports) {
1288
1302
  "use strict";
1289
1303
  Object.defineProperty(exports, "__esModule", { value: true });
1290
1304
  }
1291
1305
  });
1292
1306
 
1293
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/command.js
1307
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/command.js
1294
1308
  var require_command = __commonJS({
1295
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/command.js"(exports) {
1309
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/command.js"(exports) {
1296
1310
  "use strict";
1297
1311
  Object.defineProperty(exports, "__esModule", { value: true });
1298
1312
  }
1299
1313
  });
1300
1314
 
1301
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/credentials.js
1315
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/credentials.js
1302
1316
  var require_credentials = __commonJS({
1303
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/credentials.js"(exports) {
1317
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/credentials.js"(exports) {
1304
1318
  "use strict";
1305
1319
  Object.defineProperty(exports, "__esModule", { value: true });
1306
1320
  }
1307
1321
  });
1308
1322
 
1309
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/crypto.js
1323
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/crypto.js
1310
1324
  var require_crypto = __commonJS({
1311
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/crypto.js"(exports) {
1325
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/crypto.js"(exports) {
1326
+ "use strict";
1327
+ Object.defineProperty(exports, "__esModule", { value: true });
1328
+ }
1329
+ });
1330
+
1331
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/dns.js
1332
+ var require_dns = __commonJS({
1333
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/dns.js"(exports) {
1312
1334
  "use strict";
1313
1335
  Object.defineProperty(exports, "__esModule", { value: true });
1336
+ exports.HostAddressType = void 0;
1337
+ var HostAddressType;
1338
+ (function(HostAddressType2) {
1339
+ HostAddressType2["AAAA"] = "AAAA";
1340
+ HostAddressType2["A"] = "A";
1341
+ })(HostAddressType = exports.HostAddressType || (exports.HostAddressType = {}));
1314
1342
  }
1315
1343
  });
1316
1344
 
1317
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/endpoint.js
1345
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/endpoint.js
1318
1346
  var require_endpoint = __commonJS({
1319
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/endpoint.js"(exports) {
1347
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/endpoint.js"(exports) {
1320
1348
  "use strict";
1321
1349
  Object.defineProperty(exports, "__esModule", { value: true });
1322
1350
  exports.EndpointURLScheme = void 0;
@@ -1328,146 +1356,221 @@ var require_endpoint = __commonJS({
1328
1356
  }
1329
1357
  });
1330
1358
 
1331
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/eventStream.js
1359
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/eventStream.js
1332
1360
  var require_eventStream = __commonJS({
1333
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/eventStream.js"(exports) {
1361
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/eventStream.js"(exports) {
1334
1362
  "use strict";
1335
1363
  Object.defineProperty(exports, "__esModule", { value: true });
1336
1364
  }
1337
1365
  });
1338
1366
 
1339
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/http.js
1367
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/http.js
1340
1368
  var require_http = __commonJS({
1341
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/http.js"(exports) {
1369
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/http.js"(exports) {
1370
+ "use strict";
1371
+ Object.defineProperty(exports, "__esModule", { value: true });
1372
+ }
1373
+ });
1374
+
1375
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js
1376
+ var require_AnonymousIdentity = __commonJS({
1377
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/AnonymousIdentity.js"(exports) {
1378
+ "use strict";
1379
+ Object.defineProperty(exports, "__esModule", { value: true });
1380
+ }
1381
+ });
1382
+
1383
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js
1384
+ var require_AwsCredentialIdentity = __commonJS({
1385
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/AwsCredentialIdentity.js"(exports) {
1386
+ "use strict";
1387
+ Object.defineProperty(exports, "__esModule", { value: true });
1388
+ }
1389
+ });
1390
+
1391
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js
1392
+ var require_Identity = __commonJS({
1393
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js"(exports) {
1342
1394
  "use strict";
1343
1395
  Object.defineProperty(exports, "__esModule", { value: true });
1344
1396
  }
1345
1397
  });
1346
1398
 
1347
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/logger.js
1399
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js
1400
+ var require_LoginIdentity = __commonJS({
1401
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/LoginIdentity.js"(exports) {
1402
+ "use strict";
1403
+ Object.defineProperty(exports, "__esModule", { value: true });
1404
+ }
1405
+ });
1406
+
1407
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js
1408
+ var require_TokenIdentity = __commonJS({
1409
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/TokenIdentity.js"(exports) {
1410
+ "use strict";
1411
+ Object.defineProperty(exports, "__esModule", { value: true });
1412
+ }
1413
+ });
1414
+
1415
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/index.js
1416
+ var require_identity = __commonJS({
1417
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/identity/index.js"(exports) {
1418
+ "use strict";
1419
+ Object.defineProperty(exports, "__esModule", { value: true });
1420
+ var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1421
+ tslib_1.__exportStar(require_AnonymousIdentity(), exports);
1422
+ tslib_1.__exportStar(require_AwsCredentialIdentity(), exports);
1423
+ tslib_1.__exportStar(require_Identity(), exports);
1424
+ tslib_1.__exportStar(require_LoginIdentity(), exports);
1425
+ tslib_1.__exportStar(require_TokenIdentity(), exports);
1426
+ }
1427
+ });
1428
+
1429
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/logger.js
1348
1430
  var require_logger = __commonJS({
1349
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/logger.js"(exports) {
1431
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/logger.js"(exports) {
1350
1432
  "use strict";
1351
1433
  Object.defineProperty(exports, "__esModule", { value: true });
1352
1434
  }
1353
1435
  });
1354
1436
 
1355
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/middleware.js
1437
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/middleware.js
1356
1438
  var require_middleware = __commonJS({
1357
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/middleware.js"(exports) {
1439
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/middleware.js"(exports) {
1358
1440
  "use strict";
1359
1441
  Object.defineProperty(exports, "__esModule", { value: true });
1360
1442
  }
1361
1443
  });
1362
1444
 
1363
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/pagination.js
1445
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/pagination.js
1364
1446
  var require_pagination = __commonJS({
1365
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/pagination.js"(exports) {
1447
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/pagination.js"(exports) {
1366
1448
  "use strict";
1367
1449
  Object.defineProperty(exports, "__esModule", { value: true });
1368
1450
  }
1369
1451
  });
1370
1452
 
1371
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/profile.js
1453
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/profile.js
1372
1454
  var require_profile = __commonJS({
1373
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/profile.js"(exports) {
1455
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/profile.js"(exports) {
1374
1456
  "use strict";
1375
1457
  Object.defineProperty(exports, "__esModule", { value: true });
1376
1458
  }
1377
1459
  });
1378
1460
 
1379
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/response.js
1461
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/request.js
1462
+ var require_request = __commonJS({
1463
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/request.js"(exports) {
1464
+ "use strict";
1465
+ Object.defineProperty(exports, "__esModule", { value: true });
1466
+ }
1467
+ });
1468
+
1469
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/response.js
1380
1470
  var require_response = __commonJS({
1381
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/response.js"(exports) {
1471
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/response.js"(exports) {
1382
1472
  "use strict";
1383
1473
  Object.defineProperty(exports, "__esModule", { value: true });
1384
1474
  }
1385
1475
  });
1386
1476
 
1387
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/serde.js
1477
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/retry.js
1478
+ var require_retry = __commonJS({
1479
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/retry.js"(exports) {
1480
+ "use strict";
1481
+ Object.defineProperty(exports, "__esModule", { value: true });
1482
+ }
1483
+ });
1484
+
1485
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/serde.js
1388
1486
  var require_serde = __commonJS({
1389
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/serde.js"(exports) {
1487
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/serde.js"(exports) {
1390
1488
  "use strict";
1391
1489
  Object.defineProperty(exports, "__esModule", { value: true });
1392
1490
  }
1393
1491
  });
1394
1492
 
1395
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/shapes.js
1493
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/shapes.js
1396
1494
  var require_shapes = __commonJS({
1397
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/shapes.js"(exports) {
1495
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/shapes.js"(exports) {
1398
1496
  "use strict";
1399
1497
  Object.defineProperty(exports, "__esModule", { value: true });
1400
1498
  }
1401
1499
  });
1402
1500
 
1403
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/signature.js
1501
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/signature.js
1404
1502
  var require_signature = __commonJS({
1405
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/signature.js"(exports) {
1503
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/signature.js"(exports) {
1406
1504
  "use strict";
1407
1505
  Object.defineProperty(exports, "__esModule", { value: true });
1408
1506
  }
1409
1507
  });
1410
1508
 
1411
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/stream.js
1509
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/stream.js
1412
1510
  var require_stream = __commonJS({
1413
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/stream.js"(exports) {
1511
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/stream.js"(exports) {
1414
1512
  "use strict";
1415
1513
  Object.defineProperty(exports, "__esModule", { value: true });
1416
1514
  }
1417
1515
  });
1418
1516
 
1419
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/token.js
1517
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/token.js
1420
1518
  var require_token = __commonJS({
1421
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/token.js"(exports) {
1519
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/token.js"(exports) {
1422
1520
  "use strict";
1423
1521
  Object.defineProperty(exports, "__esModule", { value: true });
1424
1522
  }
1425
1523
  });
1426
1524
 
1427
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/transfer.js
1525
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/transfer.js
1428
1526
  var require_transfer = __commonJS({
1429
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/transfer.js"(exports) {
1527
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/transfer.js"(exports) {
1430
1528
  "use strict";
1431
1529
  Object.defineProperty(exports, "__esModule", { value: true });
1432
1530
  }
1433
1531
  });
1434
1532
 
1435
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/util.js
1533
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/util.js
1436
1534
  var require_util = __commonJS({
1437
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/util.js"(exports) {
1535
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/util.js"(exports) {
1438
1536
  "use strict";
1439
1537
  Object.defineProperty(exports, "__esModule", { value: true });
1440
1538
  }
1441
1539
  });
1442
1540
 
1443
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/waiter.js
1541
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/waiter.js
1444
1542
  var require_waiter = __commonJS({
1445
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/waiter.js"(exports) {
1543
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/waiter.js"(exports) {
1446
1544
  "use strict";
1447
1545
  Object.defineProperty(exports, "__esModule", { value: true });
1448
1546
  }
1449
1547
  });
1450
1548
 
1451
- // ../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/index.js
1549
+ // ../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/index.js
1452
1550
  var require_dist_cjs = __commonJS({
1453
- "../../node_modules/.pnpm/@aws-sdk+types@3.208.0/node_modules/@aws-sdk/types/dist-cjs/index.js"(exports) {
1551
+ "../../node_modules/.pnpm/@aws-sdk+types@3.272.0/node_modules/@aws-sdk/types/dist-cjs/index.js"(exports) {
1454
1552
  "use strict";
1455
1553
  Object.defineProperty(exports, "__esModule", { value: true });
1456
1554
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
1457
1555
  tslib_1.__exportStar(require_abort(), exports);
1458
1556
  tslib_1.__exportStar(require_auth(), exports);
1557
+ tslib_1.__exportStar(require_checksum(), exports);
1459
1558
  tslib_1.__exportStar(require_client(), exports);
1460
1559
  tslib_1.__exportStar(require_command(), exports);
1461
1560
  tslib_1.__exportStar(require_credentials(), exports);
1462
1561
  tslib_1.__exportStar(require_crypto(), exports);
1562
+ tslib_1.__exportStar(require_dns(), exports);
1463
1563
  tslib_1.__exportStar(require_endpoint(), exports);
1464
1564
  tslib_1.__exportStar(require_eventStream(), exports);
1465
1565
  tslib_1.__exportStar(require_http(), exports);
1566
+ tslib_1.__exportStar(require_identity(), exports);
1466
1567
  tslib_1.__exportStar(require_logger(), exports);
1467
1568
  tslib_1.__exportStar(require_middleware(), exports);
1468
1569
  tslib_1.__exportStar(require_pagination(), exports);
1469
1570
  tslib_1.__exportStar(require_profile(), exports);
1571
+ tslib_1.__exportStar(require_request(), exports);
1470
1572
  tslib_1.__exportStar(require_response(), exports);
1573
+ tslib_1.__exportStar(require_retry(), exports);
1471
1574
  tslib_1.__exportStar(require_serde(), exports);
1472
1575
  tslib_1.__exportStar(require_shapes(), exports);
1473
1576
  tslib_1.__exportStar(require_signature(), exports);
@@ -1592,7 +1695,7 @@ var init_credentials = __esm({
1592
1695
  Logger.debug("Loading v2 AWS SDK");
1593
1696
  const project = useProject();
1594
1697
  const creds = await useAWSCredentials();
1595
- const chain = new CredentialProviderChain([
1698
+ const chain2 = new CredentialProviderChain([
1596
1699
  () => ({
1597
1700
  ...creds,
1598
1701
  get(cb) {
@@ -1615,7 +1718,7 @@ var init_credentials = __esm({
1615
1718
  secretAccessKey: creds.secretAccessKey
1616
1719
  })
1617
1720
  ]);
1618
- const provider = new SdkProvider(chain, project.config.region, {
1721
+ const provider = new SdkProvider(chain2, project.config.region, {
1619
1722
  maxRetries: 1e4,
1620
1723
  region: project.config.region
1621
1724
  });
@@ -3443,21 +3546,21 @@ function compareTags(a, b) {
3443
3546
  }
3444
3547
  return true;
3445
3548
  }
3446
- function restUrlFromManifest(url9, environment, sdk) {
3549
+ function restUrlFromManifest(url10, environment, sdk) {
3447
3550
  const doNotUseMarker = "**DONOTUSE**";
3448
- url9 = cxapi.EnvironmentPlaceholders.replace(url9, {
3551
+ url10 = cxapi.EnvironmentPlaceholders.replace(url10, {
3449
3552
  accountId: environment.account,
3450
3553
  region: environment.region,
3451
3554
  partition: doNotUseMarker
3452
3555
  });
3453
- if (url9.indexOf(doNotUseMarker) > -1) {
3556
+ if (url10.indexOf(doNotUseMarker) > -1) {
3454
3557
  throw new Error(
3455
3558
  "Cannot use '${AWS::Partition}' in the 'stackTemplateAssetObjectUrl' field"
3456
3559
  );
3457
3560
  }
3458
- const s3Url = url9.match(/s3:\/\/([^/]+)\/(.*)$/);
3561
+ const s3Url = url10.match(/s3:\/\/([^/]+)\/(.*)$/);
3459
3562
  if (!s3Url) {
3460
- return url9;
3563
+ return url10;
3461
3564
  }
3462
3565
  const bucketName = s3Url[1];
3463
3566
  const objectKey = s3Url[2];
@@ -5183,18 +5286,100 @@ var init_rust = __esm({
5183
5286
  }
5184
5287
  });
5185
5288
 
5289
+ // src/runtime/handlers/pythonBundling.ts
5290
+ import fs13 from "fs";
5291
+ import url6 from "url";
5292
+ import path13 from "path";
5293
+ import {
5294
+ AssetStaging,
5295
+ DockerImage,
5296
+ FileSystem
5297
+ } from "aws-cdk-lib";
5298
+ function bundle(options) {
5299
+ const { entry, runtime, outputPathSuffix, installCommands } = options;
5300
+ const stagedir = FileSystem.mkdtemp("python-bundling-");
5301
+ const hasDeps = stageDependencies(entry, stagedir);
5302
+ const hasInstallCommands = stageInstallCommands(
5303
+ installCommands || [],
5304
+ stagedir
5305
+ );
5306
+ const depsCommand = chain([
5307
+ hasDeps || hasInstallCommands ? `rsync -r ${BUNDLER_DEPENDENCIES_CACHE}/. ${AssetStaging.BUNDLING_OUTPUT_DIR}/${outputPathSuffix}` : "",
5308
+ `rsync -r . ${AssetStaging.BUNDLING_OUTPUT_DIR}/${outputPathSuffix}`
5309
+ ]);
5310
+ console.log("Commands", depsCommand);
5311
+ const dockerfile = hasInstallCommands ? "Dockerfile.custom" : hasDeps ? "Dockerfile.dependencies" : "Dockerfile";
5312
+ fs13.copyFileSync(
5313
+ path13.join(__dirname2, "../../support/python-runtime", dockerfile),
5314
+ path13.join(stagedir, dockerfile)
5315
+ );
5316
+ const image = DockerImage.fromBuild(stagedir, {
5317
+ buildArgs: {
5318
+ IMAGE: runtime.bundlingImage.image
5319
+ },
5320
+ file: dockerfile
5321
+ });
5322
+ image.run({
5323
+ command: ["bash", "-c", depsCommand],
5324
+ workingDirectory: AssetStaging.BUNDLING_INPUT_DIR,
5325
+ volumes: [
5326
+ {
5327
+ hostPath: entry,
5328
+ containerPath: AssetStaging.BUNDLING_INPUT_DIR
5329
+ },
5330
+ {
5331
+ hostPath: options.out,
5332
+ containerPath: AssetStaging.BUNDLING_OUTPUT_DIR
5333
+ }
5334
+ ]
5335
+ });
5336
+ }
5337
+ function stageDependencies(entry, stagedir) {
5338
+ const prefixes = ["Pipfile", "pyproject", "poetry", "requirements.txt"];
5339
+ let found = false;
5340
+ for (const file of fs13.readdirSync(entry)) {
5341
+ for (const prefix of prefixes) {
5342
+ if (file.startsWith(prefix)) {
5343
+ fs13.copyFileSync(path13.join(entry, file), path13.join(stagedir, file));
5344
+ found = true;
5345
+ }
5346
+ }
5347
+ }
5348
+ return found;
5349
+ }
5350
+ function stageInstallCommands(installCommands, stagedir) {
5351
+ let found = false;
5352
+ if (installCommands.length > 0) {
5353
+ const filePath = path13.join(stagedir, "sst-deps-install-command.sh");
5354
+ fs13.writeFileSync(filePath, installCommands.join(" && "));
5355
+ fs13.chmodSync(filePath, "755");
5356
+ found = true;
5357
+ }
5358
+ return found;
5359
+ }
5360
+ function chain(commands) {
5361
+ return commands.filter((c) => !!c).join(" && ");
5362
+ }
5363
+ var __dirname2, BUNDLER_DEPENDENCIES_CACHE;
5364
+ var init_pythonBundling = __esm({
5365
+ "src/runtime/handlers/pythonBundling.ts"() {
5366
+ "use strict";
5367
+ __dirname2 = path13.dirname(url6.fileURLToPath(import.meta.url));
5368
+ BUNDLER_DEPENDENCIES_CACHE = "/var/dependencies";
5369
+ }
5370
+ });
5371
+
5186
5372
  // src/runtime/handlers/python.ts
5187
5373
  var python_exports = {};
5188
5374
  __export(python_exports, {
5189
5375
  usePythonHandler: () => usePythonHandler
5190
5376
  });
5191
- import path13 from "path";
5377
+ import path14 from "path";
5192
5378
  import { exec as exec5, spawn as spawn5 } from "child_process";
5193
5379
  import { promisify as promisify4 } from "util";
5194
5380
  import { Runtime as Runtime2 } from "aws-cdk-lib/aws-lambda";
5195
- import fs13 from "fs/promises";
5196
5381
  import os3 from "os";
5197
- import url6 from "url";
5382
+ import url7 from "url";
5198
5383
  var execAsync4, RUNTIME_MAP, usePythonHandler;
5199
5384
  var init_python = __esm({
5200
5385
  "src/runtime/handlers/python.ts"() {
@@ -5204,6 +5389,7 @@ var init_python = __esm({
5204
5389
  init_context();
5205
5390
  init_server2();
5206
5391
  init_fs();
5392
+ init_pythonBundling();
5207
5393
  execAsync4 = promisify4(exec5);
5208
5394
  RUNTIME_MAP = {
5209
5395
  "python2.7": Runtime2.PYTHON_2_7,
@@ -5238,13 +5424,13 @@ var init_python = __esm({
5238
5424
  const src = await findSrc(input.handler);
5239
5425
  if (!src)
5240
5426
  throw new Error(`Could not find src for ${input.handler}`);
5241
- const parsed = path13.parse(path13.relative(src, input.handler));
5242
- const target = [...parsed.dir.split(path13.sep), parsed.name].join(".");
5427
+ const parsed = path14.parse(path14.relative(src, input.handler));
5428
+ const target = [...parsed.dir.split(path14.sep), parsed.name].join(".");
5243
5429
  const proc = spawn5(
5244
5430
  os3.platform() === "win32" ? "python.exe" : "python3",
5245
5431
  [
5246
5432
  "-u",
5247
- url6.fileURLToPath(
5433
+ url7.fileURLToPath(
5248
5434
  new URL("../../support/python-runtime/runtime.py", import.meta.url)
5249
5435
  ),
5250
5436
  target,
@@ -5291,40 +5477,17 @@ var init_python = __esm({
5291
5477
  type: "error",
5292
5478
  errors: [`Could not find src for ${input.props.handler}`]
5293
5479
  };
5294
- await fs13.cp(src, input.out, {
5295
- recursive: true,
5296
- filter: (src2) => !src2.includes(".sst")
5480
+ bundle({
5481
+ installCommands: input.props.python?.installCommands,
5482
+ entry: src,
5483
+ runtime: RUNTIME_MAP[input.props.runtime],
5484
+ outputPathSuffix: ".",
5485
+ out: input.out
5297
5486
  });
5298
- if (await existsAsync(path13.join(src, "Pipfile"))) {
5299
- await execAsync4("pipenv requirements > requirements.txt", {
5300
- cwd: input.out
5301
- });
5302
- }
5303
- if (await existsAsync(path13.join(src, "poetry.lock"))) {
5304
- await execAsync4(
5305
- "poetry export --with-credentials --format requirements.txt --output requirements.txt",
5306
- {
5307
- cwd: input.out
5308
- }
5309
- );
5310
- }
5311
- if (await existsAsync(path13.join(src, "requirements.txt"))) {
5312
- await execAsync4("pip install -r requirements.txt", {
5313
- cwd: input.out
5314
- });
5315
- }
5316
- if (input.props.python?.installCommands) {
5317
- for (const cmd of input.props.python.installCommands) {
5318
- await execAsync4(cmd, {
5319
- cwd: input.out
5320
- });
5321
- }
5322
- }
5323
- const result = {
5487
+ return {
5324
5488
  type: "success",
5325
- handler: path13.relative(src, path13.resolve(input.props.handler))
5489
+ handler: path14.relative(src, path14.resolve(input.props.handler))
5326
5490
  };
5327
- return result;
5328
5491
  }
5329
5492
  });
5330
5493
  });
@@ -5336,14 +5499,14 @@ var java_exports = {};
5336
5499
  __export(java_exports, {
5337
5500
  useJavaHandler: () => useJavaHandler
5338
5501
  });
5339
- import path14 from "path";
5502
+ import path15 from "path";
5340
5503
  import fs14 from "fs/promises";
5341
5504
  import os4 from "os";
5342
5505
  import zipLocal from "zip-local";
5343
5506
  import { spawn as spawn6 } from "child_process";
5344
- import url7 from "url";
5507
+ import url8 from "url";
5345
5508
  async function getGradleBinary(srcPath) {
5346
- const gradleWrapperPath = path14.resolve(path14.join(srcPath, "gradlew"));
5509
+ const gradleWrapperPath = path15.resolve(path15.join(srcPath, "gradlew"));
5347
5510
  return await existsAsync(gradleWrapperPath) ? gradleWrapperPath : "gradle";
5348
5511
  }
5349
5512
  var useJavaHandler;
@@ -5380,7 +5543,7 @@ var init_java = __esm({
5380
5543
  [
5381
5544
  `-cp`,
5382
5545
  [
5383
- url7.fileURLToPath(
5546
+ url8.fileURLToPath(
5384
5547
  new URL("../../support/java-runtime/release/*", import.meta.url)
5385
5548
  )
5386
5549
  ].join(os4.platform() === "win32" ? ";" : ":"),
@@ -5427,11 +5590,11 @@ var init_java = __esm({
5427
5590
  cwd: srcPath
5428
5591
  }
5429
5592
  );
5430
- const buildOutput = path14.join(srcPath, "build", outputDir);
5593
+ const buildOutput = path15.join(srcPath, "build", outputDir);
5431
5594
  const zip = (await fs14.readdir(buildOutput)).find(
5432
5595
  (f) => f.endsWith(".zip")
5433
5596
  );
5434
- zipLocal.sync.unzip(path14.join(buildOutput, zip)).save(input.out);
5597
+ zipLocal.sync.unzip(path15.join(buildOutput, zip)).save(input.out);
5435
5598
  return {
5436
5599
  type: "success",
5437
5600
  handler: input.props.handler
@@ -5450,7 +5613,7 @@ var init_java = __esm({
5450
5613
 
5451
5614
  // src/stacks/synth.ts
5452
5615
  import * as contextproviders from "aws-cdk/lib/context-providers/index.js";
5453
- import path15 from "path";
5616
+ import path16 from "path";
5454
5617
  async function synth(opts) {
5455
5618
  Logger.debug("Synthesizing stacks...");
5456
5619
  const { App: App2 } = await import("../src/constructs/App.js");
@@ -5470,7 +5633,7 @@ async function synth(opts) {
5470
5633
  const identity = await useSTSIdentity();
5471
5634
  opts = {
5472
5635
  ...opts,
5473
- buildDir: opts.buildDir || path15.join(project.paths.out, "dist")
5636
+ buildDir: opts.buildDir || path16.join(project.paths.out, "dist")
5474
5637
  };
5475
5638
  const cfg = new Configuration();
5476
5639
  await cfg.load();
@@ -5845,14 +6008,14 @@ import babel from "@babel/core";
5845
6008
  import generator from "@babel/generator";
5846
6009
  import esbuild3 from "esbuild";
5847
6010
  import fs15 from "fs/promises";
5848
- import path16 from "path";
5849
- import url8 from "url";
6011
+ import path17 from "path";
6012
+ import url9 from "url";
5850
6013
  async function generate(opts) {
5851
6014
  const { printSchema, lexicographicSortSchema } = await import("graphql");
5852
6015
  const contents = await extractSchema(opts);
5853
- const out = path16.join(path16.dirname(opts.schema), "out.mjs");
6016
+ const out = path17.join(path17.dirname(opts.schema), "out.mjs");
5854
6017
  await fs15.writeFile(out, contents, "utf8");
5855
- const { schema } = await import(url8.pathToFileURL(out).href + "?bust=" + Date.now());
6018
+ const { schema } = await import(url9.pathToFileURL(out).href + "?bust=" + Date.now());
5856
6019
  await fs15.rm(out);
5857
6020
  const schemaAsString = printSchema(lexicographicSortSchema(schema));
5858
6021
  return schemaAsString;
@@ -5888,15 +6051,15 @@ async function extractSchema(opts) {
5888
6051
  {
5889
6052
  name: "pothos-extractor",
5890
6053
  visitor: {
5891
- Program(path19) {
5892
- const dummyResolverId = path19.scope.generateUidIdentifier("DUMMY_RESOLVER");
6054
+ Program(path20) {
6055
+ const dummyResolverId = path20.scope.generateUidIdentifier("DUMMY_RESOLVER");
5893
6056
  const resolverNode = dummyResolver({
5894
6057
  dummy_resolver: dummyResolverId
5895
6058
  });
5896
- path19.unshiftContainer("body", resolverNode);
5897
- path19.scope.crawl();
6059
+ path20.unshiftContainer("body", resolverNode);
6060
+ path20.scope.crawl();
5898
6061
  let schemaBuilder = null;
5899
- path19.traverse({
6062
+ path20.traverse({
5900
6063
  ImportDeclaration(declarator) {
5901
6064
  if (!declarator)
5902
6065
  return;
@@ -5954,17 +6117,17 @@ async function extractSchema(opts) {
5954
6117
  );
5955
6118
  return contents.code;
5956
6119
  }
5957
- function getBindings(path19, globalPaths) {
6120
+ function getBindings(path20, globalPaths) {
5958
6121
  const bindings = [];
5959
- path19.traverse({
6122
+ path20.traverse({
5960
6123
  Expression(expressionPath) {
5961
6124
  if (!expressionPath.isIdentifier())
5962
6125
  return;
5963
- const binding = path19.scope.getBinding(expressionPath);
6126
+ const binding = path20.scope.getBinding(expressionPath);
5964
6127
  if (!binding || globalPaths.has(binding.path) || bindings.includes(binding.path))
5965
6128
  return;
5966
6129
  const rootBinding = findRootBinding(binding.path);
5967
- if (path19 === rootBinding) {
6130
+ if (path20 === rootBinding) {
5968
6131
  bindings.push(binding.path);
5969
6132
  return;
5970
6133
  }
@@ -5977,8 +6140,8 @@ function getBindings(path19, globalPaths) {
5977
6140
  }
5978
6141
  return bindings;
5979
6142
  }
5980
- function findRootBinding(path19) {
5981
- let rootPath = path19;
6143
+ function findRootBinding(path20) {
6144
+ let rootPath = path20;
5982
6145
  while (rootPath.parentPath?.node !== void 0 && !rootPath.parentPath?.isProgram()) {
5983
6146
  rootPath = rootPath.parentPath;
5984
6147
  }
@@ -6004,7 +6167,7 @@ __export(pothos_exports2, {
6004
6167
  import fs16 from "fs/promises";
6005
6168
  import { exec as exec6 } from "child_process";
6006
6169
  import { promisify as promisify5 } from "util";
6007
- import path17 from "path";
6170
+ import path18 from "path";
6008
6171
  var execAsync5, usePothosBuilder;
6009
6172
  var init_pothos2 = __esm({
6010
6173
  "src/cli/commands/plugins/pothos.ts"() {
@@ -6038,9 +6201,9 @@ var init_pothos2 = __esm({
6038
6201
  if (evt.properties.file.endsWith("out.mjs"))
6039
6202
  return;
6040
6203
  for (const route of routes) {
6041
- const dir = path17.dirname(route.schema);
6042
- const relative = path17.relative(dir, evt.properties.file);
6043
- if (relative && !relative.startsWith("..") && !path17.isAbsolute(relative))
6204
+ const dir = path18.dirname(route.schema);
6205
+ const relative = path18.relative(dir, evt.properties.file);
6206
+ if (relative && !relative.startsWith("..") && !path18.isAbsolute(relative))
6044
6207
  build2(route);
6045
6208
  }
6046
6209
  });
@@ -6156,7 +6319,7 @@ var init_kysely = __esm({
6156
6319
  defaultDatabaseName: c.data.defaultDatabaseName,
6157
6320
  secretArn: c.data.secretArn
6158
6321
  }));
6159
- databases.map((db) => generate2(db));
6322
+ databases.map((db) => generate2(db).catch());
6160
6323
  });
6161
6324
  bus.subscribe("function.success", async (evt) => {
6162
6325
  if (!evt.properties.body?.results)
@@ -6556,7 +6719,7 @@ var dev = (program2) => program2.command(
6556
6719
  const { Colors: Colors2 } = await Promise.resolve().then(() => (init_colors(), colors_exports));
6557
6720
  const { printHeader: printHeader2 } = await Promise.resolve().then(() => (init_header(), header_exports));
6558
6721
  const { mapValues, omitBy: omitBy2, pipe: pipe3 } = await import("remeda");
6559
- const path19 = await import("path");
6722
+ const path20 = await import("path");
6560
6723
  const { useRuntimeWorkers: useRuntimeWorkers2 } = await Promise.resolve().then(() => (init_workers(), workers_exports));
6561
6724
  const { useIOTBridge: useIOTBridge2 } = await Promise.resolve().then(() => (init_iot2(), iot_exports));
6562
6725
  const { useRuntimeServer: useRuntimeServer2 } = await Promise.resolve().then(() => (init_server2(), server_exports2));
@@ -6759,7 +6922,7 @@ var dev = (program2) => program2.command(
6759
6922
  }
6760
6923
  await SiteEnv.writeValues(result);
6761
6924
  fs19.writeFile(
6762
- path19.join(project.paths.out, "outputs.json"),
6925
+ path20.join(project.paths.out, "outputs.json"),
6763
6926
  JSON.stringify(
6764
6927
  pipe3(
6765
6928
  results,
@@ -6775,7 +6938,7 @@ var dev = (program2) => program2.command(
6775
6938
  build2();
6776
6939
  }
6777
6940
  async function checksum(cdkOutPath) {
6778
- const manifestPath = path19.join(cdkOutPath, "manifest.json");
6941
+ const manifestPath = path20.join(cdkOutPath, "manifest.json");
6779
6942
  const cdkManifest = JSON.parse(
6780
6943
  await fs19.readFile(manifestPath).then((x) => x.toString())
6781
6944
  );
@@ -6784,7 +6947,7 @@ var dev = (program2) => program2.command(
6784
6947
  (key) => cdkManifest.artifacts[key].type === "aws:cloudformation:stack"
6785
6948
  ).map(async (key) => {
6786
6949
  const { templateFile } = cdkManifest.artifacts[key].properties;
6787
- const templatePath = path19.join(cdkOutPath, templateFile);
6950
+ const templatePath = path20.join(cdkOutPath, templateFile);
6788
6951
  const templateContent = await fs19.readFile(templatePath);
6789
6952
  return templateContent;
6790
6953
  })
@@ -6795,7 +6958,7 @@ var dev = (program2) => program2.command(
6795
6958
  watcher.subscribe("file.changed", async (evt) => {
6796
6959
  if (!project.metafile)
6797
6960
  return;
6798
- if (!project.metafile.inputs[evt.properties.relative.split(path19.sep).join(path19.posix.sep)])
6961
+ if (!project.metafile.inputs[evt.properties.relative.split(path20.sep).join(path20.posix.sep)])
6799
6962
  return;
6800
6963
  build2();
6801
6964
  });
@@ -6895,7 +7058,7 @@ var build = (program2) => program2.command(
6895
7058
  const { useProject: useProject2 } = await Promise.resolve().then(() => (init_project(), project_exports));
6896
7059
  const { Stacks } = await Promise.resolve().then(() => (init_stacks(), stacks_exports));
6897
7060
  const { Colors: Colors2 } = await Promise.resolve().then(() => (init_colors(), colors_exports));
6898
- const path19 = await import("path");
7061
+ const path20 = await import("path");
6899
7062
  const result = await Stacks.synth({
6900
7063
  fn: useProject2().stacks,
6901
7064
  buildDir: args.to,
@@ -6905,7 +7068,7 @@ var build = (program2) => program2.command(
6905
7068
  Colors2.line(
6906
7069
  Colors2.success(`\u2714`),
6907
7070
  Colors2.bold(" Built:"),
6908
- `${result.stacks.length} stack${result.stacks.length > 1 ? "s" : ""} to ${path19.relative(process.cwd(), result.directory)}`
7071
+ `${result.stacks.length} stack${result.stacks.length > 1 ? "s" : ""} to ${path20.relative(process.cwd(), result.directory)}`
6909
7072
  );
6910
7073
  process.exit(0);
6911
7074
  }
@@ -6915,7 +7078,7 @@ var build = (program2) => program2.command(
6915
7078
  init_credentials();
6916
7079
  init_colors();
6917
7080
  import fs18 from "fs/promises";
6918
- import path18 from "path";
7081
+ import path19 from "path";
6919
7082
  var deploy2 = (program2) => program2.command(
6920
7083
  "deploy [filter]",
6921
7084
  "Deploy your app to AWS",
@@ -6985,7 +7148,7 @@ var deploy2 = (program2) => program2.command(
6985
7148
  if (Object.values(results).some((stack) => Stacks.isFailed(stack.status)))
6986
7149
  process.exit(1);
6987
7150
  fs18.writeFile(
6988
- path18.join(project.paths.out, "outputs.json"),
7151
+ path19.join(project.paths.out, "outputs.json"),
6989
7152
  JSON.stringify(
6990
7153
  mapValues(results, (val) => val.outputs),
6991
7154
  null,
@@ -7270,7 +7433,7 @@ var update = (program2) => program2.command(
7270
7433
  async (args) => {
7271
7434
  const { green, yellow } = await import("colorette");
7272
7435
  const fs19 = await import("fs/promises");
7273
- const path19 = await import("path");
7436
+ const path20 = await import("path");
7274
7437
  const { fetch } = await import("undici");
7275
7438
  const { useProject: useProject2 } = await Promise.resolve().then(() => (init_project(), project_exports));
7276
7439
  const { Colors: Colors2 } = await Promise.resolve().then(() => (init_colors(), colors_exports));
@@ -7281,7 +7444,7 @@ var update = (program2) => program2.command(
7281
7444
  return [];
7282
7445
  if (/(^|\/)\.[^\/\.]/g.test(item))
7283
7446
  return [];
7284
- const full = path19.join(dir, item);
7447
+ const full = path20.join(dir, item);
7285
7448
  if (item === "package.json")
7286
7449
  return [full];
7287
7450
  const stat = await fs19.stat(full);
@@ -7336,7 +7499,7 @@ var update = (program2) => program2.command(
7336
7499
  for (const [file, pkgs] of results.entries()) {
7337
7500
  Colors2.line(
7338
7501
  Colors2.success(`\u2714 `),
7339
- Colors2.bold.dim(path19.relative(project.paths.root, file))
7502
+ Colors2.bold.dim(path20.relative(project.paths.root, file))
7340
7503
  );
7341
7504
  for (const [pkg, version2] of pkgs) {
7342
7505
  Colors2.line(Colors2.dim(` ${pkg}@${version2}`));