@dualmark/astro 0.2.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.
- package/LICENSE +21 -0
- package/README.md +88 -0
- package/dist/endpoints/collection.cjs +24 -0
- package/dist/endpoints/collection.cjs.map +1 -0
- package/dist/endpoints/collection.d.cts +27 -0
- package/dist/endpoints/collection.d.ts +27 -0
- package/dist/endpoints/collection.js +22 -0
- package/dist/endpoints/collection.js.map +1 -0
- package/dist/endpoints/listing.cjs +34 -0
- package/dist/endpoints/listing.cjs.map +1 -0
- package/dist/endpoints/listing.d.cts +20 -0
- package/dist/endpoints/listing.d.ts +20 -0
- package/dist/endpoints/listing.js +32 -0
- package/dist/endpoints/listing.js.map +1 -0
- package/dist/endpoints/llms-txt.cjs +23 -0
- package/dist/endpoints/llms-txt.cjs.map +1 -0
- package/dist/endpoints/llms-txt.d.cts +12 -0
- package/dist/endpoints/llms-txt.d.ts +12 -0
- package/dist/endpoints/llms-txt.js +21 -0
- package/dist/endpoints/llms-txt.js.map +1 -0
- package/dist/endpoints/parameterized.cjs +18 -0
- package/dist/endpoints/parameterized.cjs.map +1 -0
- package/dist/endpoints/parameterized.d.cts +25 -0
- package/dist/endpoints/parameterized.d.ts +25 -0
- package/dist/endpoints/parameterized.js +16 -0
- package/dist/endpoints/parameterized.js.map +1 -0
- package/dist/endpoints/static.cjs +17 -0
- package/dist/endpoints/static.cjs.map +1 -0
- package/dist/endpoints/static.d.cts +11 -0
- package/dist/endpoints/static.d.ts +11 -0
- package/dist/endpoints/static.js +15 -0
- package/dist/endpoints/static.js.map +1 -0
- package/dist/index.cjs +316 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +54 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +307 -0
- package/dist/index.js.map +1 -0
- package/dist/middleware.cjs +22 -0
- package/dist/middleware.cjs.map +1 -0
- package/dist/middleware.d.cts +9 -0
- package/dist/middleware.d.ts +9 -0
- package/dist/middleware.js +19 -0
- package/dist/middleware.js.map +1 -0
- package/dist/types-BPk2cf2p.d.cts +64 -0
- package/dist/types-BPk2cf2p.d.ts +64 -0
- package/dist/virtual.cjs +10 -0
- package/dist/virtual.cjs.map +1 -0
- package/dist/virtual.d.cts +7 -0
- package/dist/virtual.d.ts +7 -0
- package/dist/virtual.js +8 -0
- package/dist/virtual.js.map +1 -0
- package/package.json +102 -0
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dualmark/astro",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Astro integration for the Dualmark AEO framework. Auto-generates .md endpoints from collection config + injects Link rel=alternate middleware + generates llms.txt.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Dodo Payments <opensource@dodopayments.com> (https://dodopayments.com)",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/dodopayments/dualmark.git",
|
|
10
|
+
"directory": "packages/astro"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/dodopayments/dualmark/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/dodopayments/dualmark/tree/main/packages/astro#readme",
|
|
16
|
+
"funding": "https://github.com/sponsors/dodopayments",
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.js",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./middleware": {
|
|
28
|
+
"types": "./dist/middleware.d.ts",
|
|
29
|
+
"import": "./dist/middleware.js"
|
|
30
|
+
},
|
|
31
|
+
"./endpoints/collection": {
|
|
32
|
+
"types": "./dist/endpoints/collection.d.ts",
|
|
33
|
+
"import": "./dist/endpoints/collection.js"
|
|
34
|
+
},
|
|
35
|
+
"./endpoints/listing": {
|
|
36
|
+
"types": "./dist/endpoints/listing.d.ts",
|
|
37
|
+
"import": "./dist/endpoints/listing.js"
|
|
38
|
+
},
|
|
39
|
+
"./endpoints/static": {
|
|
40
|
+
"types": "./dist/endpoints/static.d.ts",
|
|
41
|
+
"import": "./dist/endpoints/static.js"
|
|
42
|
+
},
|
|
43
|
+
"./endpoints/parameterized": {
|
|
44
|
+
"types": "./dist/endpoints/parameterized.d.ts",
|
|
45
|
+
"import": "./dist/endpoints/parameterized.js"
|
|
46
|
+
},
|
|
47
|
+
"./endpoints/llms-txt": {
|
|
48
|
+
"types": "./dist/endpoints/llms-txt.d.ts",
|
|
49
|
+
"import": "./dist/endpoints/llms-txt.js"
|
|
50
|
+
},
|
|
51
|
+
"./virtual": {
|
|
52
|
+
"types": "./dist/virtual.d.ts",
|
|
53
|
+
"import": "./dist/virtual.js"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"dist",
|
|
58
|
+
"README.md",
|
|
59
|
+
"LICENSE"
|
|
60
|
+
],
|
|
61
|
+
"sideEffects": false,
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "tsup",
|
|
64
|
+
"test": "vitest run",
|
|
65
|
+
"test:watch": "vitest",
|
|
66
|
+
"typecheck": "tsc --noEmit",
|
|
67
|
+
"clean": "rm -rf dist .turbo"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"astro": "^5.0.0"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@dualmark/core": "workspace:*",
|
|
74
|
+
"@dualmark/converters": "workspace:*"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@types/node": "^22.10.0",
|
|
78
|
+
"astro": "^5.0.0",
|
|
79
|
+
"tsup": "^8.3.5",
|
|
80
|
+
"typescript": "^5.7.2",
|
|
81
|
+
"vitest": "^2.1.8"
|
|
82
|
+
},
|
|
83
|
+
"publishConfig": {
|
|
84
|
+
"access": "public",
|
|
85
|
+
"registry": "https://registry.npmjs.org"
|
|
86
|
+
},
|
|
87
|
+
"keywords": [
|
|
88
|
+
"aeo",
|
|
89
|
+
"answer-engine-optimization",
|
|
90
|
+
"astro",
|
|
91
|
+
"astro-integration",
|
|
92
|
+
"astro-component",
|
|
93
|
+
"withastro",
|
|
94
|
+
"ai-search",
|
|
95
|
+
"markdown",
|
|
96
|
+
"llms-txt",
|
|
97
|
+
"dualmark"
|
|
98
|
+
],
|
|
99
|
+
"engines": {
|
|
100
|
+
"node": ">=18.18.0"
|
|
101
|
+
}
|
|
102
|
+
}
|