Created
August 13, 2020 19:53
-
-
Save anfibiacreativa/b47cfc3caffde60eb58b5ca7418c1bc0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const source = apply(url('./files'), [ | |
forEach((file: FileEntry) => { | |
let dir = dirname(file.path); | |
let pathName = basename(dir); | |
_options.folderName = pathName; | |
_context.logger.info(`Estamos leyendo en árbol virtual -> ${pathName}`); | |
return file; | |
}), | |
template({ | |
...strings, | |
..._options, | |
addProjectInfo | |
}), | |
move(path) | |
]); | |
function addProjectInfo(): string { | |
return `Este es el readme file para el proyecto ${projectName}. Encontrarás más información en [este enlace](https://www.angular.io)` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment