@nrwl/devkit
Advanced tools
Comparing version 11.2.0-beta.3 to 11.2.0-beta.4
{ | ||
"name": "@nrwl/devkit", | ||
"version": "11.2.0-beta.3", | ||
"version": "11.2.0-beta.4", | ||
"description": "Extensible Dev Tools for Monorepos", | ||
@@ -29,3 +29,3 @@ "repository": { | ||
"dependencies": { | ||
"@nrwl/tao": "11.2.0-beta.3", | ||
"@nrwl/tao": "11.2.0-beta.4", | ||
"ejs": "^3.1.5", | ||
@@ -32,0 +32,0 @@ "ignore": "^5.0.4", |
@@ -5,3 +5,3 @@ "use strict"; | ||
const fs = require("fs"); | ||
const path_1 = require("../utils/path"); | ||
const path_1 = require("path"); | ||
const ejs = require('ejs'); | ||
@@ -35,5 +35,6 @@ /** | ||
allFilesInDir(srcFolder).forEach((f) => { | ||
const relativeToTarget = replaceSegmentsInPath(f.substring(srcFolder.length), substitutions); | ||
const relativeFromSrcFolder = path_1.relative(srcFolder, f); | ||
const newPath = path_1.join(target, relativeFromSrcFolder); | ||
const newContent = ejs.render(fs.readFileSync(f).toString(), substitutions); | ||
host.write(path_1.joinPathFragments(target, relativeToTarget), newContent); | ||
host.write(replaceSegmentsInPath(newPath, substitutions), newContent); | ||
}); | ||
@@ -52,3 +53,3 @@ } | ||
fs.readdirSync(parent).forEach((c) => { | ||
const child = path_1.joinPathFragments(parent, c); | ||
const child = path_1.join(parent, c); | ||
try { | ||
@@ -55,0 +56,0 @@ const s = fs.statSync(child); |
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
95172
1451
+ Added@nrwl/tao@11.2.0-beta.4(transitive)
- Removed@nrwl/tao@11.2.0-beta.3(transitive)
Updated@nrwl/tao@11.2.0-beta.4