@dbcube/cli 1.1.12 → 1.1.13

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/.npmignore ADDED
@@ -0,0 +1,58 @@
1
+ # Directories
2
+ examples
3
+
4
+ # Ignorar dependencias y configuraciones de desarrollo
5
+ node_modules/
6
+ npm-debug.log*
7
+ yarn-debug.log*
8
+ yarn-error.log*
9
+
10
+ # Ignorar carpetas y archivos irrelevantes
11
+ .vscode/
12
+ .lh
13
+ .idea/
14
+ .DS_Store
15
+ Thumbs.db
16
+ *.log
17
+
18
+ # Ignorar configuraciones del proyecto
19
+ .env
20
+ .env.*.local
21
+ package-lock.json
22
+
23
+ # Ignorar archivos del sistema
24
+ *.swp
25
+ *.swo
26
+ *.tmp
27
+ *.temp
28
+
29
+ # Ignorar carpetas de trabajo
30
+ temp/
31
+ logs/
32
+ debug/
33
+
34
+ # Ignorar archivos de compilación
35
+ src/
36
+ tsconfig.json
37
+ tsconfig.tsbuildinfo
38
+
39
+ # Ignorar pruebas y configuraciones
40
+ tests/
41
+ __tests__/
42
+ __mocks__/
43
+ coverage/
44
+ jest.config.js
45
+
46
+ # Ignorar documentación o ejemplos no necesarios
47
+ docs/
48
+ examples/
49
+
50
+ # Asegurarse de incluir solo lo esencial
51
+ !.npmignore
52
+ tsconfig.json
53
+ tsup.config.ts
54
+
55
+ .dbcube
56
+ dbcube
57
+ .env
58
+ *.db
@@ -0,0 +1,15 @@
1
+ require('dotenv').config({ quiet: true });
2
+
3
+ module.exports = function (config) {
4
+ config.set({
5
+ databases: {
6
+ test: {
7
+ type: "sqlite",
8
+ config:{
9
+ DATABASE: process.env.DBCUBE_TEST_DATABASE
10
+ }
11
+ },
12
+ }
13
+ });
14
+ };
15
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcube/cli",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "dbcube": "node src/index.js"
package/.lh/.lhignore DELETED
@@ -1,6 +0,0 @@
1
- # list file to not track by the local-history extension. comment line starts with a '#' character
2
- # each line describe a regular expression pattern (search for 'Javascript regex')
3
- # it will relate to the workspace directory root. for example:
4
- # '.*\.txt' ignores any file with 'txt' extension
5
- # '/test/.*' ignores all the files under the 'test' directory
6
- # '.*/test/.*' ignores all the files under any 'test' directory (even under sub-folders)
@@ -1,26 +0,0 @@
1
- {
2
- "sourceFile": "package.json",
3
- "activeCommit": 0,
4
- "commits": [
5
- {
6
- "activePatchIndex": 2,
7
- "patches": [
8
- {
9
- "date": 1756705588331,
10
- "content": "Index: \n===================================================================\n--- \n+++ \n"
11
- },
12
- {
13
- "date": 1756705654448,
14
- "content": "Index: \n===================================================================\n--- \n+++ \n@@ -13,9 +13,8 @@\n \"author\": \"\",\n \"license\": \"ISC\",\n \"description\": \"\",\n \"dependencies\": {\n- \"@dbcube/schema-builder\": \"^1.0.0\",\n \"@inquirer/prompts\": \"^7.4.1\",\n \"alwait\": \"^1.0.0\",\n \"chalk\": \"^5.4.1\",\n \"dotenv\": \"^17.0.1\",\n"
15
- },
16
- {
17
- "date": 1756706224795,
18
- "content": "Index: \n===================================================================\n--- \n+++ \n@@ -2,9 +2,8 @@\n \"name\": \"dbcube\",\n \"version\": \"1.0.1\",\n \"main\": \"index.js\",\n \"scripts\": {\n- \"start\": \"node example.js\",\n \"dbcube\": \"node src/index.js\"\n },\n \"bin\": {\n \"dbcube\": \"./src/index.js\"\n"
19
- }
20
- ],
21
- "date": 1756705588331,
22
- "name": "Commit-0",
23
- "content": "{\n \"name\": \"dbcube\",\n \"version\": \"1.0.0\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"start\": \"node example.js\",\n \"dbcube\": \"node src/index.js\"\n },\n \"bin\": {\n \"dbcube\": \"./src/index.js\"\n },\n \"keywords\": [],\n \"author\": \"\",\n \"license\": \"ISC\",\n \"description\": \"\",\n \"dependencies\": {\n \"@inquirer/prompts\": \"^7.4.1\",\n \"alwait\": \"^1.0.0\",\n \"chalk\": \"^5.4.1\",\n \"dotenv\": \"^17.0.1\",\n \"fs-extra\": \"^11.3.0\",\n \"glob\": \"^11.0.1\",\n \"ora\": \"^8.2.0\"\n }\n}\n"
24
- }
25
- ]
26
- }