Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 1, 2021
1 parent ddef34a commit 0924838
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gulpfile.mjs
Expand Up @@ -60,7 +60,10 @@ function mapSrcToLib(srcPath) {
}

function mapToDts(packageName) {
return packageName.replace(/\bpackages\b/, "dts");
return packageName.replace(
/(?<\\|\/)(packages|eslint|codemods)(?=\\|\/)/,
"dts"
);
}

function getIndexFromPackage(name) {
Expand Down

0 comments on commit 0924838

Please sign in to comment.