@gasket/core
Advanced tools
Comparing version 7.0.0-next.40 to 7.0.0-next.41
@@ -77,6 +77,6 @@ /* eslint-disable no-console, no-process-env */ "use strict"; | ||
if (NODE_ENV) { | ||
console.warn(`No env specified, falling back to NODE_ENV: "${NODE_ENV}".`); | ||
console.warn(`No GASKET_ENV specified, falling back to NODE_ENV: "${NODE_ENV}".`); | ||
return NODE_ENV; | ||
} | ||
console.warn('No env specified, falling back to "development".'); | ||
console.warn('No GASKET_ENV specified, falling back to "development".'); | ||
return 'development'; | ||
@@ -83,0 +83,0 @@ } |
@@ -43,4 +43,4 @@ declare module '@gasket/core' { | ||
name: string; | ||
version: string; | ||
description: string; | ||
version?: string; | ||
description?: string; | ||
dependencies?: Array<string>; | ||
@@ -57,2 +57,4 @@ hooks: { | ||
env: string; | ||
/** Path to the gasket instance file. Can be set to `import.meta.filename` **/ | ||
filename?: string; | ||
} | ||
@@ -59,0 +61,0 @@ |
@@ -34,7 +34,7 @@ /* eslint-disable no-console, no-process-env */ | ||
if (NODE_ENV) { | ||
console.warn(`No env specified, falling back to NODE_ENV: "${NODE_ENV}".`); | ||
console.warn(`No GASKET_ENV specified, falling back to NODE_ENV: "${NODE_ENV}".`); | ||
return NODE_ENV; | ||
} | ||
console.warn('No env specified, falling back to "development".'); | ||
console.warn('No GASKET_ENV specified, falling back to "development".'); | ||
return 'development'; | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "@gasket/core", | ||
"version": "7.0.0-next.40", | ||
"version": "7.0.0-next.41", | ||
"description": "Entry point to setting up Gasket instances", | ||
@@ -91,3 +91,3 @@ "exports": { | ||
"type": "module", | ||
"gitHead": "0aa111bf03a2008753ff70d3d7207c371d9f6031" | ||
"gitHead": "60168b97e936fbc85a1eb9863f6bf202bb055a81" | ||
} |
54856
1341