@koober/mrm-preset
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -46,5 +46,9 @@ const { install, json, file, template } = require('mrm-core'); | ||
//Create default index | ||
const templateDir = join(__dirname, 'templates'); | ||
if (!file('src/index.ts').exists()) { | ||
template('src/index.ts', join(__dirname, 'templates', 'index.ts')).apply().save(); | ||
template('src/index.ts', join(templateDir, 'index.ts')).apply().save(); | ||
} | ||
if (!file('src/index.spec.ts').exists()) { | ||
template('src/index.spec.ts', join(templateDir, 'index.spec.ts')).apply().save(); | ||
} | ||
@@ -51,0 +55,0 @@ // Dependencies |
@@ -1,3 +0,2 @@ | ||
async function main() { | ||
export async function main() { | ||
// TODO | ||
@@ -4,0 +3,0 @@ }; |
{ | ||
"name": "@koober/mrm-preset", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Mrm configuration presets", | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "389a914304403141d50c66509254cec1c2a7e377" | ||
"gitHead": "e32934071178f25cfc6e4588ae27f414b498348a" | ||
} |
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
25540
26
793