vadivam 0.0.80 → 0.0.82

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.
@@ -1,33 +1,19 @@
1
1
  import { readdir, readFile, writeFile } from "node:fs/promises";
2
2
  import path from "node:path";
3
- import { lucideAliases } from "./lucide-aliases.js";
3
+ import { lucideAliases, lucideComponentAliases } from "./lucide-aliases.js";
4
4
  import { icons } from "./manifest.js";
5
+ import { lucidePackages, manualLucidePackages, packageExports, siteUrl } from "./package-exports.js";
5
6
 
6
7
  // Every Vadivam icon keeps its Lucide name, and each framework package mirrors
7
8
  // the matching Lucide package's API with Lucide renamed to Vadivam. So moving
8
9
  // over is a package rename plus `Lucide` -> `Vadivam` in imported identifiers.
9
- export const packageMap = {
10
- lucide: "vadivam",
11
- "lucide-react": "vadivam-react",
12
- "lucide-react-native": "vadivam-react-native",
13
- "lucide-vue-next": "vadivam-vue",
14
- "@lucide/vue": "vadivam-vue",
15
- "lucide-svelte": "vadivam-svelte",
16
- "@lucide/svelte": "vadivam-svelte",
17
- "lucide-solid": "vadivam-solid",
18
- "lucide-preact": "vadivam-preact",
19
- "@lucide/astro": "vadivam-astro",
20
- };
10
+ // The package names come from scripts/packages.mjs, through package-exports.js.
11
+ export const packageMap = lucidePackages;
21
12
 
22
13
  // Packages whose API differs enough that they need a hand migration.
23
- const manualPackages = {
24
- "lucide-angular": "vadivam-angular uses one standalone directive per icon",
25
- "@lucide/angular": "vadivam-angular uses one standalone directive per icon",
26
- "lucide-static": "use vadivam/icons/<name>.svg, vadivam/strings/<name>, the sprite, or the font",
27
- "lucide-vue": "Vue 2 is not supported; vadivam-vue targets Vue 3",
28
- };
14
+ const manualPackages = manualLucidePackages;
29
15
 
30
- export const guideUrl = "https://vadivam.praveenjuge.com/docs/migrate-from-lucide";
16
+ export const guideUrl = `${siteUrl}/docs/migrate-from-lucide`;
31
17
 
