@bettercms-ai/astro 0.23.0 → 0.24.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/README.md +227 -227
- package/components/BcmsBlocks.astro +640 -640
- package/components/BcmsButton.astro +44 -44
- package/components/BcmsField.astro +30 -30
- package/components/BcmsForm.astro +360 -360
- package/components/BcmsImage.astro +112 -112
- package/components/BcmsLive.astro +66 -66
- package/components/BcmsLiveBlocks.astro +72 -72
- package/components/BcmsSearch.astro +23 -23
- package/components/BcmsVisualEditing.astro +26 -26
- package/dist/bindings.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/middleware-entry.js.map +1 -1
- package/dist/routes/draft-disable.js.map +1 -1
- package/dist/routes/draft-enable.js.map +1 -1
- package/dist/runtime.js.map +1 -1
- package/env.d.ts +35 -35
- package/package.json +86 -86
package/package.json
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@bettercms-ai/astro",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "The BetterCMS adapter for Astro — a `bettercms()` integration, a `bettercms:client` virtual module, typed content loaders, draft preview, and native .astro rendering components.",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"sideEffects": false,
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
|
-
"import": "./dist/index.js",
|
|
14
|
-
"default": "./dist/index.js"
|
|
15
|
-
},
|
|
16
|
-
"./runtime": {
|
|
17
|
-
"types": "./dist/runtime.d.ts",
|
|
18
|
-
"import": "./dist/runtime.js",
|
|
19
|
-
"default": "./dist/runtime.js"
|
|
20
|
-
},
|
|
21
|
-
"./bindings": {
|
|
22
|
-
"types": "./dist/bindings.d.ts",
|
|
23
|
-
"import": "./dist/bindings.js",
|
|
24
|
-
"default": "./dist/bindings.js"
|
|
25
|
-
},
|
|
26
|
-
"./middleware": {
|
|
27
|
-
"types": "./dist/middleware-entry.d.ts",
|
|
28
|
-
"import": "./dist/middleware-entry.js",
|
|
29
|
-
"default": "./dist/middleware-entry.js"
|
|
30
|
-
},
|
|
31
|
-
"./draft-enable": "./dist/routes/draft-enable.js",
|
|
32
|
-
"./draft-disable": "./dist/routes/draft-disable.js",
|
|
33
|
-
"./components/BcmsBlocks.astro": "./components/BcmsBlocks.astro",
|
|
34
|
-
"./components/BcmsLiveBlocks.astro": "./components/BcmsLiveBlocks.astro",
|
|
35
|
-
"./components/BcmsField.astro": "./components/BcmsField.astro",
|
|
36
|
-
"./components/BcmsButton.astro": "./components/BcmsButton.astro",
|
|
37
|
-
"./components/BcmsForm.astro": "./components/BcmsForm.astro",
|
|
38
|
-
"./components/BcmsSearch.astro": "./components/BcmsSearch.astro",
|
|
39
|
-
"./components/BcmsImage.astro": "./components/BcmsImage.astro",
|
|
40
|
-
"./components/BcmsLive.astro": "./components/BcmsLive.astro",
|
|
41
|
-
"./components/BcmsVisualEditing.astro": "./components/BcmsVisualEditing.astro",
|
|
42
|
-
"./env": "./env.d.ts"
|
|
43
|
-
},
|
|
44
|
-
"files": [
|
|
45
|
-
"dist",
|
|
46
|
-
"components",
|
|
47
|
-
"env.d.ts",
|
|
48
|
-
"README.md"
|
|
49
|
-
],
|
|
50
|
-
"scripts": {
|
|
51
|
-
"typecheck": "tsc --noEmit",
|
|
52
|
-
"build": "tsup",
|
|
53
|
-
"test": "vitest run",
|
|
54
|
-
"test:watch": "vitest"
|
|
55
|
-
},
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@bettercms-ai/image-url": "^0.4.0",
|
|
58
|
-
"@bettercms-ai/next": "^0.
|
|
59
|
-
"@bettercms-ai/richtext": "^0.8.1",
|
|
60
|
-
"@bettercms-ai/sdk": "^1.28.0",
|
|
61
|
-
"@bettercms-ai/types": "^1.
|
|
62
|
-
"@bettercms-ai/ui": "^0.15.0",
|
|
63
|
-
"libphonenumber-js": "^1.13.13"
|
|
64
|
-
},
|
|
65
|
-
"peerDependencies": {
|
|
66
|
-
"astro": ">=4",
|
|
67
|
-
"@astrojs/preact": ">=4"
|
|
68
|
-
},
|
|
69
|
-
"devDependencies": {
|
|
70
|
-
"@types/node": "^20",
|
|
71
|
-
"astro": "^7.2.8",
|
|
72
|
-
"tsup": "^8.5.1",
|
|
73
|
-
"typescript": "^5",
|
|
74
|
-
"vitest": "^4.1.4",
|
|
75
|
-
"@types/react": "^19.0.0"
|
|
76
|
-
},
|
|
77
|
-
"publishConfig": {
|
|
78
|
-
"registry": "https://registry.npmjs.org/",
|
|
79
|
-
"access": "public"
|
|
80
|
-
},
|
|
81
|
-
"peerDependenciesMeta": {
|
|
82
|
-
"@astrojs/preact": {
|
|
83
|
-
"optional": true
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@bettercms-ai/astro",
|
|
3
|
+
"version": "0.24.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "The BetterCMS adapter for Astro — a `bettercms()` integration, a `bettercms:client` virtual module, typed content loaders, draft preview, and native .astro rendering components.",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./runtime": {
|
|
17
|
+
"types": "./dist/runtime.d.ts",
|
|
18
|
+
"import": "./dist/runtime.js",
|
|
19
|
+
"default": "./dist/runtime.js"
|
|
20
|
+
},
|
|
21
|
+
"./bindings": {
|
|
22
|
+
"types": "./dist/bindings.d.ts",
|
|
23
|
+
"import": "./dist/bindings.js",
|
|
24
|
+
"default": "./dist/bindings.js"
|
|
25
|
+
},
|
|
26
|
+
"./middleware": {
|
|
27
|
+
"types": "./dist/middleware-entry.d.ts",
|
|
28
|
+
"import": "./dist/middleware-entry.js",
|
|
29
|
+
"default": "./dist/middleware-entry.js"
|
|
30
|
+
},
|
|
31
|
+
"./draft-enable": "./dist/routes/draft-enable.js",
|
|
32
|
+
"./draft-disable": "./dist/routes/draft-disable.js",
|
|
33
|
+
"./components/BcmsBlocks.astro": "./components/BcmsBlocks.astro",
|
|
34
|
+
"./components/BcmsLiveBlocks.astro": "./components/BcmsLiveBlocks.astro",
|
|
35
|
+
"./components/BcmsField.astro": "./components/BcmsField.astro",
|
|
36
|
+
"./components/BcmsButton.astro": "./components/BcmsButton.astro",
|
|
37
|
+
"./components/BcmsForm.astro": "./components/BcmsForm.astro",
|
|
38
|
+
"./components/BcmsSearch.astro": "./components/BcmsSearch.astro",
|
|
39
|
+
"./components/BcmsImage.astro": "./components/BcmsImage.astro",
|
|
40
|
+
"./components/BcmsLive.astro": "./components/BcmsLive.astro",
|
|
41
|
+
"./components/BcmsVisualEditing.astro": "./components/BcmsVisualEditing.astro",
|
|
42
|
+
"./env": "./env.d.ts"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"components",
|
|
47
|
+
"env.d.ts",
|
|
48
|
+
"README.md"
|
|
49
|
+
],
|
|
50
|
+
"scripts": {
|
|
51
|
+
"typecheck": "tsc --noEmit",
|
|
52
|
+
"build": "tsup",
|
|
53
|
+
"test": "vitest run",
|
|
54
|
+
"test:watch": "vitest"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@bettercms-ai/image-url": "^0.4.0",
|
|
58
|
+
"@bettercms-ai/next": "^0.23.0",
|
|
59
|
+
"@bettercms-ai/richtext": "^0.8.1",
|
|
60
|
+
"@bettercms-ai/sdk": "^1.28.0",
|
|
61
|
+
"@bettercms-ai/types": "^1.40.0",
|
|
62
|
+
"@bettercms-ai/ui": "^0.15.0",
|
|
63
|
+
"libphonenumber-js": "^1.13.13"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"astro": ">=4",
|
|
67
|
+
"@astrojs/preact": ">=4"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@types/node": "^20",
|
|
71
|
+
"astro": "^7.2.8",
|
|
72
|
+
"tsup": "^8.5.1",
|
|
73
|
+
"typescript": "^5",
|
|
74
|
+
"vitest": "^4.1.4",
|
|
75
|
+
"@types/react": "^19.0.0"
|
|
76
|
+
},
|
|
77
|
+
"publishConfig": {
|
|
78
|
+
"registry": "https://registry.npmjs.org/",
|
|
79
|
+
"access": "public"
|
|
80
|
+
},
|
|
81
|
+
"peerDependenciesMeta": {
|
|
82
|
+
"@astrojs/preact": {
|
|
83
|
+
"optional": true
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|