vestrycms 0.0.0-stage → 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 +383 -2
- package/dist/config/fields.d.ts +30 -0
- package/dist/config/fields.js +75 -0
- package/dist/config/index.d.ts +9 -0
- package/dist/config/index.js +18 -0
- package/dist/config/types.d.ts +412 -0
- package/dist/config/types.js +10 -0
- package/dist/core/api.d.ts +67 -0
- package/dist/core/api.js +543 -0
- package/dist/core/auth.d.ts +1597 -0
- package/dist/core/auth.js +264 -0
- package/dist/core/cache.d.ts +27 -0
- package/dist/core/cache.js +52 -0
- package/dist/core/entries.d.ts +19 -0
- package/dist/core/entries.js +127 -0
- package/dist/core/index-types.d.ts +20 -0
- package/dist/core/index-types.js +1 -0
- package/dist/core/index.d.ts +13 -0
- package/dist/core/index.js +13 -0
- package/dist/core/mail.d.ts +28 -0
- package/dist/core/mail.js +62 -0
- package/dist/core/paths.d.ts +35 -0
- package/dist/core/paths.js +148 -0
- package/dist/core/roles.d.ts +24 -0
- package/dist/core/roles.js +15 -0
- package/dist/core/service.d.ts +102 -0
- package/dist/core/service.js +478 -0
- package/dist/core/source.d.ts +82 -0
- package/dist/core/source.js +75 -0
- package/dist/core/sources/github-app.d.ts +26 -0
- package/dist/core/sources/github-app.js +161 -0
- package/dist/core/sources/github.d.ts +40 -0
- package/dist/core/sources/github.js +278 -0
- package/dist/core/sources/local.d.ts +16 -0
- package/dist/core/sources/local.js +98 -0
- package/dist/core/values.d.ts +22 -0
- package/dist/core/values.js +123 -0
- package/dist/env.d.ts +19 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +167 -0
- package/dist/integration/build-index.d.ts +8 -0
- package/dist/integration/build-index.js +67 -0
- package/dist/integration/client-deps.d.ts +10 -0
- package/dist/integration/client-deps.js +43 -0
- package/dist/integration/dev-middleware.d.ts +6 -0
- package/dist/integration/dev-middleware.js +48 -0
- package/dist/integration/formatter.d.ts +7 -0
- package/dist/integration/formatter.js +56 -0
- package/dist/mdx/expressions.d.ts +14 -0
- package/dist/mdx/expressions.js +141 -0
- package/dist/mdx/index.d.ts +4 -0
- package/dist/mdx/index.js +4 -0
- package/dist/mdx/parse.d.ts +6 -0
- package/dist/mdx/parse.js +401 -0
- package/dist/mdx/serialize.d.ts +9 -0
- package/dist/mdx/serialize.js +485 -0
- package/dist/mdx/types.d.ts +42 -0
- package/dist/mdx/types.js +6 -0
- package/dist/pages/admin.astro +27 -0
- package/dist/pages/api.d.ts +3 -0
- package/dist/pages/api.js +31 -0
- package/dist/ui/App.d.ts +4 -0
- package/dist/ui/App.js +70 -0
- package/dist/ui/api.d.ts +83 -0
- package/dist/ui/api.js +97 -0
- package/dist/ui/auth-client.d.ts +27 -0
- package/dist/ui/auth-client.js +29 -0
- package/dist/ui/components/AssetPicker.d.ts +27 -0
- package/dist/ui/components/AssetPicker.js +97 -0
- package/dist/ui/components/Icon.d.ts +11 -0
- package/dist/ui/components/Icon.js +46 -0
- package/dist/ui/components/Layout.d.ts +15 -0
- package/dist/ui/components/Layout.js +87 -0
- package/dist/ui/components/editor/EditorContext.d.ts +15 -0
- package/dist/ui/components/editor/EditorContext.js +9 -0
- package/dist/ui/components/editor/NodeViews.d.ts +4 -0
- package/dist/ui/components/editor/NodeViews.js +127 -0
- package/dist/ui/components/editor/RichTextEditor.d.ts +24 -0
- package/dist/ui/components/editor/RichTextEditor.js +230 -0
- package/dist/ui/components/editor/extensions.d.ts +30 -0
- package/dist/ui/components/editor/extensions.js +248 -0
- package/dist/ui/components/editor/schema.d.ts +12 -0
- package/dist/ui/components/editor/schema.js +37 -0
- package/dist/ui/components/fields/CodeInput.d.ts +10 -0
- package/dist/ui/components/fields/CodeInput.js +8 -0
- package/dist/ui/components/fields/CodeMirrorInput.d.ts +2 -0
- package/dist/ui/components/fields/CodeMirrorInput.js +44 -0
- package/dist/ui/components/fields/FieldRenderer.d.ts +41 -0
- package/dist/ui/components/fields/FieldRenderer.js +299 -0
- package/dist/ui/components/fields/ImageTools.d.ts +31 -0
- package/dist/ui/components/fields/ImageTools.js +296 -0
- package/dist/ui/components/fields/MarkdownField.d.ts +7 -0
- package/dist/ui/components/fields/MarkdownField.js +16 -0
- package/dist/ui/components/fields/TreeInput.d.ts +13 -0
- package/dist/ui/components/fields/TreeInput.js +221 -0
- package/dist/ui/components/ui.d.ts +63 -0
- package/dist/ui/components/ui.js +113 -0
- package/dist/ui/context.d.ts +17 -0
- package/dist/ui/context.js +13 -0
- package/dist/ui/lib/format.d.ts +5 -0
- package/dist/ui/lib/format.js +11 -0
- package/dist/ui/lib/utils.d.ts +24 -0
- package/dist/ui/lib/utils.js +255 -0
- package/dist/ui/main.d.ts +1 -0
- package/dist/ui/main.js +11 -0
- package/dist/ui/pages/Assets.d.ts +1 -0
- package/dist/ui/pages/Assets.js +69 -0
- package/dist/ui/pages/CollectionList.d.ts +6 -0
- package/dist/ui/pages/CollectionList.js +115 -0
- package/dist/ui/pages/Dashboard.d.ts +1 -0
- package/dist/ui/pages/Dashboard.js +57 -0
- package/dist/ui/pages/EntryEditor.d.ts +3 -0
- package/dist/ui/pages/EntryEditor.js +313 -0
- package/dist/ui/pages/Login.d.ts +6 -0
- package/dist/ui/pages/Login.js +88 -0
- package/dist/ui/pages/Users.d.ts +1 -0
- package/dist/ui/pages/Users.js +102 -0
- package/dist/ui/styles.css +2554 -0
- package/package.json +123 -3
package/package.json
CHANGED
|
@@ -1,6 +1,126 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vestrycms",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "A git-backed CMS for Astro. Content, assets and configuration live in your repository; the control panel runs as an Astro integration.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Michael Spencer",
|
|
7
|
+
"homepage": "https://github.com/iBelieve/vestrycms#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/iBelieve/vestrycms.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/iBelieve/vestrycms/issues"
|
|
14
|
+
},
|
|
15
|
+
"type": "module",
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=22.12.0"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"astro",
|
|
21
|
+
"astro-integration",
|
|
22
|
+
"cms",
|
|
23
|
+
"git",
|
|
24
|
+
"github",
|
|
25
|
+
"mdx",
|
|
26
|
+
"cloudflare",
|
|
27
|
+
"withastro"
|
|
28
|
+
],
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"default": "./dist/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./config": {
|
|
35
|
+
"types": "./dist/config/index.d.ts",
|
|
36
|
+
"default": "./dist/config/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./core": {
|
|
39
|
+
"types": "./dist/core/index.d.ts",
|
|
40
|
+
"default": "./dist/core/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./pages/admin.astro": "./dist/pages/admin.astro",
|
|
43
|
+
"./pages/api": {
|
|
44
|
+
"types": "./dist/pages/api.d.ts",
|
|
45
|
+
"default": "./dist/pages/api.js"
|
|
46
|
+
},
|
|
47
|
+
"./package.json": "./package.json"
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"dist"
|
|
51
|
+
],
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"astro": "^6.0.0 || ^7.0.0",
|
|
54
|
+
"prettier": "^3.0.0",
|
|
55
|
+
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
56
|
+
},
|
|
57
|
+
"peerDependenciesMeta": {
|
|
58
|
+
"prettier": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@codemirror/lang-markdown": "^6.5.2",
|
|
64
|
+
"@codemirror/lang-yaml": "^6.1.3",
|
|
65
|
+
"@codemirror/state": "^6.5.0",
|
|
66
|
+
"@codemirror/view": "^6.38.0",
|
|
67
|
+
"@dnd-kit/core": "^6.3.1",
|
|
68
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
69
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
70
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
71
|
+
"@tanstack/react-query": "^5.90.0",
|
|
72
|
+
"@tiptap/core": "^3.20.0",
|
|
73
|
+
"@tiptap/extension-image": "^3.20.0",
|
|
74
|
+
"@tiptap/extension-subscript": "^3.20.0",
|
|
75
|
+
"@tiptap/extension-superscript": "^3.20.0",
|
|
76
|
+
"@tiptap/extension-table": "^3.20.0",
|
|
77
|
+
"@tiptap/extensions": "^3.20.0",
|
|
78
|
+
"@tiptap/pm": "^3.20.0",
|
|
79
|
+
"@tiptap/react": "^3.20.0",
|
|
80
|
+
"@tiptap/starter-kit": "^3.20.0",
|
|
81
|
+
"@uiw/react-codemirror": "^4.25.0",
|
|
82
|
+
"astring": "^1.9.0",
|
|
83
|
+
"better-auth": "1.7.15",
|
|
84
|
+
"estree-util-value-to-estree": "^3.5.0",
|
|
85
|
+
"lucide-react": "^0.560.0",
|
|
86
|
+
"mdast-util-from-markdown": "^2.0.2",
|
|
87
|
+
"mdast-util-gfm": "^3.1.0",
|
|
88
|
+
"mdast-util-mdx": "^3.0.0",
|
|
89
|
+
"mdast-util-to-markdown": "^2.1.2",
|
|
90
|
+
"micromark-extension-gfm": "^3.0.0",
|
|
91
|
+
"micromark-extension-mdxjs": "^3.0.0",
|
|
92
|
+
"react": "^19.1.0",
|
|
93
|
+
"react-dom": "^19.1.0",
|
|
94
|
+
"react-router": "^7.9.0",
|
|
95
|
+
"yaml": "^2.8.0",
|
|
96
|
+
"zod": "^4.5.4"
|
|
97
|
+
},
|
|
98
|
+
"devDependencies": {
|
|
99
|
+
"@types/estree": "^1.0.8",
|
|
100
|
+
"@types/mdast": "^4.0.4",
|
|
101
|
+
"@types/node": "^26.6.5",
|
|
102
|
+
"@types/react": "^19.1.0",
|
|
103
|
+
"@types/react-dom": "^19.1.0",
|
|
104
|
+
"@types/unist": "^3.0.3",
|
|
105
|
+
"astro": "^7.4.3",
|
|
106
|
+
"prettier": "^3.9.10",
|
|
107
|
+
"prettier-plugin-astro": "^1.1.2",
|
|
108
|
+
"tsx": "^4.23.15",
|
|
109
|
+
"typescript": "^6.0.3",
|
|
110
|
+
"vite": "^8.3.5",
|
|
111
|
+
"vitest": "^5.1.0"
|
|
112
|
+
},
|
|
113
|
+
"publishConfig": {
|
|
114
|
+
"access": "public"
|
|
115
|
+
},
|
|
116
|
+
"scripts": {
|
|
117
|
+
"build": "node scripts/build.mjs",
|
|
118
|
+
"dev": "node scripts/build.mjs --watch",
|
|
119
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
120
|
+
"test": "vitest run",
|
|
121
|
+
"test:watch": "vitest",
|
|
122
|
+
"test:roundtrip": "node --import tsx/esm test/manual/roundtrip.ts",
|
|
123
|
+
"format": "prettier --write .",
|
|
124
|
+
"format:check": "prettier --check ."
|
|
125
|
+
}
|
|
6
126
|
}
|