create-yiougo 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,45 +1,46 @@
1
- {
2
- "name": "create-yiougo",
3
- "version": "1.0.0",
4
- "description": "A modern full-stack application template built with Elysia, Vue 3, Quasar, and Bun",
5
- "type": "module",
6
- "main": "index.js",
7
- "bin": {
8
- "create-yiougo": "./index.js"
9
- },
10
- "files": [
11
- "index.js",
12
- "template"
13
- ],
14
- "scripts": {
15
- "test": "bun run index.js test-project"
16
- },
17
- "keywords": [
18
- "bun",
19
- "create",
20
- "template",
21
- "vue",
22
- "elysia",
23
- "quasar",
24
- "typescript",
25
- "full-stack",
26
- "mongodb",
27
- "redis"
28
- ],
29
- "author": "Yiougo",
30
- "license": "MIT",
31
- "repository": {
32
- "type": "git",
33
- "url": "https://github.com/your-username/create-yiougo.git"
34
- },
35
- "bugs": {
36
- "url": "https://github.com/your-username/create-yiougo/issues"
37
- },
38
- "homepage": "https://github.com/your-username/create-yiougo#readme",
39
- "engines": {
40
- "node": ">=18.0.0"
41
- },
42
- "dependencies": {
43
- "prompts": "^2.4.2"
44
- }
45
- }
1
+ {
2
+ "name": "create-yiougo",
3
+ "version": "1.0.2",
4
+ "description": "A modern full-stack application template built with Elysia, Vue 3, Quasar, and Bun",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "bin": {
8
+ "create-yiougo": "./index.js"
9
+ },
10
+ "files": [
11
+ "index.js",
12
+ "template"
13
+ ],
14
+ "scripts": {
15
+ "test": "bun run index.js test-project"
16
+ },
17
+ "keywords": [
18
+ "bun",
19
+ "create",
20
+ "template",
21
+ "vue",
22
+ "elysia",
23
+ "quasar",
24
+ "typescript",
25
+ "full-stack",
26
+ "mongodb",
27
+ "redis"
28
+ ],
29
+ "author": "Yiougo",
30
+ "license": "MIT",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/your-username/create-yiougo.git"
34
+ },
35
+ "bugs": {
36
+ "url": "https://github.com/your-username/create-yiougo/issues"
37
+ },
38
+ "homepage": "https://github.com/your-username/create-yiougo#readme",
39
+ "engines": {
40
+ "node": ">=18.0.0"
41
+ },
42
+ "dependencies": {
43
+ "prompts": "^2.4.2",
44
+ "vite": "^7.3.0"
45
+ }
46
+ }
@@ -11,9 +11,12 @@
11
11
  "server": "bun run server/index.ts"
12
12
  },
13
13
  "dependencies": {
14
- "elysia": "^1.1.25",
15
14
  "@elysiajs/cors": "^1.1.0",
16
15
  "@elysiajs/swagger": "^1.1.5",
16
+ "@sinclair/typebox": "^0.34.45",
17
+ "dayjs": "^1.11.19",
18
+ "elysia": "^1.1.25",
19
+ "es-toolkit": "^1.43.0",
17
20
  "mongodb": "^6.11.0",
18
21
  "redis": "^4.7.0"
19
22
  },
@@ -31,7 +34,6 @@
31
34
  "sass-embedded": "^1.81.0",
32
35
  "@types/node": "^22.10.5",
33
36
  "@types/bun": "latest",
34
- "@elysiajs/eden": "^1.1.10",
35
37
  "vite-plugin-vue-layouts": "^0.11.0",
36
38
  "vite-plugin-pages": "^0.32.3"
37
39
  }
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <q-layout view="lHh Lpr lFf">
2
+ <q-layout view="lHh Lpr lFf" class="full-height">
3
3
  <q-header elevated class="bg-primary text-white">
4
4
  <q-toolbar>
5
5
  <q-toolbar-title>
@@ -18,7 +18,7 @@
18
18
  </q-toolbar>
19
19
  </q-header>
20
20
 
21
- <q-page-container>
21
+ <q-page-container class="full-height">
22
22
  <router-view />
23
23
  </q-page-container>
24
24
  </q-layout>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <q-page class="q-pa-md">
2
+ <q-page class="q-pa-md full-height scroll">
3
3
  <q-card>
4
4
  <q-card-section>
5
5
  <div class="text-h4 q-mb-md">About Yiougo</div>
@@ -1,12 +1,12 @@
1
1
  <template>
2
- <q-page class="q-pa-md">
2
+ <q-page class="q-pa-md full-height">
3
3
  <div class="row justify-between items-center q-mb-md">
4
4
  <h4 class="q-ma-none">Users</h4>
5
5
  <q-btn color="primary" label="Add User" icon="add" @click="showDialog = true" />
6
6
  </div>
7
7
 
8
- <q-card>
9
- <q-card-section>
8
+ <q-card style="height: calc(100% - 50px)">
9
+ <q-card-section class="full-height">
10
10
  <q-table
11
11
  :rows="userStore.users"
12
12
  :columns="columns"
@@ -14,6 +14,7 @@
14
14
  :loading="userStore.loading"
15
15
  flat
16
16
  bordered
17
+ class="full-height"
17
18
  >
18
19
  <template v-slot:body-cell-actions="props">
19
20
  <q-td :props="props">
@@ -25,8 +25,7 @@
25
25
  "paths": {
26
26
  "@/*": ["./src/*"],
27
27
  "@shared/*": ["./shared/*"]
28
- },
29
- "types": ["vite/client", "node"]
28
+ }
30
29
  },
31
30
  "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "shared/**/*.ts"]
32
31
  }