@vercel/microfrontends 1.0.1-canary.5 → 1.1.0
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/bin/cli.cjs +9 -27
- package/dist/experimental/sveltekit.cjs +8 -26
- package/dist/experimental/sveltekit.cjs.map +1 -1
- package/dist/experimental/sveltekit.js +8 -26
- package/dist/experimental/sveltekit.js.map +1 -1
- package/dist/experimental/vite.cjs +8 -26
- package/dist/experimental/vite.cjs.map +1 -1
- package/dist/experimental/vite.js +8 -26
- package/dist/experimental/vite.js.map +1 -1
- package/dist/microfrontends/server.cjs +8 -26
- package/dist/microfrontends/server.cjs.map +1 -1
- package/dist/microfrontends/server.js +8 -26
- package/dist/microfrontends/server.js.map +1 -1
- package/dist/next/config.cjs +8 -26
- package/dist/next/config.cjs.map +1 -1
- package/dist/next/config.js +8 -26
- package/dist/next/config.js.map +1 -1
- package/dist/utils/mfe-port.cjs +8 -26
- package/dist/utils/mfe-port.cjs.map +1 -1
- package/dist/utils/mfe-port.js +8 -26
- package/dist/utils/mfe-port.js.map +1 -1
- package/dist/validation.cjs +8 -26
- package/dist/validation.cjs.map +1 -1
- package/dist/validation.js +8 -26
- package/dist/validation.js.map +1 -1
- package/package.json +1 -1
package/dist/bin/cli.cjs
CHANGED
|
@@ -29,7 +29,7 @@ var import_commander = require("commander");
|
|
|
29
29
|
// package.json
|
|
30
30
|
var package_default = {
|
|
31
31
|
name: "@vercel/microfrontends",
|
|
32
|
-
version: "1.
|
|
32
|
+
version: "1.1.0",
|
|
33
33
|
private: false,
|
|
34
34
|
description: "Defines configuration and utilities for microfrontends development",
|
|
35
35
|
keywords: [
|
|
@@ -1434,9 +1434,7 @@ var schema_default = {
|
|
|
1434
1434
|
description: "Mapping of application names to the routes that they host. Only needs to be defined in the application that owns the primary microfrontend domain"
|
|
1435
1435
|
}
|
|
1436
1436
|
},
|
|
1437
|
-
required: [
|
|
1438
|
-
"applications"
|
|
1439
|
-
],
|
|
1437
|
+
required: ["applications"],
|
|
1440
1438
|
additionalProperties: false
|
|
1441
1439
|
},
|
|
1442
1440
|
Options: {
|
|
@@ -1531,9 +1529,7 @@ var schema_default = {
|
|
|
1531
1529
|
description: "Vercel project ID"
|
|
1532
1530
|
}
|
|
1533
1531
|
},
|
|
1534
|
-
required: [
|
|
1535
|
-
"projectId"
|
|
1536
|
-
],
|
|
1532
|
+
required: ["projectId"],
|
|
1537
1533
|
additionalProperties: false
|
|
1538
1534
|
},
|
|
1539
1535
|
HostConfig: {
|
|
@@ -1541,10 +1537,7 @@ var schema_default = {
|
|
|
1541
1537
|
properties: {
|
|
1542
1538
|
protocol: {
|
|
1543
1539
|
type: "string",
|
|
1544
|
-
enum: [
|
|
1545
|
-
"http",
|
|
1546
|
-
"https"
|
|
1547
|
-
],
|
|
1540
|
+
enum: ["http", "https"],
|
|
1548
1541
|
description: "The protocol to be used for the connection.\n- `http`: Hypertext Transfer Protocol (HTTP).\n- `https`: Secure Hypertext Transfer Protocol (HTTPS).\n\n*"
|
|
1549
1542
|
},
|
|
1550
1543
|
host: {
|
|
@@ -1556,9 +1549,7 @@ var schema_default = {
|
|
|
1556
1549
|
description: "The port number to be used for the connection. Common values include `80` for HTTP and `443` for HTTPS."
|
|
1557
1550
|
}
|
|
1558
1551
|
},
|
|
1559
|
-
required: [
|
|
1560
|
-
"host"
|
|
1561
|
-
],
|
|
1552
|
+
required: ["host"],
|
|
1562
1553
|
additionalProperties: false
|
|
1563
1554
|
},
|
|
1564
1555
|
Development: {
|
|
@@ -1600,10 +1591,7 @@ var schema_default = {
|
|
|
1600
1591
|
},
|
|
1601
1592
|
protocol: {
|
|
1602
1593
|
type: "string",
|
|
1603
|
-
enum: [
|
|
1604
|
-
"http",
|
|
1605
|
-
"https"
|
|
1606
|
-
],
|
|
1594
|
+
enum: ["http", "https"],
|
|
1607
1595
|
description: "The protocol to be used for the connection.\n- `http`: Hypertext Transfer Protocol (HTTP).\n- `https`: Secure Hypertext Transfer Protocol (HTTPS).\n\n*"
|
|
1608
1596
|
},
|
|
1609
1597
|
port: {
|
|
@@ -1635,9 +1623,7 @@ var schema_default = {
|
|
|
1635
1623
|
description: "Groups of path expressions that are routed to this application."
|
|
1636
1624
|
}
|
|
1637
1625
|
},
|
|
1638
|
-
required: [
|
|
1639
|
-
"routing"
|
|
1640
|
-
],
|
|
1626
|
+
required: ["routing"],
|
|
1641
1627
|
additionalProperties: false
|
|
1642
1628
|
},
|
|
1643
1629
|
Routing: {
|
|
@@ -1664,9 +1650,7 @@ var schema_default = {
|
|
|
1664
1650
|
}
|
|
1665
1651
|
}
|
|
1666
1652
|
},
|
|
1667
|
-
required: [
|
|
1668
|
-
"paths"
|
|
1669
|
-
],
|
|
1653
|
+
required: ["paths"],
|
|
1670
1654
|
additionalProperties: false
|
|
1671
1655
|
},
|
|
1672
1656
|
ChildConfig: {
|
|
@@ -1687,9 +1671,7 @@ var schema_default = {
|
|
|
1687
1671
|
description: "Applications that only serve a subset of the microfrontend routes only need to reference the name of the primary application that owns the full microfrontends configuration."
|
|
1688
1672
|
}
|
|
1689
1673
|
},
|
|
1690
|
-
required: [
|
|
1691
|
-
"partOf"
|
|
1692
|
-
],
|
|
1674
|
+
required: ["partOf"],
|
|
1693
1675
|
additionalProperties: false
|
|
1694
1676
|
}
|
|
1695
1677
|
}
|
|
@@ -1211,9 +1211,7 @@ var schema_default = {
|
|
|
1211
1211
|
description: "Mapping of application names to the routes that they host. Only needs to be defined in the application that owns the primary microfrontend domain"
|
|
1212
1212
|
}
|
|
1213
1213
|
},
|
|
1214
|
-
required: [
|
|
1215
|
-
"applications"
|
|
1216
|
-
],
|
|
1214
|
+
required: ["applications"],
|
|
1217
1215
|
additionalProperties: false
|
|
1218
1216
|
},
|
|
1219
1217
|
Options: {
|
|
@@ -1308,9 +1306,7 @@ var schema_default = {
|
|
|
1308
1306
|
description: "Vercel project ID"
|
|
1309
1307
|
}
|
|
1310
1308
|
},
|
|
1311
|
-
required: [
|
|
1312
|
-
"projectId"
|
|
1313
|
-
],
|
|
1309
|
+
required: ["projectId"],
|
|
1314
1310
|
additionalProperties: false
|
|
1315
1311
|
},
|
|
1316
1312
|
HostConfig: {
|
|
@@ -1318,10 +1314,7 @@ var schema_default = {
|
|
|
1318
1314
|
properties: {
|
|
1319
1315
|
protocol: {
|
|
1320
1316
|
type: "string",
|
|
1321
|
-
enum: [
|
|
1322
|
-
"http",
|
|
1323
|
-
"https"
|
|
1324
|
-
],
|
|
1317
|
+
enum: ["http", "https"],
|
|
1325
1318
|
description: "The protocol to be used for the connection.\n- `http`: Hypertext Transfer Protocol (HTTP).\n- `https`: Secure Hypertext Transfer Protocol (HTTPS).\n\n*"
|
|
1326
1319
|
},
|
|
1327
1320
|
host: {
|
|
@@ -1333,9 +1326,7 @@ var schema_default = {
|
|
|
1333
1326
|
description: "The port number to be used for the connection. Common values include `80` for HTTP and `443` for HTTPS."
|
|
1334
1327
|
}
|
|
1335
1328
|
},
|
|
1336
|
-
required: [
|
|
1337
|
-
"host"
|
|
1338
|
-
],
|
|
1329
|
+
required: ["host"],
|
|
1339
1330
|
additionalProperties: false
|
|
1340
1331
|
},
|
|
1341
1332
|
Development: {
|
|
@@ -1377,10 +1368,7 @@ var schema_default = {
|
|
|
1377
1368
|
},
|
|
1378
1369
|
protocol: {
|
|
1379
1370
|
type: "string",
|
|
1380
|
-
enum: [
|
|
1381
|
-
"http",
|
|
1382
|
-
"https"
|
|
1383
|
-
],
|
|
1371
|
+
enum: ["http", "https"],
|
|
1384
1372
|
description: "The protocol to be used for the connection.\n- `http`: Hypertext Transfer Protocol (HTTP).\n- `https`: Secure Hypertext Transfer Protocol (HTTPS).\n\n*"
|
|
1385
1373
|
},
|
|
1386
1374
|
port: {
|
|
@@ -1412,9 +1400,7 @@ var schema_default = {
|
|
|
1412
1400
|
description: "Groups of path expressions that are routed to this application."
|
|
1413
1401
|
}
|
|
1414
1402
|
},
|
|
1415
|
-
required: [
|
|
1416
|
-
"routing"
|
|
1417
|
-
],
|
|
1403
|
+
required: ["routing"],
|
|
1418
1404
|
additionalProperties: false
|
|
1419
1405
|
},
|
|
1420
1406
|
Routing: {
|
|
@@ -1441,9 +1427,7 @@ var schema_default = {
|
|
|
1441
1427
|
}
|
|
1442
1428
|
}
|
|
1443
1429
|
},
|
|
1444
|
-
required: [
|
|
1445
|
-
"paths"
|
|
1446
|
-
],
|
|
1430
|
+
required: ["paths"],
|
|
1447
1431
|
additionalProperties: false
|
|
1448
1432
|
},
|
|
1449
1433
|
ChildConfig: {
|
|
@@ -1464,9 +1448,7 @@ var schema_default = {
|
|
|
1464
1448
|
description: "Applications that only serve a subset of the microfrontend routes only need to reference the name of the primary application that owns the full microfrontends configuration."
|
|
1465
1449
|
}
|
|
1466
1450
|
},
|
|
1467
|
-
required: [
|
|
1468
|
-
"partOf"
|
|
1469
|
-
],
|
|
1451
|
+
required: ["partOf"],
|
|
1470
1452
|
additionalProperties: false
|
|
1471
1453
|
}
|
|
1472
1454
|
}
|