@multiplatform.one/cli
Advanced tools
Comparing version 1.0.42 to 1.0.44
{ | ||
"name": "@multiplatform.one/cli", | ||
"version": "1.0.42", | ||
"version": "1.0.44", | ||
"author": "BitSpur <support@bitspur.com> (https://bitspur.com)", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -61,3 +61,3 @@ /* | ||
} | ||
const cookieCutterConfig: CookieCutterConfig = { name }; | ||
const cookieCutterConfig: CookieCutterConfig = { default_context: { name } }; | ||
const cookieCutterConfigFile = path.join(await fs.mkdtemp(path.join(os.tmpdir(), 'multiplatform-')), 'config.json'); | ||
@@ -115,3 +115,3 @@ try { | ||
const name = JSON.parse(await fs.readFile(path.resolve(projectRoot, 'package.json'), 'utf8'))?.name; | ||
if (name) cookieCutterConfig = { name }; | ||
if (name) cookieCutterConfig = { default_context: { name } }; | ||
} | ||
@@ -118,0 +118,0 @@ if (!cookieCutterConfig) throw new Error('not a multiplatform.one project'); |
@@ -23,3 +23,5 @@ /* | ||
export interface CookieCutterConfig { | ||
name: string; | ||
default_context: { | ||
name: string; | ||
}; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26259
321