kss-modern 0.0.45 → 0.0.46

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.
@@ -2145,7 +2145,7 @@ async function buildStyleguide(config) {
2145
2145
  const { content: parsedContent, overwrittenSectionsIds } = await parseStyleguide(config.contentDir);
2146
2146
  if (config.mode === "production" && await fs.exists(config.outDir)) {
2147
2147
  const files = await glob(`${config.outDir}/**/*.html`);
2148
- await Promise.all(files.map((file) => fs.unlink(file)));
2148
+ await Promise.all(files.map((file) => fs.remove(file)));
2149
2149
  }
2150
2150
  const baseDirectory = path.relative(process.cwd(), config.outDir);
2151
2151
  const getFullPageFilePath = (fileName) => path.join(baseDirectory, fileName);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kss-modern",
3
3
  "type": "module",
4
- "version": "0.0.45",
4
+ "version": "0.0.46",
5
5
  "description": "Modern KSS compatible styleguide generator",
6
6
  "repository": {
7
7
  "type": "git",