@pseolint/core 0.6.6 → 0.7.0

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 (38) hide show
  1. package/README.md +3 -3
  2. package/dist/algorithms/fact-extraction.d.ts +46 -0
  3. package/dist/algorithms/fact-extraction.d.ts.map +1 -0
  4. package/dist/algorithms/fact-extraction.js +217 -0
  5. package/dist/algorithms/fact-extraction.js.map +1 -0
  6. package/dist/auditor.d.ts.map +1 -1
  7. package/dist/auditor.js +16 -0
  8. package/dist/auditor.js.map +1 -1
  9. package/dist/index.d.ts +4 -0
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +3 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/origin-preflight.d.ts +89 -0
  14. package/dist/origin-preflight.d.ts.map +1 -0
  15. package/dist/origin-preflight.js +93 -0
  16. package/dist/origin-preflight.js.map +1 -0
  17. package/dist/rule-references.d.ts.map +1 -1
  18. package/dist/rule-references.js +1 -0
  19. package/dist/rule-references.js.map +1 -1
  20. package/dist/rules/aeo/citable-facts.d.ts.map +1 -1
  21. package/dist/rules/aeo/citable-facts.js +4 -33
  22. package/dist/rules/aeo/citable-facts.js.map +1 -1
  23. package/dist/rules/content/citation-coverage.d.ts +11 -0
  24. package/dist/rules/content/citation-coverage.d.ts.map +1 -0
  25. package/dist/rules/content/citation-coverage.js +43 -0
  26. package/dist/rules/content/citation-coverage.js.map +1 -0
  27. package/dist/rules/content/value-add.d.ts.map +1 -1
  28. package/dist/rules/content/value-add.js +3 -1
  29. package/dist/rules/content/value-add.js.map +1 -1
  30. package/dist/rules/scope.d.ts.map +1 -1
  31. package/dist/rules/scope.js +1 -0
  32. package/dist/rules/scope.js.map +1 -1
  33. package/dist/site-classifier.d.ts.map +1 -1
  34. package/dist/site-classifier.js +1 -0
  35. package/dist/site-classifier.js.map +1 -1
  36. package/dist/types.d.ts +6 -0
  37. package/dist/types.d.ts.map +1 -1
  38. package/package.json +93 -93
