diff --git a/docs/.vitepress/lib/codeExamples/createLabCodeExamples.ts b/docs/.vitepress/lib/codeExamples/createLabCodeExamples.ts
index 4de2245e8b..a996d517e6 100644
--- a/docs/.vitepress/lib/codeExamples/createLabCodeExamples.ts
+++ b/docs/.vitepress/lib/codeExamples/createLabCodeExamples.ts
@@ -49,7 +49,7 @@ import { $CamelCase } from '@lucide/lab';
-
+
`,
},
@@ -61,7 +61,7 @@ import { Icon } from 'lucide-svelte';
import { $CamelCase } from '@lucide/lab';
-
+
`,
},
{
diff --git a/icons/building-2.json b/icons/building-2.json
index 6da5ac8070..fa61bdaf17 100644
--- a/icons/building-2.json
+++ b/icons/building-2.json
@@ -12,7 +12,8 @@
"enterprise",
"skyscraper",
"organisation",
- "organization"
+ "organization",
+ "city"
],
"categories": [
"account",
diff --git a/icons/grid-2x2-check.json b/icons/grid-2x2-check.json
index b21de18937..6903d0889c 100644
--- a/icons/grid-2x2-check.json
+++ b/icons/grid-2x2-check.json
@@ -26,5 +26,8 @@
"text",
"layout",
"math"
+ ],
+ "aliases": [
+ "grid-2-x-2-check"
]
}
diff --git a/icons/grid-2x2-x.json b/icons/grid-2x2-x.json
index 951cdb632e..5323ae3009 100644
--- a/icons/grid-2x2-x.json
+++ b/icons/grid-2x2-x.json
@@ -26,5 +26,8 @@
"text",
"layout",
"math"
+ ],
+ "aliases": [
+ "grid-2-x-2-x"
]
}
diff --git a/scripts/generateChangedIconsCommentMarkup.mjs b/scripts/generateChangedIconsCommentMarkup.mjs
index 8b69fceff1..287dce6699 100644
--- a/scripts/generateChangedIconsCommentMarkup.mjs
+++ b/scripts/generateChangedIconsCommentMarkup.mjs
@@ -22,7 +22,7 @@ if (changedFilesPathString == null) {
const changedFiles = changedFilesPathString
.split(' ')
- .map((file) => file.replace('.json', '.svg'))
+ .filter((file) => file.includes('.svg'))
.filter((file, idx, arr) => arr.indexOf(file) === idx);
if (changedFiles.length === 0) {
diff --git a/scripts/generateNextJSAliases.mjs b/scripts/generateNextJSAliases.mjs
index 7a2a1cd3d5..56e9466c08 100644
--- a/scripts/generateNextJSAliases.mjs
+++ b/scripts/generateNextJSAliases.mjs
@@ -41,7 +41,8 @@ Promise.all(
aliases.push(iconNameKebabCaseNextjsFlavour);
}
- const output = JSON.stringify({ ...iconMetaData, aliases }, null, 2);
+ let output = JSON.stringify({ ...iconMetaData, aliases }, null, 2);
+ output = `${output}\n`;
fs.writeFile(path.resolve(ICONS_DIR, `${iconName}.json`), output, 'utf-8');
}
}),