create-kyro 0.1.3 → 0.1.4
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/dist/index.js +4 -2
- package/package.json +2 -2
- package/my-kyro-app/README.md +0 -14
- package/my-kyro-app/SPEC.md +0 -21
- package/my-kyro-app/astro.config.mjs +0 -20
- package/my-kyro-app/kyro.config.ts +0 -15
- package/my-kyro-app/package-lock.json +0 -6919
- package/my-kyro-app/package.json +0 -31
package/dist/index.js
CHANGED
|
@@ -86,12 +86,14 @@ async function promptUser() {
|
|
|
86
86
|
{
|
|
87
87
|
title: "tRPC",
|
|
88
88
|
description: "End-to-end typesafe APIs, great for TypeScript",
|
|
89
|
-
value: "trpc"
|
|
89
|
+
value: "trpc",
|
|
90
|
+
selected: true
|
|
90
91
|
},
|
|
91
92
|
{
|
|
92
93
|
title: "WebSocket",
|
|
93
94
|
description: "Real-time bidirectional communication",
|
|
94
|
-
value: "websocket"
|
|
95
|
+
value: "websocket",
|
|
96
|
+
selected: true
|
|
95
97
|
}
|
|
96
98
|
]
|
|
97
99
|
},
|
package/package.json
CHANGED
package/my-kyro-app/README.md
DELETED
package/my-kyro-app/SPEC.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# my-kyro-app
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
This project uses Kyro CMS - an Astro-native headless CMS.
|
|
6
|
-
|
|
7
|
-
## Configuration
|
|
8
|
-
|
|
9
|
-
- **Database**: SQLite (local-first)
|
|
10
|
-
- **APIs**: rest, graphql
|
|
11
|
-
- **Styling**: tailwind
|
|
12
|
-
- **Auth**: Disabled
|
|
13
|
-
- **Versioning**: Enabled
|
|
14
|
-
- **Admin**: Included
|
|
15
|
-
- **Template**: blog
|
|
16
|
-
|
|
17
|
-
## Collections
|
|
18
|
-
|
|
19
|
-
- Posts
|
|
20
|
-
- Categories
|
|
21
|
-
- Media
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "astro/config";
|
|
2
|
-
import react from "@astrojs/react";
|
|
3
|
-
import tailwindcss from "@tailwindcss/vite";
|
|
4
|
-
import node from "@astrojs/node";
|
|
5
|
-
|
|
6
|
-
export default defineConfig({
|
|
7
|
-
output: "server",
|
|
8
|
-
adapter: node({
|
|
9
|
-
mode: "standalone",
|
|
10
|
-
}),
|
|
11
|
-
|
|
12
|
-
integrations: [react()],
|
|
13
|
-
vite: {
|
|
14
|
-
plugins: [tailwindcss()],
|
|
15
|
-
},
|
|
16
|
-
server: {
|
|
17
|
-
port: 4321,
|
|
18
|
-
host: true,
|
|
19
|
-
},
|
|
20
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "@kyro-cms/core";
|
|
2
|
-
import { createLocalAdapter } from "@kyro-cms/core";
|
|
3
|
-
import { blogCollections } from "@kyro-cms/core";
|
|
4
|
-
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
name: "my-kyro-app",
|
|
7
|
-
prefix: "/api",
|
|
8
|
-
adapter: createLocalAdapter({ path: "./data.db" }),
|
|
9
|
-
|
|
10
|
-
collections: Object.values(blogCollections),
|
|
11
|
-
|
|
12
|
-
api: {
|
|
13
|
-
rest: true,
|
|
14
|
-
},
|
|
15
|
-
});
|