package/package.json CHANGED
@@ -1,94 +1,94 @@
1
- {
2
- "name": "@pseolint/core",
3
- "version": "0.6.6",
4
- "description": "Programmatic SEO audit engine — 32 rules across 4 categories (integrity, discoverability, citation, data) for SpamBrain risk + AI Overview citability. v0.4 verdict ladder + site classifier.",
5
- "license": "MIT",
6
- "author": "Ouranos Labs <contact@ouranos-labs.dev>",
7
- "homepage": "https://pseolint.dev",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/ouranos-labs/pseolint.git",
11
- "directory": "packages/core"
12
- },
13
- "keywords": [
14
- "seo",
15
- "pseo",
16
- "programmatic-seo",
17
- "spambrain",
18
- "lint",
19
- "audit"
20
- ],
21
- "type": "module",
22
- "exports": {
23
- ".": {
24
- "import": "./dist/index.js",
25
- "types": "./dist/index.d.ts"
26
- },
27
- "./schemas/audit-summary.schema.json": "./schemas/audit-summary.schema.json"
28
- },
29
- "main": "dist/index.js",
30
- "types": "dist/index.d.ts",
31
- "engines": {
32
- "node": ">=18"
33
- },
34
- "files": [
35
- "dist",
36
- "schemas"
37
- ],
38
- "scripts": {
39
- "build": "tsc -p tsconfig.json",
40
- "build-wikipedia-bloom": "bun run scripts/build-wikipedia-bloom.ts",
41
- "lint": "tsc --noEmit -p tsconfig.json",
42
- "test": "vitest run --passWithNoTests tests/**/*.test.ts",
43
- "typecheck": "tsc --noEmit -p tsconfig.json"
44
- },
45
- "dependencies": {
46
- "ai": "^5.0.0",
47
- "cheerio": "^1.2.0",
48
- "zod": "^4.3.6"
49
- },
50
- "peerDependencies": {
51
- "playwright-core": ">=1.40.0",
52
- "@ai-sdk/anthropic": "^2.0.0",
53
- "@ai-sdk/openai": "^2.0.0",
54
- "@ai-sdk/google": "^2.0.0",
55
- "@ai-sdk/mistral": "^2.0.0",
56
- "@ai-sdk/groq": "^2.0.0",
57
- "@ai-sdk/xai": "^2.0.0",
58
- "@ai-sdk/cohere": "^2.0.0",
59
- "ollama-ai-provider-v2": "^1.0.0"
60
- },
61
- "peerDependenciesMeta": {
62
- "playwright-core": {
63
- "optional": true
64
- },
65
- "@ai-sdk/anthropic": {
66
- "optional": true
67
- },
68
- "@ai-sdk/openai": {
69
- "optional": true
70
- },
71
- "@ai-sdk/google": {
72
- "optional": true
73
- },
74
- "@ai-sdk/mistral": {
75
- "optional": true
76
- },
77
- "@ai-sdk/groq": {
78
- "optional": true
79
- },
80
- "@ai-sdk/xai": {
81
- "optional": true
82
- },
83
- "@ai-sdk/cohere": {
84
- "optional": true
85
- },
86
- "ollama-ai-provider-v2": {
87
- "optional": true
88
- }
89
- },
90
- "devDependencies": {
91
- "@ai-sdk/anthropic": "^2.0.0",
92
- "ollama-ai-provider-v2": "^1.0.0"
93
- }
1
+ {
2
+ "name": "@pseolint/core",
3
+ "version": "0.7.0",
4
+ "description": "Programmatic SEO audit engine — 32 rules across 4 categories (integrity, discoverability, citation, data) for SpamBrain risk + AI Overview citability. v0.4 verdict ladder + site classifier.",
5
+ "license": "MIT",
6
+ "author": "Ouranos Labs <contact@ouranos-labs.dev>",
7
+ "homepage": "https://pseolint.dev",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/ouranos-labs/pseolint.git",
11
+ "directory": "packages/core"
12
+ },
13
+ "keywords": [
14
+ "seo",
15
+ "pseo",
16
+ "programmatic-seo",
17
+ "spambrain",
18
+ "lint",
19
+ "audit"
20
+ ],
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js",
25
+ "types": "./dist/index.d.ts"
26
+ },
27
+ "./schemas/audit-summary.schema.json": "./schemas/audit-summary.schema.json"
28
+ },
29
+ "main": "dist/index.js",
30
+ "types": "dist/index.d.ts",
31
+ "engines": {
32
+ "node": ">=18"
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "schemas"
37
+ ],
38
+ "scripts": {
39
+ "build": "tsc -p tsconfig.json",
40
+ "build-wikipedia-bloom": "bun run scripts/build-wikipedia-bloom.ts",
41
+ "lint": "tsc --noEmit -p tsconfig.json",
42
+ "test": "vitest run --passWithNoTests tests/**/*.test.ts",
43
+ "typecheck": "tsc --noEmit -p tsconfig.json"
44
+ },
45
+ "dependencies": {
46
+ "ai": "^5.0.0",
47
+ "cheerio": "^1.2.0",
48
+ "zod": "^4.3.6"
49
+ },
50
+ "peerDependencies": {
51
+ "playwright-core": ">=1.40.0",
52
+ "@ai-sdk/anthropic": "^2.0.0",
53
+ "@ai-sdk/openai": "^2.0.0",
54
+ "@ai-sdk/google": "^2.0.0",
55
+ "@ai-sdk/mistral": "^2.0.0",
56
+ "@ai-sdk/groq": "^2.0.0",
57
+ "@ai-sdk/xai": "^2.0.0",
58
+ "@ai-sdk/cohere": "^2.0.0",
59
+ "ollama-ai-provider-v2": "^1.0.0"
60
+ },
61
+ "peerDependenciesMeta": {
62
+ "playwright-core": {
63
+ "optional": true
64
+ },
65
+ "@ai-sdk/anthropic": {
66
+ "optional": true
67
+ },
68
+ "@ai-sdk/openai": {
69
+ "optional": true
70
+ },
71
+ "@ai-sdk/google": {
72
+ "optional": true
73
+ },
74
+ "@ai-sdk/mistral": {
75
+ "optional": true
76
+ },
77
+ "@ai-sdk/groq": {
78
+ "optional": true
79
+ },
80
+ "@ai-sdk/xai": {
81
+ "optional": true
82
+ },
83
+ "@ai-sdk/cohere": {
84
+ "optional": true
85
+ },
86
+ "ollama-ai-provider-v2": {
87
+ "optional": true
88
+ }
89
+ },
90
+ "devDependencies": {
91
+ "@ai-sdk/anthropic": "^2.0.0",
92
+ "ollama-ai-provider-v2": "^1.0.0"
93
+ }
94
94
  }