@forge/cli-shared 8.23.1-next.6-experimental-5c60439 → 8.24.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -11
- package/out/apps/template-module.d.ts +9 -12
- package/out/apps/template-module.d.ts.map +1 -1
- package/out/apps/template-module.js +25 -62
- package/out/graphql/graphql-types.d.ts +255 -7
- package/out/graphql/graphql-types.d.ts.map +1 -1
- package/out/graphql/graphql-types.js +102 -46
- package/out/service/statsig-service.d.ts +1 -1
- package/out/service/statsig-service.d.ts.map +1 -1
- package/out/service/statsig-service.js +1 -7
- package/out/ui/text.d.ts +3 -53
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +6 -56
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CLIDetails, ConfigSectionReader, CredentialGetter, getEnvironmentConfig, Logger } from '../index';
|
|
2
|
-
export declare type FeatureGate = 'forge-cli-test-gate' | 'is-logs-v-2-api-enabled' | 'forge-cli-bundle-runtime-loader' | 'forge-cli-enable-teamwork-graph-product-support' | 'forge-cli-enable-developer-space-
|
|
2
|
+
export declare type FeatureGate = 'forge-cli-test-gate' | 'is-logs-v-2-api-enabled' | 'forge-cli-bundle-runtime-loader' | 'forge-cli-enable-teamwork-graph-product-support' | 'forge-cli-enable-developer-space-enforcement-flow' | 'forge-cli-enable-typescript-bundler' | 'forge-cli-enable-self-managed-tunnel';
|
|
3
3
|
export declare type DynamicConfig = {
|
|
4
4
|
'forge-cli-test-dynamic-configs': string[];
|
|
5
5
|
'xls-forge-cli-deprecated-runtimes': string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statsig-service.d.ts","sourceRoot":"","sources":["../../src/service/statsig-service.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EAEpB,MAAM,EAEP,MAAM,UAAU,CAAC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CAAC,SAAS,WAAW,EACnC,IAAI,EAAE,CAAC,EACP,gBAAgB,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GAC5C,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAYpB,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EAC/C,aAAa,EAAE,CAAC,EAChB,QAAQ,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACpC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAWpC"}
|
|
@@ -24,13 +24,7 @@ class StatsigReader {
|
|
|
24
24
|
return (await this.getDynamicConfig('xls-forge-cli-deprecated-runtimes')) ?? [];
|
|
25
25
|
}
|
|
26
26
|
async isDevSpaceSelectionEnabled() {
|
|
27
|
-
|
|
28
|
-
return false;
|
|
29
|
-
}
|
|
30
|
-
else if (process.env.FORGE_CLI_DISABLE_DEV_SPACE === 'false') {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
return (await this.checkGate('forge-cli-enable-developer-space-flow')) ?? false;
|
|
27
|
+
return !(0, index_1.isFedrampEnv)();
|
|
34
28
|
}
|
|
35
29
|
async isDeveloperSpaceEnforcementFlowEnabled() {
|
|
36
30
|
if ((0, index_1.isFedrampEnv)() || process.env.FORGE_CLI_DISABLE_DEV_SPACE === 'true') {
|
package/out/ui/text.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ export declare const Text: {
|
|
|
196
196
|
optionTemplate: string;
|
|
197
197
|
optionDirectory: string;
|
|
198
198
|
optionSpace: string;
|
|
199
|
+
optionAcceptTerms: string;
|
|
199
200
|
overviewAppName: string;
|
|
200
201
|
overviewTemplates: string;
|
|
201
202
|
waitTemplates: string;
|
|
@@ -1292,63 +1293,14 @@ export declare const Text: {
|
|
|
1292
1293
|
optionDryRun: string;
|
|
1293
1294
|
optionForce: string;
|
|
1294
1295
|
optionNoInstall: string;
|
|
1296
|
+
optionUpgradeDeps: string;
|
|
1295
1297
|
promptSelectProduct: string;
|
|
1296
1298
|
promptSelectModule: string;
|
|
1297
1299
|
promptSelectUIFramework: string;
|
|
1298
|
-
dryRunLabel: string;
|
|
1299
|
-
filesToBeCreatedHeader: string;
|
|
1300
|
-
fileChangeHeader: (fileName: string) => string;
|
|
1301
|
-
depAdditionsHeader: string;
|
|
1302
|
-
frontendDepHeader: string;
|
|
1303
|
-
depConflictsHeader: string;
|
|
1304
|
-
depConflictsScopedHeader: (scope: 'backend' | 'frontend') => string;
|
|
1305
|
-
depConflictsBlockedHeader: (scope: 'backend' | 'frontend') => string;
|
|
1306
|
-
depConflictsColumnPackage: string;
|
|
1307
|
-
depConflictsColumnCurrent: string;
|
|
1308
|
-
depConflictsColumnTemplate: string;
|
|
1309
|
-
depConflictsColumnStatus: string;
|
|
1310
|
-
depConflictsStatusConflict: string;
|
|
1311
|
-
depConflictsStatusUpgraded: string;
|
|
1312
|
-
depConflictsStatusDowngraded: string;
|
|
1313
|
-
depConflictsStatusOk: string;
|
|
1314
|
-
depConflictsSummary: (count: number) => string;
|
|
1315
|
-
depConflictsUpgradedSummary: (count: number) => string;
|
|
1316
|
-
depConflictsOptionsHeader: string;
|
|
1317
|
-
depConflictsOptionForce: string;
|
|
1318
|
-
depConflictsOptionNoInstall: string;
|
|
1319
|
-
depConflictsOptionForceNoInstall: string;
|
|
1320
|
-
depConflictsFooter: string;
|
|
1321
|
-
errorDepConflicts: (count: number) => string;
|
|
1322
|
-
errorPackageJsonNotFound: (pkgPath: string) => string;
|
|
1323
|
-
errorPackageJsonParseFailed: (pkgPath: string, message: string) => string;
|
|
1324
|
-
errorMissingDepVersion: (name: string) => string;
|
|
1325
|
-
warnNoManifest: (manifestPath: string) => string;
|
|
1326
|
-
warnNoFragment: string;
|
|
1327
|
-
warnNoManifestDelta: string;
|
|
1328
|
-
warnAddedAppCompatibility: (existingProduct: string, newProduct: string) => string;
|
|
1329
|
-
warnUnsupportedFileOperations: (ops: string[]) => string;
|
|
1330
|
-
warnViteConfigExists: (configPath: string) => string;
|
|
1331
|
-
errorViteConfigNestedInput: () => string;
|
|
1332
|
-
errorApplyNotImplemented: string;
|
|
1333
1300
|
errorInvalidProduct: (product: string) => string;
|
|
1334
1301
|
errorInvalidUIFramework: (uiFramework: string | undefined, moduleKey: string) => string;
|
|
1335
1302
|
errorFailedToResolveChoice: (choice: string) => string;
|
|
1336
1303
|
errorFailedToDownloadTemplate: (moduleKey: string) => string;
|
|
1337
|
-
errorMissingTemplateSource: (sourcePath: string) => string;
|
|
1338
|
-
errorTargetConflict: (targets: string[]) => string;
|
|
1339
|
-
errorZipExtractionFailed: (moduleKey: string, message: string) => string;
|
|
1340
|
-
errorZipCleanupFailed: (moduleKey: string) => string;
|
|
1341
|
-
errorCacheDirMissing: (moduleKey: string) => string;
|
|
1342
|
-
errorFailedToDownloadBundle: (moduleKey: string, message: string) => string;
|
|
1343
|
-
errorCacheCleanupFailed: (cacheDir: string) => string;
|
|
1344
|
-
errorNoBundle: (moduleKey: string, searched: string[]) => string;
|
|
1345
|
-
errorNoFileOperations: (moduleKey: string, uiFramework: string | undefined) => string;
|
|
1346
|
-
warnDownloadFailed: (moduleKey: string, message: string) => string;
|
|
1347
|
-
warnNoBundle: string;
|
|
1348
|
-
warnInstallSkipped: string;
|
|
1349
|
-
infoReusingResource: (resourceKey: string) => string;
|
|
1350
|
-
errorResourceEntryConflict: (resourceKey: string, entryName: string, existing: string, incoming: string) => string;
|
|
1351
|
-
errorResourcePathConflict: (resourceKey: string, existing: string, incoming: string) => string;
|
|
1352
1304
|
};
|
|
1353
1305
|
list: {
|
|
1354
1306
|
description: string;
|
|
@@ -1365,11 +1317,9 @@ export declare const Text: {
|
|
|
1365
1317
|
bifrostIndexInvalid: string;
|
|
1366
1318
|
bifrostIndexFetchFailed: (status: number, statusText: string) => string;
|
|
1367
1319
|
bifrostManifestFragmentFetchFailed: (status: number, statusText: string) => string;
|
|
1368
|
-
|
|
1369
|
-
duplicateModuleKey: (value: string) => string;
|
|
1320
|
+
duplicateModuleKey: (value: string, moduleKey: string) => string;
|
|
1370
1321
|
duplicateFunctionKey: (value: string) => string;
|
|
1371
1322
|
duplicateResourceKey: (value: string) => string;
|
|
1372
|
-
duplicateKey: (value: string) => string;
|
|
1373
1323
|
};
|
|
1374
1324
|
};
|
|
1375
1325
|
};
|
package/out/ui/text.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAI9D,OAAO,EAAE,aAAa,EAAE,MAAM,MAAM,CAAC;AAGrC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAwBD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAEjE;AAKD,eAAO,MAAM,UAAU,SAAU,MAAM,KAAG,MAAsD,CAAC;AAoDjG,eAAO,MAAM,IAAI;8BA7EgB,MAAM;eAKrB,MAAM;;;;;6BAuFD,MAAM;2BACR,MAAM;6BAGJ,MAAM;+BAEJ,MAAM;;wCAIK,MAAM,UAAU,MAAM;qDAOT,MAAM,sBAAsB,MAAM;;wCAO/C,MAAM,EAAE;;;;;;;;6CAgBH,MAAM,YAAY,MAAM,YAAY,MAAM;;;kDAQrC,MAAM,EAAE;gDAKV,MAAM,aAAa,MAAM;8CAG3B,MAAM,aAAa,MAAM;uCAGhC,MAAM;iCAEZ,MAAM;;;;;;;;;;;;;;kDAmBS,MAAM;;;0DAKI,MAAM,EAAE;yCAEzB,MAAM;0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AAI,KAAG,MAAM;;;;;;;;;;;;;;;;;kDAiBlC,MAAM,SAAS,MAAM;sDACjB,MAAM;oDACR,MAAM,WAAW,MAAM;mDAExB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAmCN,MAAM;mDACE,MAAM,GAAG,SAAS,aAAa,MAAM;iDAEvC,MAAM;uDACA,MAAM;;;;;;;;;;;;;;;8CAef,MAAM,cAAc,MAAM;yDAEf,MAAM,cAAc,MAAM;wCAE3C,MAAM,aAAa,MAAM;0CAEvB,MAAM;0CAEN,MAAM;;;CAGzC,CAAC"}
|
package/out/ui/text.js
CHANGED
|
@@ -263,6 +263,7 @@ What do you like or don't like about Forge? Share your feedback below or press C
|
|
|
263
263
|
optionTemplate: 'specify the template to use',
|
|
264
264
|
optionDirectory: 'specify the directory to create (uses the template name by default)',
|
|
265
265
|
optionSpace: 'specify the Developer Space id to use',
|
|
266
|
+
optionAcceptTerms: 'automatically accept terms and conditions in non-interactive mode',
|
|
266
267
|
overviewAppName: `\nName your app. The app name can include dashes, spaces, and underscores.\n`,
|
|
267
268
|
overviewTemplates: '\nStart with a template. Each template contains the required files to be a valid app.\n',
|
|
268
269
|
waitTemplates: 'Getting template list...',
|
|
@@ -1554,65 +1555,16 @@ When errors occur during Forge command execution, error details will be sent to
|
|
|
1554
1555
|
optionUiType: 'UI framework (ui-kit, custom-ui)',
|
|
1555
1556
|
optionProduct: 'target product (Jira, Confluence, etc.)',
|
|
1556
1557
|
optionDryRun: 'show what would be generated',
|
|
1557
|
-
optionForce: 'overwrite existing files
|
|
1558
|
+
optionForce: 'overwrite existing files',
|
|
1558
1559
|
optionNoInstall: 'skip installing dependencies',
|
|
1560
|
+
optionUpgradeDeps: 'upgrade existing dependencies to template versions',
|
|
1559
1561
|
promptSelectProduct: 'select a product',
|
|
1560
1562
|
promptSelectModule: 'select a module',
|
|
1561
1563
|
promptSelectUIFramework: 'select a UI framework',
|
|
1562
|
-
dryRunLabel: 'Dry run: ',
|
|
1563
|
-
filesToBeCreatedHeader: 'Files to be created:',
|
|
1564
|
-
fileChangeHeader: (fileName) => `${fileName} changes:`,
|
|
1565
|
-
depAdditionsHeader: 'Adding:',
|
|
1566
|
-
frontendDepHeader: 'Frontend dependencies:',
|
|
1567
|
-
depConflictsHeader: '⚠️ Dependency conflicts detected',
|
|
1568
|
-
depConflictsScopedHeader: (scope) => `⚠️ ${scope === 'frontend' ? 'Frontend' : 'Backend'} dependency conflicts detected`,
|
|
1569
|
-
depConflictsBlockedHeader: (scope) => `⚠️ ${scope === 'frontend' ? 'Frontend' : 'Backend'} dependency conflicts detected`,
|
|
1570
|
-
depConflictsColumnPackage: 'Package',
|
|
1571
|
-
depConflictsColumnCurrent: 'Your version',
|
|
1572
|
-
depConflictsColumnTemplate: 'Template version',
|
|
1573
|
-
depConflictsColumnStatus: 'Status',
|
|
1574
|
-
depConflictsStatusConflict: '⛔ CONFLICT',
|
|
1575
|
-
depConflictsStatusUpgraded: '⬆️ UPGRADED',
|
|
1576
|
-
depConflictsStatusDowngraded: '⬇️ DOWNGRADED',
|
|
1577
|
-
depConflictsStatusOk: '✅ OK',
|
|
1578
|
-
depConflictsSummary: (count) => `${count} conflict(s) found. Cannot proceed without resolution.`,
|
|
1579
|
-
depConflictsUpgradedSummary: (count) => `${count} conflicting package(s) upgraded to template versions.`,
|
|
1580
|
-
depConflictsOptionsHeader: 'Options:',
|
|
1581
|
-
depConflictsOptionForce: '--force Upgrade conflicting packages to template versions (still runs npm install)',
|
|
1582
|
-
depConflictsOptionNoInstall: '--no-install Add to package.json only, skip npm install',
|
|
1583
|
-
depConflictsOptionForceNoInstall: '--force --no-install Upgrade conflicting packages but skip npm install',
|
|
1584
|
-
depConflictsFooter: 'Resolve conflicts manually or re-run with --force to upgrade.',
|
|
1585
|
-
errorDepConflicts: (count) => `${count} dependency conflict(s) detected. Re-run with --force to upgrade, or --no-install to skip the install step.`,
|
|
1586
|
-
errorPackageJsonNotFound: (pkgPath) => `package.json not found at ${pkgPath}. Cannot determine existing dependencies.`,
|
|
1587
|
-
errorPackageJsonParseFailed: (pkgPath, message) => `Failed to parse package.json at ${pkgPath}: ${message}`,
|
|
1588
|
-
errorMissingDepVersion: (name) => `Template dependency "${name}" is missing an explicit version. Templates must declare a version for every dependency.`,
|
|
1589
|
-
warnNoManifest: (manifestPath) => `No manifest.yml found at ${manifestPath}. Manifest changes were not planned.`,
|
|
1590
|
-
warnNoFragment: 'Template did not provide a manifest fragment; manifest changes were not planned.',
|
|
1591
|
-
warnNoManifestDelta: 'Manifest fragment did not introduce any changes after merge.',
|
|
1592
|
-
warnAddedAppCompatibility: (existingProduct, newProduct) => `Adding a "${newProduct}" module to an app that already targets "${existingProduct}"; updated app.compatibility so the app must be installed to "${newProduct}" to see changes.`,
|
|
1593
|
-
warnUnsupportedFileOperations: (ops) => `Skipping ${ops.length} unsupported file operation(s): ${ops.join(', ')}. Only "create" operations are supported.`,
|
|
1594
|
-
warnViteConfigExists: (configPath) => `An existing vite.config.js at ${configPath} could not be merged automatically. Skipping vite config changes; re-run with --force to overwrite.`,
|
|
1595
|
-
errorViteConfigNestedInput: () => `Cannot safely merge vite.config.js: the existing "input" block contains a nested object. Merging would corrupt the file. Re-run with --force to regenerate the config from scratch, or edit the input map manually.`,
|
|
1596
|
-
errorApplyNotImplemented: 'module add apply mode is not implemented yet; re-run with --dry-run to preview changes.',
|
|
1597
1564
|
errorInvalidProduct: (product) => `Invalid product "${product}"`,
|
|
1598
1565
|
errorInvalidUIFramework: (uiFramework, moduleKey) => `Invalid UI framework "${uiFramework ?? 'unknown'}" for module "${moduleKey}"`,
|
|
1599
1566
|
errorFailedToResolveChoice: (choice) => `Failed to resolve selected module from choice "${choice}"`,
|
|
1600
|
-
errorFailedToDownloadTemplate: (moduleKey) => `Failed to download template for module "${moduleKey}"
|
|
1601
|
-
errorMissingTemplateSource: (sourcePath) => `Template source file not found in extracted bundle: ${sourcePath}`,
|
|
1602
|
-
errorTargetConflict: (targets) => `File(s) already exist and would be overwritten:\n- ${targets.join('\n- ')}\n\nRe-run with --force to overwrite, or choose different values to generate unique filenames.`,
|
|
1603
|
-
errorZipExtractionFailed: (moduleKey, message) => `Failed to extract template bundle for "${moduleKey}": ${message}`,
|
|
1604
|
-
errorZipCleanupFailed: (moduleKey) => `Failed to clean up downloaded zip for "${moduleKey}".`,
|
|
1605
|
-
errorCacheDirMissing: (moduleKey) => `Cache directory is not set for module "${moduleKey}". Call prepareModuleMetadata before downloading the bundle.`,
|
|
1606
|
-
errorFailedToDownloadBundle: (moduleKey, message) => `Failed to download bundle for "${moduleKey}": ${message}`,
|
|
1607
|
-
errorCacheCleanupFailed: (cacheDir) => `Failed to clean up cache directory: ${cacheDir}`,
|
|
1608
|
-
errorNoBundle: (moduleKey, searched) => `No template bundle was found for "${moduleKey}". Searched the following paths:\n- ${searched.join('\n- ')}\n\nThe template archive may have failed to download, or its layout may not match expectations.`,
|
|
1609
|
-
errorNoFileOperations: (moduleKey, uiFramework) => `Template "${moduleKey}"${uiFramework ? ` (variant "${uiFramework}")` : ''} declares no "create" file operations; nothing to copy.`,
|
|
1610
|
-
warnDownloadFailed: (moduleKey, message) => `Failed to download template archive for "${moduleKey}": ${message}. File copy will be skipped.`,
|
|
1611
|
-
warnNoBundle: 'Template bundle was not downloaded; file copy was skipped.',
|
|
1612
|
-
warnInstallSkipped: '⚠️ Skipping install: Run npm install to install new dependencies.',
|
|
1613
|
-
infoReusingResource: (resourceKey) => `Reusing existing resource '${resourceKey}'`,
|
|
1614
|
-
errorResourceEntryConflict: (resourceKey, entryName, existing, incoming) => `Resource '${resourceKey}' already declares entry '${entryName}' as '${existing}', but the new module wants '${incoming}'. Choose a different moduleKey or remove the existing entry.`,
|
|
1615
|
-
errorResourcePathConflict: (resourceKey, existing, incoming) => `Resource '${resourceKey}' already declares path '${existing}', but the new module wants '${incoming}'. Resources sharing a key must share a path.`
|
|
1567
|
+
errorFailedToDownloadTemplate: (moduleKey) => `Failed to download template for module "${moduleKey}"`
|
|
1616
1568
|
},
|
|
1617
1569
|
list: {
|
|
1618
1570
|
description: 'list available module templates',
|
|
@@ -1629,11 +1581,9 @@ When errors occur during Forge command execution, error details will be sent to
|
|
|
1629
1581
|
bifrostIndexInvalid: 'Error: expected array of templates',
|
|
1630
1582
|
bifrostIndexFetchFailed: (status, statusText) => `Error: template fetch failed: ${status} ${statusText}`,
|
|
1631
1583
|
bifrostManifestFragmentFetchFailed: (status, statusText) => `Error: failed to fetch manifest fragment: ${status} ${statusText}`,
|
|
1632
|
-
|
|
1633
|
-
duplicateModuleKey: (value) => `Module key "${value}" already exists in the manifest. Please enter a different value.`,
|
|
1584
|
+
duplicateModuleKey: (value, moduleKey) => `Module key "${value}" already exists for ${moduleKey}. Please enter a different value.`,
|
|
1634
1585
|
duplicateFunctionKey: (value) => `Function key "${value}" already exists. Please enter a different value.`,
|
|
1635
|
-
duplicateResourceKey: (value) => `Resource key "${value}" already exists. Please enter a different value
|
|
1636
|
-
duplicateKey: (value) => `"${value}" must be unique. Please enter a different value.`
|
|
1586
|
+
duplicateResourceKey: (value) => `Resource key "${value}" already exists. Please enter a different value.`
|
|
1637
1587
|
}
|
|
1638
1588
|
}
|
|
1639
1589
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/cli-shared",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.24.0-next.7",
|
|
4
4
|
"description": "Common functionality for Forge CLI",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"generate-graphql-types": "graphql-codegen --config src/graphql/codegen.yml"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@forge/manifest": "12.9.0-next.5
|
|
15
|
+
"@forge/manifest": "12.9.0-next.5",
|
|
16
16
|
"@forge/util": "2.0.1",
|
|
17
17
|
"@forge/i18n": "0.0.7",
|
|
18
18
|
"@sentry/node": "7.106.0",
|