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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. 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) => !src.includes("node_modules")
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "radiant-docs",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "CLI tool for previewing Radiant documentation locally",
5
5
  "type": "module",
6
6
  "bin": {