32
18
  const sourceExtensions = new Set([
33
19
  ".js", ".jsx", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts",
@@ -41,24 +27,18 @@ const skippedDirectories = new Set([
41
27
  const dependencyFields = ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"];
42
28
 
43
29
  const iconNames = new Set(icons.map((icon) => icon.name));
44
- const componentNames = new Map(icons.map((icon) => [icon.name, icon.componentName]));
45
- // Deprecated Lucide component names (AlertCircle) and the canonical ones (CircleExclamationPoint).
46
- const pascalCase = (name) => name.split("-").map((part) => part[0].toUpperCase() + part.slice(1)).join("");
47
- const componentAliases = new Map(
48
- Object.entries(lucideAliases).map(([alias, name]) => [pascalCase(alias), componentNames.get(name)]),
30
+ // Every name each package exports, from the lists its generator wrote.
31
+ const componentNames = icons.map((icon) => icon.componentName);
32
+ const exportsByPackage = new Map(
33
+ Object.entries(packageExports).map(([packageName, { names, iconAliases }]) => [
34
+ packageName,
35
+ new Set([
36
+ "default",
37
+ ...names,
38
+ ...iconAliases.flatMap(([prefix, suffix]) => componentNames.map((name) => `${prefix}${name}${suffix}`)),
39
+ ]),
40
+ ]),
49
41
  );
50
- const iconExports = new Set(
51
- icons.flatMap(({ componentName }) => [componentName, `${componentName}Icon`, `Vadivam${componentName}`]),
52
- );
53
- // The non-icon exports across the core and framework packages.
54
- const apiExports = new Set([
55
- "Icon", "createIcon", "createVadivamIcon", "icons", "iconNames", "dynamicIconImports", "DynamicIcon",
56
- "VadivamProvider", "useVadivamContext", "provideVadivam", "VadivamContext", "VADIVAM_CONTEXT",
57
- "getVadivamContext", "setVadivamProps", "createElement", "createIcons", "manifest", "iconsByName",
58
- "categories", "IconName", "IconNode", "Icons", "SVGElementType", "SVGAttributes", "SVGProps",
59
- "VadivamProps", "VadivamIcon", "IconDefinition", "CreateIconsOptions", "IconCategoryId",
60
- "VadivamIconCategory", "VadivamIconMetadata", "default",
61
- ]);
62
42
 
63
43
  const specifierPattern = /(\bfrom\s*|\bimport\s*\(\s*|\bimport\s+|\brequire\s*\(\s*|\.mock\s*\(\s*)(["'])([^"'\n]+)\2/g;
64
44
  // Named bindings taken from a Vadivam package: imports, re-exports, and
@@ -98,7 +78,7 @@ export function mapSpecifier(specifier) {
98
78
  /** The canonical export for a deprecated Lucide one: AlertCircleIcon -> CircleExclamationPointIcon. */
99
79
  function canonicalExport(name) {
100
80
  const [, prefix, base, suffix] = name.match(/^(Vadivam)?(\w+?)(Icon)?$/) ?? [];
101
- const canonical = base && componentAliases.get(base);
81
+ const canonical = base && Object.prototype.hasOwnProperty.call(lucideComponentAliases, base) && lucideComponentAliases[base];
102
82
  return canonical ? `${prefix ?? ""}${canonical}${suffix ?? ""}` : name;
103
83
  }
104
84
 
@@ -107,6 +87,146 @@ const renameIdentifier = (identifier) =>
107
87
  ? identifier.replace(/Lucide/g, "Vadivam").replace(/LUCIDE/g, "VADIVAM")
108
88
  : identifier;
109
89
 
90
+ const blank = (span) => span.replace(/[^\n]/g, " ");
91
+
92
+ // The text with strings, template-literal text, and comments blanked out, at
93
+ // the same offsets, so their brackets and commas don't count as code. Code in
94
+ // a template's `${...}` stays, so an object there is still checked.
95
+ function blankQuoted(text) {
96
+ return scanCode(text, 0, false).output;
97
+ }
98
+
99
+ // Where the ' or " string opening at text[position] ends, or -1 when that
100
+ // quote can't open one: a string never follows a name (`Don't` in JSX text),
101
+ // and one without a closing quote on its line is JSX text too.
102
+ function stringEnd(text, position) {
103
+ if (position > 0 && /[\w$]/.test(text[position - 1])) return -1;
104
+ const quote = text[position];
105
+ let stop = position + 1;
106
+ while (stop < text.length && text[stop] !== quote && text[stop] !== "\n") stop += text[stop] === "\\" ? 2 : 1;
107
+ return stop < text.length && text[stop] === quote ? stop + 1 : -1;
108
+ }
109
+
110
+ // Where the regular expression opening at text[position] ends, or -1 when
111
+ // it doesn't close on its line (so the `/` is division or JSX text).
112
+ function regexEnd(text, position) {
113
+ let inClass = false;
114
+ for (let stop = position + 1; stop < text.length && text[stop] !== "\n"; stop += 1) {
115
+ if (text[stop] === "\\") stop += 1;
116
+ else if (text[stop] === "[") inClass = true;
117
+ else if (text[stop] === "]") inClass = false;
118
+ else if (text[stop] === "/" && !inClass) return stop + 1;
119
+ }
120
+ return -1;
121
+ }
122
+
123
+ // Whether a `/` after `previous`, the last code character, opens a regular
124
+ // expression: at the start, after an operator or opening bracket, or after a
125
+ // keyword such as `return`, but not after a value (`total / 2`, `count++ / 2`,
126
+ // TypeScript's `size! / 2`) or JSX `<`.
127
+ const regexCanStart = (previous, output) =>
128
+ previous === "" ||
129
+ (/[(,=:[!&|?{;+\-*%~^]/.test(previous) && !/(?:\+\+|--|[\w$)\]]!)\s*$/.test(output.slice(-64))) ||
130
+ (/[\w$]/.test(previous) &&
131
+ /(?:^|[^\w$.])(?:return|typeof|case|do|else|in|of|void|yield|await|delete|new|instanceof)\s*$/.test(output.slice(-64)));
132
+
133
+ // Scans code from `position`, blanking strings, regular expressions, and
134
+ // comments. Inside a template's `${...}` (`expression`), it stops after the
135
+ // `}` that closes it.
136
+ function scanCode(text, position, expression) {
137
+ let output = "";
138
+ let depth = 0;
139
+ // The last code character, "" at the start; a string or regex is a value.
140
+ let previous = "";
141
+ while (position < text.length) {
142
+ const character = text[position];
143
+ const next = text[position + 1];
144
+ let stop = -1;
145
+ if (character === "/" && next === "*") {
146
+ const close = text.indexOf("*/", position + 2);
147
+ stop = close < 0 ? text.length : close + 2;
148
+ } else if (character === "/" && next === "/") {
149
+ const close = text.indexOf("\n", position);
150
+ stop = close < 0 ? text.length : close;
151
+ } else if (character === '"' || character === "'") {
152
+ stop = stringEnd(text, position);
153
+ if (stop >= 0) previous = "a";
154
+ } else if (character === "/" && regexCanStart(previous, output)) {
155
+ stop = regexEnd(text, position);
156
+ if (stop >= 0) previous = "a";
157
+ }
158
+ if (stop >= 0) {
159
+ output += blank(text.slice(position, stop));
160
+ position = stop;
161
+ } else if (character === "`") {
162
+ const template = scanTemplate(text, position);
163
+ output += template.output;
164
+ position = template.position;
165
+ previous = "a";
166
+ } else {
167
+ output += character;
168
+ position += 1;
169
+ if (!/\s/.test(character)) previous = character;
170
+ if (expression && character === "{") depth += 1;
171
+ else if (expression && character === "}" && (depth -= 1) < 0) break;
172
+ }
173
+ }
174
+ return { output, position };
175
+ }
176
+
177
+ // Blanks the template literal opening at text[position], keeping the code in
178
+ // its `${...}` expressions.
179
+ function scanTemplate(text, position) {
180
+ let output = " ";
181
+ position += 1;
182
+ while (position < text.length && text[position] !== "`") {
183
+ if (text[position] === "\\") {
184
+ output += blank(text.slice(position, position + 2));
185
+ position += 2;
186
+ } else if (text[position] === "$" && text[position + 1] === "{") {
187
+ const expression = scanCode(text, position + 2, true);
188
+ output += `\${${expression.output}`;
189
+ position = expression.position;
190
+ } else {
191
+ output += blank(text[position]);
192
+ position += 1;
193
+ }
194
+ }
195
+ if (position < text.length) {
196
+ output += " ";
197
+ position += 1;
198
+ }
199
+ return { output, position };
200
+ }
201
+
202
+ // Whether the identifier at text[start, end) sits where a shorthand property
203
+ // would (`{ LucideBell }`, `{ a, LucideBell = X }`), where renaming it also
204
+ // renames the key. Telling an object from JSX or a template expression needs a
205
+ // parser, so this only flags it; a JSX attribute (`icon={LucideBell}`) and a
206
+ // template expression (`${LucideBell}`) are left out. `text` has its strings
207
+ // and comments blanked (blankQuoted), so `{ /* icon */ LucideBell }` and
208
+ // `{ face: ":)", LucideBell }` still count.
209
+ function looksLikeShorthand(text, start, end) {
210
+ // A name inside a blanked string or comment isn't code.
211
+ if (text.slice(start, end).trim() === "") return false;
212
+ const before = text.slice(0, start).match(/([{,])\s*$/);
213
+ if (!before || !/^\s*(?:[},]|=(?![=>]))/.test(text.slice(end))) return false;
214
+ if (before[1] === ",") {
215
+ // Only inside braces: `[LucideBell, LucideHome]` and call arguments aren't objects.
216
+ let depth = 0;
217
+ for (let position = start - 1; position >= 0; position -= 1) {
218
+ const character = text[position];
219
+ if (character === ")" || character === "]" || character === "}") depth += 1;
220
+ else if (character === "(" || character === "[" || character === "{") {
221
+ if (depth === 0) return character === "{";
222
+ depth -= 1;
223
+ }
224
+ }
225
+ return false;
226
+ }
227
+ return !/(?:[\w$-]=|\$)$/.test(text.slice(0, start - before[0].length));
228
+ }
229
+
110
230
  /**
111
231
  * Rewrite one source file. Returns the new text, how many edits it made, and
112
232
  * warnings for anything left to migrate by hand.
@@ -157,6 +277,8 @@ export function migrateSource(text, { styles = false } = {}) {
157
277
  );
158
278
  }
159
279
  if (renames.size > 0) {
280
+ const shorthands = new Set();
281
+ const code = blankQuoted(output);
160
282
  // Rewritten import and export statements, quoted strings, and object or
161
283
  // destructuring keys (`{ LucideBell: x }`) stay as they are. A local
162
284
  // `export { LucideBell }` keeps its public name (`VadivamBell as
@@ -164,7 +286,7 @@ export function migrateSource(text, { styles = false } = {}) {
164
286
  // new name.
165
287
  output = output.replace(
166
288
  /\bimport\s+(?:type\s+)?(?:[\w$]+\s*,?\s*)?(?:\*\s+as\s+[\w$]+|\{[^}]*\})?\s*from\s*["'][^"']*["']|\bexport\s+(?:type\s+)?(?:\*(?:\s+as\s+[\w$]+)?|\{[^}]*\})\s*from\s*["'][^"']*["']|\bexport\s*(?:type\s*)?\{([^}]*)\}|"(?:[^"\\\n]|\\.)*"|'(?:[^'\\\n]|\\.)*'|(?<=[{,]\s*)[A-Za-z_$][\w$]*(?=\s*:(?!:))|(?<![\w$.])([A-Za-z_$][\w$]*)/g,
167
- (match, exportList, identifier) => {
289
+ (match, exportList, identifier, offset) => {
168
290
  if (exportList !== undefined) {
169
291
  return match.replace(exportList, (list) =>
170
292
  list.replace(/([\w$]+)(\s+as\s+[\w$]+)?/g, (entry, name, alias) => {
@@ -178,9 +300,14 @@ export function migrateSource(text, { styles = false } = {}) {
178
300
  const renamed = identifier && renames.get(identifier);
179
301
  if (!renamed) return match;
180
302
  changes += 1;
303
+ if (looksLikeShorthand(code, offset, offset + match.length)) {
304
+ const line = code.slice(0, offset).split("\n").length;
305
+ shorthands.add(`line ${line}: { ${match} } is now { ${renamed} }; if ${match} is an object key, write { ${match}: ${renamed} }`);
306
+ }
181
307
  return renamed;
182
308
  },
183
309
  );
310
+ warnings.push(...shorthands);
184
311
  }
185
312
  // A mock factory lists the module's export names, which this can't safely rewrite.
186
313
  if (/\.mock\s*\(\s*["']vadivam[^"']*["']\s*,/.test(output)) {
@@ -195,10 +322,11 @@ export function migrateSource(text, { styles = false } = {}) {
195
322
  });
196
323
  for (const { pattern } of bindingLists) {
197
324
  for (const [, names, packageName] of output.matchAll(pattern)) {
198
- if (packageName === "vadivam-angular") continue;
325
+ const exported = exportsByPackage.get(packageName);
326
+ if (!exported) continue;
199
327
  for (const [, , imported] of names.matchAll(bindingEntry)) {
200
- if (iconExports.has(imported) || apiExports.has(imported)) continue;
201
- warnings.push(`${imported} from ${packageName}: not a Vadivam export; search https://vadivam.praveenjuge.com/?q=${encodeURIComponent(imported)}`);
328
+ if (exported.has(imported)) continue;
329
+ warnings.push(`${imported} from ${packageName}: not a Vadivam export; search ${siteUrl}/?q=${encodeURIComponent(imported)}`);
202
330
  }
203
331
  }
204
332
  }
@@ -0,0 +1,392 @@
1
+ // Generated with each package: its non-icon exports and the aliases ([prefix, suffix]) each icon is exported under,
2
+ // the Lucide packages it replaces, and the ones that need a hand migration.
3
+ export const packageExports = {
4
+ "vadivam": {
5
+ "names": [
6
+ "createElement",
7
+ "createIcons",
8
+ "icons",
9
+ "manifest",
10
+ "iconNames",
11
+ "iconsByName",
12
+ "categories",
13
+ "styles",
14
+ "CreateIconsOptions",
15
+ "IconCategoryId",
16
+ "VadivamIconCategory",
17
+ "VadivamIconMetadata",
18
+ "VadivamIconStyle",
19
+ "VadivamIconStyleId",
20
+ "IconName",
21
+ "IconNode",
22
+ "Icons",
23
+ "SVGElementType",
24
+ "SVGProps"
25
+ ],
26
+ "iconAliases": [
27
+ [
28
+ "",
29
+ ""
30
+ ]
31
+ ]
32
+ },
33
+ "vadivam-react": {
34
+ "names": [
35
+ "Icon",
36
+ "createIcon",
37
+ "createVadivamIcon",
38
+ "icons",
39
+ "VadivamProvider",
40
+ "useVadivamContext",
41
+ "IconName",
42
+ "IconNode",
43
+ "SVGAttributes",
44
+ "SVGElementType",
45
+ "VadivamIcon",
46
+ "VadivamProps",
47
+ "IconProps",
48
+ "VadivamProviderProps",
49
+ "DynamicIcon",
50
+ "DynamicIconProps",
51
+ "dynamicIconImports",
52
+ "iconNames",
53
+ "DynamicIconModule",
54
+ "IconName"
55
+ ],
56
+ "iconAliases": [
57
+ [
58
+ "",
59
+ ""
60
+ ],
61
+ [
62
+ "",
63
+ "Icon"
64
+ ],
65
+ [
66
+ "Vadivam",
67
+ ""
68
+ ]
69
+ ]
70
+ },
71
+ "vadivam-react-native": {
72
+ "names": [
73
+ "Icon",
74
+ "IconProps",
75
+ "createVadivamIcon",
76
+ "VadivamProvider",
77
+ "useVadivamContext",
78
+ "VadivamProviderProps",
79
+ "dynamicIconImports",
80
+ "iconNames",
81
+ "IconName",
82
+ "IconNode",
83
+ "SVGElementType",
84
+ "VadivamIcon",
85
+ "VadivamProps",
86
+ "DynamicIcon",
87
+ "DynamicIconProps",
88
+ "dynamicIconImports",
89
+ "iconNames"
90
+ ],
91
+ "iconAliases": [
92
+ [
93
+ "",
94
+ ""
95
+ ],
96
+ [
97
+ "",
98
+ "Icon"
99
+ ],
100
+ [
101
+ "Vadivam",
102
+ ""
103
+ ]
104
+ ]
105
+ },
106
+ "vadivam-vue": {
107
+ "names": [
108
+ "Icon",
109
+ "createVadivamIcon",
110
+ "icons",
111
+ "VADIVAM_CONTEXT",
112
+ "VadivamProvider",
113
+ "provideVadivam",
114
+ "useVadivamContext",
115
+ "dynamicIconImports",
116
+ "iconNames",
117
+ "IconName",
118
+ "IconNode",
119
+ "SVGElementType",
120
+ "VadivamIcon",
121
+ "VadivamProps",
122
+ "DynamicIcon",
123
+ "DynamicIconProps",
124
+ "dynamicIconImports",
125
+ "iconNames"
126
+ ],
127
+ "iconAliases": [
128
+ [
129
+ "",
130
+ ""
131
+ ],
132
+ [
133
+ "",
134
+ "Icon"
135
+ ],
136
+ [
137
+ "Vadivam",
138
+ ""
139
+ ]
140
+ ]
141
+ },
142
+ "vadivam-svelte": {
143
+ "names": [
144
+ "Icon",
145
+ "VadivamProvider",
146
+ "createVadivamIcon",
147
+ "icons",
148
+ "VADIVAM_CONTEXT",
149
+ "getVadivamContext",
150
+ "setVadivamProps",
151
+ "dynamicIconImports",
152
+ "iconNames",
153
+ "IconDefinition",
154
+ "IconName",
155
+ "IconNode",
156
+ "SVGElementType",
157
+ "VadivamIcon",
158
+ "VadivamProps"
159
+ ],
160
+ "iconAliases": [
161
+ [
162
+ "",
163
+ ""
164
+ ],
165
+ [
166
+ "",
167
+ "Icon"
168
+ ],
169
+ [
170
+ "Vadivam",
171
+ ""
172
+ ]
173
+ ]
174
+ },
175
+ "vadivam-solid": {
176
+ "names": [
177
+ "Icon",
178
+ "createVadivamIcon",
179
+ "icons",
180
+ "VadivamContext",
181
+ "VadivamProvider",
182
+ "useVadivamContext",
183
+ "dynamicIconImports",
184
+ "iconNames",
185
+ "IconName",
186
+ "IconNode",
187
+ "SVGElementType",
188
+ "VadivamIcon",
189
+ "VadivamProps",
190
+ "VadivamProviderProps",
191
+ "DynamicIcon",
192
+ "DynamicIconProps",
193
+ "dynamicIconImports",
194
+ "iconNames"
195
+ ],
196
+ "iconAliases": [
197
+ [
198
+ "",
199
+ ""
200
+ ],
201
+ [
202
+ "",
203
+ "Icon"
204
+ ],
205
+ [
206
+ "Vadivam",
207
+ ""
208
+ ]
209
+ ]
210
+ },
211
+ "vadivam-preact": {
212
+ "names": [
213
+ "Icon",
214
+ "createVadivamIcon",
215
+ "icons",
216
+ "VadivamContext",
217
+ "VadivamProvider",
218
+ "useVadivamContext",
219
+ "dynamicIconImports",
220
+ "iconNames",
221
+ "IconName",
222
+ "IconNode",
223
+ "SVGElementType",
224
+ "VadivamIcon",
225
+ "VadivamProps",
226
+ "VadivamProviderProps",
227
+ "DynamicIcon",
228
+ "DynamicIconProps",
229
+ "dynamicIconImports",
230
+ "iconNames"
231
+ ],
232
+ "iconAliases": [
233
+ [
234
+ "",
235
+ ""
236
+ ],
237
+ [
238
+ "",
239
+ "Icon"
240
+ ],
241
+ [
242
+ "Vadivam",
243
+ ""
244
+ ]
245
+ ]
246
+ },
247
+ "vadivam-astro": {
248
+ "names": [
249
+ "Icon",
250
+ "createVadivamIcon",
251
+ "icons",
252
+ "dynamicIconImports",
253
+ "iconNames",
254
+ "IconDefinition",
255
+ "IconName",
256
+ "IconNode",
257
+ "SVGElementType",
258
+ "VadivamIcon",
259
+ "VadivamProps"
260
+ ],
261
+ "iconAliases": [
262
+ [
263
+ "",
264
+ ""
265
+ ],
266
+ [
267
+ "",
268
+ "Icon"
269
+ ],
270
+ [
271
+ "Vadivam",
272
+ ""
273
+ ]
274
+ ]
275
+ },
276
+ "vadivam-angular": {
277
+ "names": [
278
+ "IconNode",
279
+ "SVGElementType",
280
+ "VadivamIconData",
281
+ "VadivamConfig",
282
+ "IconName",
283
+ "VADIVAM_CONFIG",
284
+ "provideVadivamConfig",
285
+ "createVadivamIcon",
286
+ "VadivamIconBase",
287
+ "Icon",
288
+ "icons",
289
+ "DynamicIconModule",
290
+ "dynamicIconImports",
291
+ "iconNames",
292
+ "DynamicIcon"
293
+ ],
294
+ "iconAliases": [
295
+ [
296
+ "",
297
+ ""
298
+ ],
299
+ [
300
+ "",
301
+ "Icon"
302
+ ],
303
+ [
304
+ "Vadivam",
305
+ ""
306
+ ],
307
+ [
308
+ "",
309
+ "Node"
310
+ ]
311
+ ]
312
+ },
313
+ "vadivam-qwik": {
314
+ "names": [
315
+ "Icon",
316
+ "createVadivamIcon",
317
+ "icons",
318
+ "IconProps",
319
+ "IconName",
320
+ "IconNode",
321
+ "SVGElementType",
322
+ "VadivamIcon",
323
+ "VadivamProps"
324
+ ],
325
+ "iconAliases": [
326
+ [
327
+ "",
328
+ ""
329
+ ],
330
+ [
331
+ "",
332
+ "Icon"
333
+ ],
334
+ [
335
+ "Vadivam",
336
+ ""
337
+ ]
338
+ ]
339
+ },
340
+ "vadivam-lit": {
341
+ "names": [
342
+ "Icon",
343
+ "createVadivamIcon",
344
+ "icons",
345
+ "dynamicIconImports",
346
+ "iconNames",
347
+ "IconProps",
348
+ "IconName",
349
+ "IconNode",
350
+ "SVGElementType",
351
+ "VadivamIcon",
352
+ "VadivamProps",
353
+ "DynamicIcon",
354
+ "DynamicIconProps",
355
+ "dynamicIconImports",
356
+ "iconNames"
357
+ ],
358
+ "iconAliases": [
359
+ [
360
+ "",
361
+ ""
362
+ ],
363
+ [
364
+ "",
365
+ "Icon"
366
+ ],
367
+ [
368
+ "Vadivam",
369
+ ""
370
+ ]
371
+ ]
372
+ }
373
+ };
374
+ export const lucidePackages = {
375
+ "lucide": "vadivam",
376
+ "lucide-react": "vadivam-react",
377
+ "lucide-react-native": "vadivam-react-native",
378
+ "lucide-vue-next": "vadivam-vue",
379
+ "@lucide/vue": "vadivam-vue",
380
+ "lucide-svelte": "vadivam-svelte",
381
+ "@lucide/svelte": "vadivam-svelte",
382
+ "lucide-solid": "vadivam-solid",
383
+ "lucide-preact": "vadivam-preact",
384
+ "@lucide/astro": "vadivam-astro"
385
+ };
386
+ export const manualLucidePackages = {
387
+ "lucide-static": "use vadivam/icons/<name>.svg, vadivam/strings/<name>, the sprite, or the font",
388
+ "lucide-vue": "Vue 2 is not supported; vadivam-vue targets Vue 3",
389
+ "lucide-angular": "vadivam-angular uses one standalone directive per icon",
390
+ "@lucide/angular": "vadivam-angular uses one standalone directive per icon"
391
+ };
392
+ export const siteUrl = "https://vadivam.praveenjuge.com";