@mappable-world/mappable-cli
Advanced tools
Comparing version 0.0.29 to 0.0.32
@@ -83,2 +83,6 @@ "use strict"; | ||
} | ||
if (/\.(webp|png|jpg|jpeg|gif)$/i.test(file.name)) { | ||
fs.copyFileSync(path.resolve(input, file.name), path.resolve(output, file.name)); | ||
return; | ||
} | ||
const content = fs.readFileSync(path.resolve(input, file.name), 'utf8'); | ||
@@ -85,0 +89,0 @@ const newContent = content.replace(/%(\w+)%/gi, (match, key) => { |
{ | ||
"name": "@mappable-world/mappable-cli", | ||
"version": "0.0.29", | ||
"version": "0.0.32", | ||
"description": "Library for encapsulating the logic of autotests and building packages mappable.world js API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,5 +6,5 @@ { | ||
"rootDirs": ["./", "../"], | ||
"types": ["./types.d.ts"] | ||
"types": ["./types.d.ts", "../types/index.d.ts"] | ||
}, | ||
"include": ["./**/*.ts", "./**/*.tsx"] | ||
} |
@@ -14,8 +14,2 @@ import {MMap} from '@mappable-world/mappable-types'; | ||
declare module '@mappable-world/mappable-types/import' { | ||
interface Import { | ||
(pkg: '%PACKAGE_NAME%'): Promise<typeof import('../src/index')>; | ||
} | ||
} | ||
export {}; |
@@ -5,5 +5,5 @@ { | ||
"lib": ["dom", "dom.iterable", "esnext"], | ||
"typeRoots": ["./node_modules/@types", "./node_modules/@mappable-world"] | ||
"typeRoots": ["./node_modules/@types", "./node_modules/@mappable-world", "./types"] | ||
}, | ||
"include": ["./src", "./node_modules/@mappable-world/mappable-cli/index.d.ts"] | ||
} |
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
62132
62
1005