create-flexireact 1.0.0 → 1.0.1

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/index.js +16 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -295,7 +295,7 @@ module.exports = {
295
295
  };
296
296
  `,
297
297
 
298
- 'flexireact.config.js': (name, template) => `/** @type {import('flexireact').Config} */
298
+ 'flexireact.config.js': (name, template) => `/** @type {import('@flexireact/core').Config} */
299
299
  export default {
300
300
  // Styles to include
301
301
  styles: [
@@ -303,6 +303,9 @@ export default {
303
303
  'https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'
304
304
  ],
305
305
 
306
+ // Favicon
307
+ favicon: '/favicon.svg',
308
+
306
309
  // Server options
307
310
  server: {
308
311
  port: 3000
@@ -506,6 +509,18 @@ export default function RootLayout({ children }: LayoutProps) {
506
509
  `,
507
510
 
508
511
  'public/.gitkeep': () => '',
512
+
513
+ 'public/favicon.svg': () => `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
514
+ <defs>
515
+ <linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%">
516
+ <stop offset="0%" style="stop-color:#10b981"/>
517
+ <stop offset="100%" style="stop-color:#06b6d4"/>
518
+ </linearGradient>
519
+ </defs>
520
+ <rect width="100" height="100" rx="20" fill="#0f172a"/>
521
+ <path d="M25 70V30h30v10H37v8h15v10H37v12H25z" fill="url(#grad)"/>
522
+ <circle cx="65" cy="65" r="8" fill="url(#grad)"/>
523
+ </svg>`,
509
524
  };
510
525
 
511
526
  // ============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-flexireact",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Create FlexiReact apps with one command - The Modern React Framework",
5
5
  "author": "FlexiReact Team",
6
6
  "license": "MIT",