vona-cli-set-api 1.0.133 → 1.0.136

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.
@@ -0,0 +1,22 @@
1
+ # database
2
+
3
+ DATABASE_DEFAULT_CLIENT = 'pg' # pg/mysql
4
+
5
+ DATABASE_CLIENT_PG_HOST = 127.0.0.1
6
+ DATABASE_CLIENT_PG_PORT = 5432
7
+ DATABASE_CLIENT_PG_USER = postgres
8
+ DATABASE_CLIENT_PG_PASSWORD =
9
+ DATABASE_CLIENT_PG_DATABASE = postgres
10
+
11
+ DATABASE_CLIENT_MYSQL_HOST = 127.0.0.1
12
+ DATABASE_CLIENT_MYSQL_PORT = 3306
13
+ DATABASE_CLIENT_MYSQL_USER = root
14
+ DATABASE_CLIENT_MYSQL_PASSWORD =
15
+ DATABASE_CLIENT_MYSQL_DATABASE = mysql
16
+
17
+ # redis
18
+
19
+ REDIS_DEFAULT_HOST = 127.0.0.1
20
+ REDIS_DEFAULT_PORT = 6379
21
+ REDIS_DEFAULT_PASSWORD =
22
+ REDIS_DEFAULT_DB = 0
@@ -45,7 +45,7 @@
45
45
  }
46
46
  },
47
47
  "dependencies": {
48
- "vona": "^5.0.75"
48
+ "vona": "^5.0.76"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@cabloy/lint": "^5.0.16",
@@ -14,7 +14,10 @@ import whyIsNodeRunning from 'why-is-node-running';
14
14
  import parser from 'yargs-parser';
15
15
  const __template = `import type { IArgv, VonaApplication } from 'vona';
16
16
 
17
- export async function main(app: VonaApplication, _argv: IArgv) {}
17
+ export async function main(app: VonaApplication, _argv: IArgv) {
18
+ console.log(import.meta.filename);
19
+ console.log(app.config.meta);
20
+ }
18
21
  `;
19
22
  const projectPath = process.argv[2];
20
23
  const argv = parser(process.argv.slice(3));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-cli-set-api",
3
3
  "type": "module",
4
- "version": "1.0.133",
4
+ "version": "1.0.136",
5
5
  "description": "vona cli-set-api",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -31,11 +31,11 @@
31
31
  "@babel/plugin-proposal-decorators": "^7.25.9",
32
32
  "@babel/plugin-transform-class-properties": "^7.25.9",
33
33
  "@babel/plugin-transform-typescript": "^7.26.8",
34
- "@cabloy/cli": "^3.0.41",
34
+ "@cabloy/cli": "^3.0.42",
35
35
  "@cabloy/dotenv": "^1.1.10",
36
36
  "@cabloy/extend": "^3.1.10",
37
- "@cabloy/module-glob": "^5.2.23",
38
- "@cabloy/module-info": "^1.3.25",
37
+ "@cabloy/module-glob": "^5.2.24",
38
+ "@cabloy/module-info": "^1.3.26",
39
39
  "@cabloy/word-utils": "^2.0.1",
40
40
  "@lcov-viewer/cli": "^1.3.0",
41
41
  "@rollup/plugin-alias": "^5.1.1",
@@ -61,7 +61,7 @@
61
61
  "ts-node": "^10.9.2",
62
62
  "urllib": "^4.6.11",
63
63
  "uuid": "^11.1.0",
64
- "vona-core": "^5.0.43",
64
+ "vona-core": "^5.0.44",
65
65
  "why-is-node-running": "^3.2.2",
66
66
  "yargs-parser": "^21.1.1"
67
67
  },