Skip to content

Commit 2f2b1d6

Browse files
Merge branch 'main' into v15/feature/validate-specific-cultures
2 parents a33032b + c684916 commit 2f2b1d6

File tree

535 files changed

+881
-813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

535 files changed

+881
-813
lines changed

devops/icons/index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,14 @@ const collectDiskIcons = async (icons) => {
124124
iconPaths.forEach((path) => {
125125
const rawData = readFileSync(path);
126126
const svg = rawData.toString();
127-
const pattern = /\/([^/]+)\.svg$/;
127+
const parsed = pathModule.parse(path);
128128

129-
const match = path.match(pattern);
130-
131-
if (!match) {
132-
console.log('No match found.');
129+
if (!parsed) {
130+
console.log('No match found for: ', path);
133131
return;
134132
}
135133

136-
const SVGFileName = match[1];
134+
const SVGFileName = parsed.name;
137135
const iconFileName = SVGFileName.replace('.svg', '');
138136
const iconName = iconFileName;
139137

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
"eslint-plugin-wc": "^2.1.1",
243243
"glob": "^11.0.0",
244244
"globals": "^15.8.0",
245-
"lucide-static": "^0.424.0",
245+
"lucide-static": "^0.441.0",
246246
"madge": "^8.0.0",
247247
"msw": "^1.3.2",
248248
"playwright-msw": "^3.0.1",

0 commit comments

Comments
 (0)