@forge/cli-shared
Advanced tools
Comparing version 6.5.1 to 6.5.2-experimental-4d5d98e
@@ -34,6 +34,53 @@ "use strict"; | ||
function findUIKit1Modules(modules) { | ||
const notUIKit1Modules = ['trigger', 'webtrigger', 'scheduledTrigger', 'action']; | ||
const allUIKit1SupportedModules = [ | ||
'confluence:contentAction', | ||
'confluence:contentBylineItem', | ||
'confluence:contextMenu', | ||
'confluence:customContent', | ||
'confluence:globalPage', | ||
'confluence:globalSettings', | ||
'confluence:homepageFeed', | ||
'macro', | ||
'confluence:spacePage', | ||
'confluence:spaceSettings', | ||
'jira:adminPage', | ||
'jira:customField', | ||
'jira:customFieldType', | ||
'jira:dashboardGadget', | ||
'jira:globalPage', | ||
'jira:issueAction', | ||
'jira:issueActivity', | ||
'jira:issueContext', | ||
'jira:issueGlance', | ||
'jira:issuePanel', | ||
'jira:projectPage', | ||
'jira:projectSettingsPage', | ||
'jiraServiceManagement:organizationPanel', | ||
'jiraServiceManagement:portalFooter', | ||
'jiraServiceManagement:portalHeader', | ||
'jiraServiceManagement:portalProfilePanel', | ||
'jiraServiceManagement:portalRequestCreatePropertyPanel', | ||
'jiraServiceManagement:portalRequestDetail', | ||
'jiraServiceManagement:portalRequestDetailPanel', | ||
'jiraServiceManagement:portalRequestViewAction', | ||
'jiraServiceManagement:portalSubheader', | ||
'jiraServiceManagement:portalUserMenuAction', | ||
'jiraServiceManagement:queuePage', | ||
'bitbucket:repoCodeOverviewCard', | ||
'bitbucket:repoCodeOverviewAction', | ||
'bitbucket:repoCodeOverviewPanel', | ||
'bitbucket:repoPullRequestCard', | ||
'bitbucket:repoPullRequestAction', | ||
'bitbucket:repoPullRequestOverviewPanel', | ||
'bitbucket:repoMainMenuPage', | ||
'bitbucket:repoSettingsMenuPage', | ||
'bitbucket:workspaceSettingsMenuPage', | ||
'compass:adminPage', | ||
'compass:componentPage', | ||
'compass:globalPage', | ||
'compass:teamPage' | ||
]; | ||
return (0, manifest_1.getValidModules)(modules) | ||
.filter((moduleType) => { | ||
return !notUIKit1Modules.includes(moduleType); | ||
return allUIKit1SupportedModules.includes(moduleType); | ||
}) | ||
@@ -40,0 +87,0 @@ .map((moduleType) => { |
@@ -389,2 +389,133 @@ import chalk from 'chalk'; | ||
}; | ||
version: { | ||
cmd: { | ||
cmdName: string; | ||
desc: string; | ||
}; | ||
diff: { | ||
cmdName: string; | ||
error: { | ||
noVersionProvided: string; | ||
}; | ||
option: { | ||
version1: string; | ||
version2: string; | ||
outFile: string; | ||
}; | ||
desc: string; | ||
start: string; | ||
end: string; | ||
details: { | ||
banner: (envKey: string, envType: AppEnvironmentType, version1: number, version2: number) => string; | ||
}; | ||
}; | ||
check: { | ||
cmdName: string; | ||
option: { | ||
majorVersion: string; | ||
json: string; | ||
outFile: string; | ||
}; | ||
error: { | ||
invalidMajorVersion: (property?: string) => string; | ||
}; | ||
desc: string; | ||
start: string; | ||
end: string; | ||
details: { | ||
banner: (envKey: string, envType: AppEnvironmentType, version: number) => string; | ||
prompt: { | ||
options: { | ||
banner: string; | ||
choices: { | ||
all: string; | ||
manual: string; | ||
}; | ||
}; | ||
properties: { | ||
banner: string; | ||
info: string; | ||
headers: string[]; | ||
descriptions: { | ||
scopes: string; | ||
egress: string; | ||
policies: string; | ||
functions: string; | ||
modules: string; | ||
remotes: string; | ||
connectKeys: string; | ||
license: string; | ||
}; | ||
}; | ||
}; | ||
writeToFile: (file: string) => string; | ||
deploymentDate: (date: Date) => string; | ||
scopes: (scopes: string[]) => string; | ||
egress: (egresses: { | ||
type: string; | ||
addresses: string[]; | ||
}[]) => string; | ||
securityPolicies: (policies: { | ||
type: string; | ||
policies: string[]; | ||
}[]) => string; | ||
license: (requiresLicense: boolean) => string; | ||
connectKeys: (keys: { | ||
product: string; | ||
key: string; | ||
}[]) => string; | ||
storage: (storages: { | ||
type: string; | ||
store: { | ||
baseUrl: string; | ||
locations: string[]; | ||
}[]; | ||
}[]) => string; | ||
functions: (functions: { | ||
key: string; | ||
runtimeName: string; | ||
regions: string[]; | ||
handler: string; | ||
}[]) => string; | ||
modules: (modules: { | ||
type: string; | ||
items: { | ||
key: string; | ||
properties: any; | ||
}[]; | ||
}[]) => string; | ||
remotes: (remotes: { | ||
key: string; | ||
baseUrl: string; | ||
operations: string[]; | ||
}[]) => string; | ||
}; | ||
}; | ||
list: { | ||
cmdName: string; | ||
option: { | ||
json: string; | ||
outFile: string; | ||
}; | ||
desc: string; | ||
start: string; | ||
end: string; | ||
details: { | ||
banner: (envKey: string, envType: AppEnvironmentType, versions: number) => string; | ||
deploymentDate: (date: Date) => string; | ||
egresses: (egresses: { | ||
type: string; | ||
count: number; | ||
}[]) => string; | ||
policies: (policies: { | ||
type: string; | ||
count: number; | ||
}[]) => string; | ||
modules: (modules: { | ||
type: string; | ||
count: number; | ||
}[]) => string; | ||
}; | ||
}; | ||
}; | ||
deploy: { | ||
@@ -391,0 +522,0 @@ cmd: { |
{ | ||
"name": "@forge/cli-shared", | ||
"version": "6.5.1", | ||
"version": "6.5.2-experimental-4d5d98e", | ||
"description": "Common functionality for Forge CLI", | ||
@@ -15,3 +15,3 @@ "author": "Atlassian", | ||
"dependencies": { | ||
"@forge/manifest": "8.4.0", | ||
"@forge/manifest": "8.4.1", | ||
"@forge/util": "1.4.6", | ||
@@ -18,0 +18,0 @@ "@forge/i18n": "0.0.2", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
8783744
103514
2
+ Added@forge/manifest@8.4.1(transitive)
- Removed@forge/manifest@8.4.0(transitive)
Updated@forge/manifest@8.4.1