radiant-docs 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -101,7 +101,10 @@ async function setupCache(cacheDir) {
|
|
|
101
101
|
await fs.remove(cacheDir);
|
|
102
102
|
}
|
|
103
103
|
await fs.copy(templateDir, cacheDir, {
|
|
104
|
-
filter: (src) =>
|
|
104
|
+
filter: (src) => {
|
|
105
|
+
const relativePath = path.relative(templateDir, src);
|
|
106
|
+
return !relativePath.includes("node_modules");
|
|
107
|
+
}
|
|
105
108
|
});
|
|
106
109
|
log.success("Framework copied to cache.");
|
|
107
110
|
return true;
|