@pantheon-systems/decoupled-kit-health-check
Classes
- BackendNotSetError
- DecoupledMenuError
- DecoupledRouterError
- GatsbyWordPressHealthCheck
- HealthCheckBase
- InvalidCMSEndpointError
- NextDrupalHealthCheck
- NextWordPressHealthCheck
- WPGatsbyPluginError
Variables
logger
• Const
logger: Object
Type declaration
Name | Type |
---|---|
success | (message : string ) => void |
suggest | (message : string ) => void |
warn | (message : string ) => void |
Defined in
packages/decoupled-kit-health-check/src/utils/logger.ts:1
Functions
getFramework
▸ getFramework(): "none"
| "next"
| "gatsby"
Returns
"none"
| "next"
| "gatsby"
Defined in
packages/decoupled-kit-health-check/src/utils/getFramework.ts:4
resolveDotenvFile
▸ resolveDotenvFile(): undefined
| string
Resolves the path to a .env or .env.development.local file in the current directory (where the health-check script was called)
Returns
undefined
| string
the path to a .env file or undefined
Defined in
packages/decoupled-kit-health-check/src/utils/resolveDotenvFile.ts:20