@flightdev/seo 0.2.0 → 0.2.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/README.md +12 -12
  2. package/package.json +7 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @flight-framework/seo
1
+ # @flightdev/seo
2
2
 
3
3
  Native SEO and head management for Flight Framework. Zero dependencies, framework-agnostic, SSR-first.
4
4
 
@@ -16,7 +16,7 @@ Native SEO and head management for Flight Framework. Zero dependencies, framewor
16
16
  ## Installation
17
17
 
18
18
  ```bash
19
- npm install @flight-framework/seo
19
+ npm install @flightdev/seo
20
20
  ```
21
21
 
22
22
  ## Quick Start
@@ -24,7 +24,7 @@ npm install @flight-framework/seo
24
24
  ### Core API
25
25
 
26
26
  ```typescript
27
- import { createSEO, defineMeta } from '@flight-framework/seo';
27
+ import { createSEO, defineMeta } from '@flightdev/seo';
28
28
 
29
29
  const seo = createSEO({
30
30
  baseUrl: 'https://example.com',
@@ -52,7 +52,7 @@ const { html, tags } = seo.render(metadata);
52
52
  ### React
53
53
 
54
54
  ```tsx
55
- import { SEO, JsonLd } from '@flight-framework/seo/react';
55
+ import { SEO, JsonLd } from '@flightdev/seo/react';
56
56
 
57
57
  export default function ProductPage({ product }) {
58
58
  return (
@@ -86,7 +86,7 @@ export default function ProductPage({ product }) {
86
86
 
87
87
  ```vue
88
88
  <script setup>
89
- import { useSEO, useJsonLd } from '@flight-framework/seo/vue';
89
+ import { useSEO, useJsonLd } from '@flightdev/seo/vue';
90
90
 
91
91
  const product = defineProps(['product']);
92
92
 
@@ -114,7 +114,7 @@ useJsonLd({
114
114
  ### Solid
115
115
 
116
116
  ```tsx
117
- import { SEO, JsonLd } from '@flight-framework/seo/solid';
117
+ import { SEO, JsonLd } from '@flightdev/seo/solid';
118
118
 
119
119
  export default function ProductPage(props) {
120
120
  return (
@@ -134,7 +134,7 @@ export default function ProductPage(props) {
134
134
 
135
135
  ```svelte
136
136
  <script>
137
- import { generateMetadataHtml, createJsonLdScript } from '@flight-framework/seo/svelte';
137
+ import { generateMetadataHtml, createJsonLdScript } from '@flightdev/seo/svelte';
138
138
 
139
139
  export let product;
140
140
  </script>
@@ -240,7 +240,7 @@ import {
240
240
  productJsonLd,
241
241
  breadcrumbJsonLd,
242
242
  faqJsonLd,
243
- } from '@flight-framework/seo/json-ld';
243
+ } from '@flightdev/seo/json-ld';
244
244
 
245
245
  // Generic
246
246
  const jsonLd = createJsonLd({
@@ -286,7 +286,7 @@ const faq = faqJsonLd([
286
286
  ## Sitemap Generation
287
287
 
288
288
  ```typescript
289
- import { createSitemap, createSitemapIndex } from '@flight-framework/seo/sitemap';
289
+ import { createSitemap, createSitemapIndex } from '@flightdev/seo/sitemap';
290
290
 
291
291
  const sitemap = createSitemap({
292
292
  baseUrl: 'https://example.com',
@@ -315,7 +315,7 @@ const indexXml = index.generate();
315
315
  ## robots.txt Generation
316
316
 
317
317
  ```typescript
318
- import { createRobots, standardRobots } from '@flight-framework/seo/robots';
318
+ import { createRobots, standardRobots } from '@flightdev/seo/robots';
319
319
 
320
320
  // Custom
321
321
  const robots = createRobots();
@@ -336,7 +336,7 @@ const standard = standardRobots({
336
336
 
337
337
  ```typescript
338
338
  // In your server entry
339
- import { createSEO, createHeadManager } from '@flight-framework/seo';
339
+ import { createSEO, createHeadManager } from '@flightdev/seo';
340
340
 
341
341
  const seo = createSEO({ baseUrl: 'https://example.com' });
342
342
 
@@ -361,7 +361,7 @@ export function render(url: string, metadata: Metadata): string {
361
361
 
362
362
  ```typescript
363
363
  // src/routes/products/[id].page.tsx
364
- import { defineMeta } from '@flight-framework/seo';
364
+ import { defineMeta } from '@flightdev/seo';
365
365
 
366
366
  export async function generateMetadata({ params }) {
367
367
  const product = await getProduct(params.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flightdev/seo",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Native SEO and head management for Flight Framework. Meta tags, Open Graph, Twitter Cards, JSON-LD, sitemap, and robots.txt generation.",
5
5
  "keywords": [
6
6
  "flight",
@@ -117,6 +117,12 @@
117
117
  "optional": true
118
118
  }
119
119
  },
120
+ "homepage": "https://github.com/EliosLT/FlightDev",
121
+ "repository": {
122
+ "url": "https://github.com/EliosLT/FlightDev.git",
123
+ "directory": "packages/seo",
124
+ "type": "git"
125
+ },
120
126
  "scripts": {
121
127
  "build": "tsup",
122
128
  "dev": "tsup --watch",