sanity-plugin-seo-copilot 0.2.15 → 0.2.16

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