vona 5.0.9 → 5.0.11

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 CHANGED
@@ -2,7 +2,20 @@ MIT License
2
2
 
3
3
  Copyright (c) 2016-present Vona
4
4
 
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
5
11
 
6
- > Vona 5.0 internal alpha version, still under continuous development, not yet open source, please do not spread it
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
7
14
 
8
- > Vona 5.0 内测版,仍在持续开发中,尚未开源,请勿扩散
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,63 +1 @@
1
- 简体中文 | [English](./README.en-US.md)
2
-
3
- # Vona 是什么
4
-
5
- Vona 是一款直观、优雅、强大的Node.js框架,用于快速开发任何规模的企业级应用
6
-
7
- * Issues: https://github.com/vonajs/vona/issues
8
- * Discussions: https://github.com/vonajs/vona/discussions
9
- * Twitter: https://x.com/zhennann2024
10
- * Bilibili: https://space.bilibili.com/454737998
11
-
12
- ## 快速开始
13
-
14
- 1. Clone
15
-
16
- ``` bash
17
- git clone git@github.com:cabloy/vona-dev.git vona-dev
18
- ```
19
-
20
- 2. Install
21
-
22
- ``` bash
23
- $ cp package.original.json package.json
24
- $ npm run init
25
- ```
26
-
27
- 3. .env
28
-
29
- Modify the `.env` file:
30
-
31
- ``` bash
32
- # app
33
- APP_NAME = Vona
34
-
35
- # database
36
-
37
- DATABASE_DEFAULT_CLIENT = 'pg' # pg/mysql
38
-
39
- DATABASE_CLIENT_PG_HOST = 127.0.0.1
40
- DATABASE_CLIENT_PG_PORT = 5432
41
- DATABASE_CLIENT_PG_USER = postgres
42
- DATABASE_CLIENT_PG_PASSWORD =
43
- DATABASE_CLIENT_PG_DATABASE = postgres
44
-
45
- DATABASE_CLIENT_MYSQL_HOST = 127.0.0.1
46
- DATABASE_CLIENT_MYSQL_PORT = 3306
47
- DATABASE_CLIENT_MYSQL_USER = root
48
- DATABASE_CLIENT_MYSQL_PASSWORD =
49
- DATABASE_CLIENT_MYSQL_DATABASE = mysql
50
-
51
- # redis
52
-
53
- REDIS_DEFAULT_HOST = 127.0.0.1
54
- REDIS_DEFAULT_PORT = 6379
55
- REDIS_DEFAULT_PASSWORD =
56
- REDIS_DEFAULT_DB = 0
57
- ```
58
-
59
- 4. Start
60
-
61
- ``` bash
62
- npm run dev
63
- ```
1
+ # Vona
@@ -0,0 +1 @@
1
+ # Vona
@@ -0,0 +1 @@
1
+ export * from 'vona-core';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from 'vona-core';
package/package.json CHANGED
@@ -1,15 +1,52 @@
1
1
  {
2
2
  "name": "vona",
3
3
  "type": "module",
4
- "version": "5.0.9",
5
- "description": "vona",
4
+ "version": "5.0.11",
5
+ "description": "Vona is an intuitive, elegant and powerful Node.js framework for rapidly developing enterprise applications of any size",
6
+ "author": "zhennann",
7
+ "homepage": "https://github.com/vonajs/vona#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/vonajs/vona.git"
11
+ },
6
12
  "publishConfig": {
7
13
  "access": "public"
8
14
  },
9
- "author": "zhennann",
15
+ "bugs": {
16
+ "url": "https://github.com/vonajs/vona/issues"
17
+ },
10
18
  "keywords": [
11
19
  "nodejs",
12
20
  "framework",
13
21
  "vona"
14
- ]
22
+ ],
23
+ "exports": {
24
+ ".": {
25
+ "types": [
26
+ "./src/index.ts",
27
+ "./dist/index.d.ts"
28
+ ],
29
+ "default": "./dist/index.js"
30
+ },
31
+ "./package.json": "./package.json"
32
+ },
33
+ "files": [
34
+ "dist"
35
+ ],
36
+ "engines": {
37
+ "node": ">=24.1.0"
38
+ },
39
+ "scripts": {
40
+ "lint": "eslint .",
41
+ "clean": "rimraf dist tsconfig.tsbuildinfo",
42
+ "tsc:publish": "npm run clean && tsc",
43
+ "prepublishOnly": "npm run tsc:publish",
44
+ "prepack": "clean-package",
45
+ "postpack": "clean-package restore"
46
+ },
47
+ "dependencies": {
48
+ "vona-core": "^5.0.9",
49
+ "vona-suite-a-vona": "^5.0.7"
50
+ },
51
+ "gitHead": "0eab9dc4a5622caffe89e7b1b3f02c08ccbc4c4b"
15
52
  }
package/README.en-US.md DELETED
@@ -1,63 +0,0 @@
1
- English | [简体中文](./README.md)
2
-
3
- # What is Vona
4
-
5
- Vona is an intuitive, elegant and powerful Node.js framework for rapidly developing enterprise applications of any size
6
-
7
- * Issues: https://github.com/vonajs/vona/issues
8
- * Discussions: https://github.com/vonajs/vona/discussions
9
- * Twitter: https://x.com/zhennann2024
10
- * Bilibili: https://space.bilibili.com/454737998
11
-
12
- ## Quick Start
13
-
14
- 1. Clone
15
-
16
- ``` bash
17
- git clone git@github.com:cabloy/vona-dev.git vona-dev
18
- ```
19
-
20
- 2. Install
21
-
22
- ``` bash
23
- $ cp package.original.json package.json
24
- $ npm run init
25
- ```
26
-
27
- 3. .env
28
-
29
- Modify the `.env` file:
30
-
31
- ``` bash
32
- # app
33
- APP_NAME = Vona
34
-
35
- # database
36
-
37
- DATABASE_DEFAULT_CLIENT = 'pg' # pg/mysql
38
-
39
- DATABASE_CLIENT_PG_HOST = 127.0.0.1
40
- DATABASE_CLIENT_PG_PORT = 5432
41
- DATABASE_CLIENT_PG_USER = postgres
42
- DATABASE_CLIENT_PG_PASSWORD =
43
- DATABASE_CLIENT_PG_DATABASE = postgres
44
-
45
- DATABASE_CLIENT_MYSQL_HOST = 127.0.0.1
46
- DATABASE_CLIENT_MYSQL_PORT = 3306
47
- DATABASE_CLIENT_MYSQL_USER = root
48
- DATABASE_CLIENT_MYSQL_PASSWORD =
49
- DATABASE_CLIENT_MYSQL_DATABASE = mysql
50
-
51
- # redis
52
-
53
- REDIS_DEFAULT_HOST = 127.0.0.1
54
- REDIS_DEFAULT_PORT = 6379
55
- REDIS_DEFAULT_PASSWORD =
56
- REDIS_DEFAULT_DB = 0
57
- ```
58
-
59
- 4. Start
60
-
61
- ``` bash
62
- npm run dev
63
- ```