npm package diff
Package: @forge/manifest
Versions: 7.7.0-next.5 - 7.7.0-next.6
File: package/out/text/errors.js
Index: package/out/text/errors.js
===================================================================
--- package/out/text/errors.js
+++ package/out/text/errors.js
@@ -21,9 +21,13 @@
additionalProperties: (additionalProperty) => `should NOT have additional property '${additionalProperty}'`,
notAllowed: (props) => props
? `does not support the following Forge properties - ${props.map((v) => "'" + v + "'").join(', ')}`
: 'provided properties do not match schema. Learn more about modules at https://go.atlassian.com/forge-modules',
- missingEnvironmentVariable: (variable) => `could not find environment variable '${variable}'`
+ missingEnvironmentVariable: (variable) => `could not find environment variable '${variable}'`,
+ errorReadingResourceFile: (variable, errorMessage) => `error while reading resource file: '${variable}'. Error: ${errorMessage}`,
+ resourceNotFound: (variable) => `could not find resource: '${variable}'`,
+ resourcePathNotDefined: (variable) => `resource path not defined for resource: '${variable}'`,
+ resourceFileNotSupported: (variable) => `resource file type not supported: '${variable}'`
},
permissions: {
invalidPermission: (element, value) => `Invalid '${element}' permission in the manifest.yml file - '${value}'. Learn more about permissions at: https://go.atlassian.com/forge-permissions.`,
missingPermissionFromScope: (scope, event) => `Trigger event: '${event}' requires '${scope}' scope`,