sanity-plugin-seo-copilot 0.2.15 → 0.2.17

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 (43) hide show
  1. package/README.md +63 -50
  2. package/dist/index.d.mts +1 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +898 -809
  5. package/dist/index.mjs +822 -733
  6. package/package.json +5 -7
  7. package/dist/index.js.map +0 -1
  8. package/dist/index.mjs.map +0 -1
  9. package/sanity.json +0 -3
  10. package/src/components/ChatPanel.tsx +0 -311
  11. package/src/components/ConfigContext.tsx +0 -22
  12. package/src/components/FeedbackButton.tsx +0 -218
  13. package/src/components/KeywordBadge.tsx +0 -50
  14. package/src/components/KeywordPanel.tsx +0 -1234
  15. package/src/components/OnboardingPopup.tsx +0 -108
  16. package/src/components/PlacementIndicators.tsx +0 -80
  17. package/src/components/ReportProblemButton.tsx +0 -212
  18. package/src/components/SEOCopilotPanel.tsx +0 -1287
  19. package/src/components/ScoreDonut.tsx +0 -158
  20. package/src/components/SeedKeywordInput.tsx +0 -128
  21. package/src/components/ShimmerLoader.tsx +0 -123
  22. package/src/components/TabBar.tsx +0 -373
  23. package/src/components/styles.ts +0 -158
  24. package/src/components/tabs/AEOTab.tsx +0 -585
  25. package/src/components/tabs/LinkingTab.tsx +0 -446
  26. package/src/components/tabs/MetaTab.tsx +0 -431
  27. package/src/components/tabs/SummaryTab.tsx +0 -405
  28. package/src/components/tabs/TechnicalTab.tsx +0 -933
  29. package/src/hooks/useDocumentContent.ts +0 -48
  30. package/src/hooks/useKeywordAnalysis.ts +0 -292
  31. package/src/hooks/useSEOChat.ts +0 -254
  32. package/src/index.ts +0 -18
  33. package/src/inspector.ts +0 -58
  34. package/src/lib/api.ts +0 -262
  35. package/src/lib/apiKey.ts +0 -30
  36. package/src/lib/documentExtract.ts +0 -422
  37. package/src/lib/geoAnalysis.ts +0 -122
  38. package/src/lib/persistence.ts +0 -69
  39. package/src/lib/scoring.ts +0 -197
  40. package/src/lib/summary.ts +0 -645
  41. package/src/lib/types.ts +0 -212
  42. package/src/lib/utils.ts +0 -35
  43. package/v2-incompatible.js +0 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanity-plugin-seo-copilot",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "description": "AI-powered SEO writing assistant for Sanity Studio",
5
5
  "keywords": [
6
6
  "sanity",
@@ -12,7 +12,6 @@
12
12
  "author": "MJH Life Sciences",
13
13
  "exports": {
14
14
  ".": {
15
- "source": "./src/index.ts",
16
15
  "import": "./dist/index.mjs",
17
16
  "require": "./dist/index.js",
18
17
  "default": "./dist/index.js"
@@ -23,14 +22,11 @@
23
22
  "module": "./dist/index.mjs",
24
23
  "types": "./dist/index.d.ts",
25
24
  "files": [
26
- "dist",
27
- "sanity.json",
28
- "src",
29
- "v2-incompatible.js",
30
- "!src/**/*.test.ts"
25
+ "dist"
31
26
  ],
32
27
  "scripts": {
33
28
  "build": "tsup",
29
+ "prepare": "npm run build",
34
30
  "prepublishOnly": "npm run build",
35
31
  "test": "vitest run"
36
32
  },
@@ -41,8 +37,10 @@
41
37
  "devDependencies": {
42
38
  "@sanity/icons": "^3.7.4",
43
39
  "@sanity/ui": "^3.1.13",
40
+ "@testing-library/react": "^16.3.3",
44
41
  "@types/react": "^19.0.0",
45
42
  "@types/react-dom": "^19.2.3",
43
+ "happy-dom": "^20.14.5",
46
44
  "react": "^19.2.4",
47
45
  "react-dom": "^19.2.4",
48
46
  "sanity": "^5.13.0",