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.
Files changed (120) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +383 -2
  3. package/dist/config/fields.d.ts +30 -0
  4. package/dist/config/fields.js +75 -0
  5. package/dist/config/index.d.ts +9 -0
  6. package/dist/config/index.js +18 -0
  7. package/dist/config/types.d.ts +412 -0
  8. package/dist/config/types.js +10 -0
  9. package/dist/core/api.d.ts +67 -0
  10. package/dist/core/api.js +543 -0
  11. package/dist/core/auth.d.ts +1597 -0
  12. package/dist/core/auth.js +264 -0
  13. package/dist/core/cache.d.ts +27 -0
  14. package/dist/core/cache.js +52 -0
  15. package/dist/core/entries.d.ts +19 -0
  16. package/dist/core/entries.js +127 -0
  17. package/dist/core/index-types.d.ts +20 -0
  18. package/dist/core/index-types.js +1 -0
  19. package/dist/core/index.d.ts +13 -0
  20. package/dist/core/index.js +13 -0
  21. package/dist/core/mail.d.ts +28 -0
  22. package/dist/core/mail.js +62 -0
  23. package/dist/core/paths.d.ts +35 -0
  24. package/dist/core/paths.js +148 -0
  25. package/dist/core/roles.d.ts +24 -0
  26. package/dist/core/roles.js +15 -0
  27. package/dist/core/service.d.ts +102 -0
  28. package/dist/core/service.js +478 -0
  29. package/dist/core/source.d.ts +82 -0
  30. package/dist/core/source.js +75 -0
  31. package/dist/core/sources/github-app.d.ts +26 -0
  32. package/dist/core/sources/github-app.js +161 -0
  33. package/dist/core/sources/github.d.ts +40 -0
  34. package/dist/core/sources/github.js +278 -0
  35. package/dist/core/sources/local.d.ts +16 -0
  36. package/dist/core/sources/local.js +98 -0
  37. package/dist/core/values.d.ts +22 -0
  38. package/dist/core/values.js +123 -0
  39. package/dist/env.d.ts +19 -0
  40. package/dist/index.d.ts +18 -0
  41. package/dist/index.js +167 -0
  42. package/dist/integration/build-index.d.ts +8 -0
  43. package/dist/integration/build-index.js +67 -0
  44. package/dist/integration/client-deps.d.ts +10 -0
  45. package/dist/integration/client-deps.js +43 -0
  46. package/dist/integration/dev-middleware.d.ts +6 -0
  47. package/dist/integration/dev-middleware.js +48 -0
  48. package/dist/integration/formatter.d.ts +7 -0
  49. package/dist/integration/formatter.js +56 -0
  50. package/dist/mdx/expressions.d.ts +14 -0
  51. package/dist/mdx/expressions.js +141 -0
  52. package/dist/mdx/index.d.ts +4 -0
  53. package/dist/mdx/index.js +4 -0
  54. package/dist/mdx/parse.d.ts +6 -0
  55. package/dist/mdx/parse.js +401 -0
  56. package/dist/mdx/serialize.d.ts +9 -0
  57. package/dist/mdx/serialize.js +485 -0
  58. package/dist/mdx/types.d.ts +42 -0
  59. package/dist/mdx/types.js +6 -0
  60. package/dist/pages/admin.astro +27 -0
  61. package/dist/pages/api.d.ts +3 -0
  62. package/dist/pages/api.js +31 -0
  63. package/dist/ui/App.d.ts +4 -0
  64. package/dist/ui/App.js +70 -0
  65. package/dist/ui/api.d.ts +83 -0
  66. package/dist/ui/api.js +97 -0
  67. package/dist/ui/auth-client.d.ts +27 -0
  68. package/dist/ui/auth-client.js +29 -0
  69. package/dist/ui/components/AssetPicker.d.ts +27 -0
  70. package/dist/ui/components/AssetPicker.js +97 -0
  71. package/dist/ui/components/Icon.d.ts +11 -0
  72. package/dist/ui/components/Icon.js +46 -0
  73. package/dist/ui/components/Layout.d.ts +15 -0
  74. package/dist/ui/components/Layout.js +87 -0
  75. package/dist/ui/components/editor/EditorContext.d.ts +15 -0
  76. package/dist/ui/components/editor/EditorContext.js +9 -0
  77. package/dist/ui/components/editor/NodeViews.d.ts +4 -0
  78. package/dist/ui/components/editor/NodeViews.js +127 -0
  79. package/dist/ui/components/editor/RichTextEditor.d.ts +24 -0
  80. package/dist/ui/components/editor/RichTextEditor.js +230 -0
  81. package/dist/ui/components/editor/extensions.d.ts +30 -0
  82. package/dist/ui/components/editor/extensions.js +248 -0
  83. package/dist/ui/components/editor/schema.d.ts +12 -0
  84. package/dist/ui/components/editor/schema.js +37 -0
  85. package/dist/ui/components/fields/CodeInput.d.ts +10 -0
  86. package/dist/ui/components/fields/CodeInput.js +8 -0
  87. package/dist/ui/components/fields/CodeMirrorInput.d.ts +2 -0
  88. package/dist/ui/components/fields/CodeMirrorInput.js +44 -0
  89. package/dist/ui/components/fields/FieldRenderer.d.ts +41 -0
  90. package/dist/ui/components/fields/FieldRenderer.js +299 -0
  91. package/dist/ui/components/fields/ImageTools.d.ts +31 -0
  92. package/dist/ui/components/fields/ImageTools.js +296 -0
  93. package/dist/ui/components/fields/MarkdownField.d.ts +7 -0
  94. package/dist/ui/components/fields/MarkdownField.js +16 -0
  95. package/dist/ui/components/fields/TreeInput.d.ts +13 -0
  96. package/dist/ui/components/fields/TreeInput.js +221 -0
  97. package/dist/ui/components/ui.d.ts +63 -0
  98. package/dist/ui/components/ui.js +113 -0
  99. package/dist/ui/context.d.ts +17 -0
  100. package/dist/ui/context.js +13 -0
  101. package/dist/ui/lib/format.d.ts +5 -0
  102. package/dist/ui/lib/format.js +11 -0
  103. package/dist/ui/lib/utils.d.ts +24 -0
  104. package/dist/ui/lib/utils.js +255 -0
  105. package/dist/ui/main.d.ts +1 -0
  106. package/dist/ui/main.js +11 -0
  107. package/dist/ui/pages/Assets.d.ts +1 -0
  108. package/dist/ui/pages/Assets.js +69 -0
  109. package/dist/ui/pages/CollectionList.d.ts +6 -0
  110. package/dist/ui/pages/CollectionList.js +115 -0
  111. package/dist/ui/pages/Dashboard.d.ts +1 -0
  112. package/dist/ui/pages/Dashboard.js +57 -0
  113. package/dist/ui/pages/EntryEditor.d.ts +3 -0
  114. package/dist/ui/pages/EntryEditor.js +313 -0
  115. package/dist/ui/pages/Login.d.ts +6 -0
  116. package/dist/ui/pages/Login.js +88 -0
  117. package/dist/ui/pages/Users.d.ts +1 -0
  118. package/dist/ui/pages/Users.js +102 -0
  119. package/dist/ui/styles.css +2554 -0
  120. package/package.json +123 -3
package/package.json CHANGED
@@ -1,6 +1,126 @@
1
1
  {
2
2
  "name": "vestrycms",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
  }