mwalajs 1.0.1 → 1.0.3
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/.automate/config.json +10 -0
- package/app.mjs +1 -0
- package/createProject.mjs +3 -3
- package/package.json +45 -31
- package/.env +0 -5
- package/mwalajs/package-lock.json +0 -836
- package/mwalajs/package.json +0 -16
- package/ujasi/mwalajs/package-lock.json +0 -836
- package/ujasi/package-lock.json +0 -8546
- /package/{mwalajs/index.js → index.js} +0 -0
- /package/{mwalajs/index.mjs → index.mjs} +0 -0
package/app.mjs
CHANGED
package/createProject.mjs
CHANGED
|
@@ -51,9 +51,9 @@ async function createProject() {
|
|
|
51
51
|
fs.mkdirSync(newProjectPath);
|
|
52
52
|
|
|
53
53
|
const itemsToCopy = [
|
|
54
|
-
"app.mjs", "controllers", "
|
|
55
|
-
"views", "middlewares", "models",
|
|
56
|
-
"README.md",
|
|
54
|
+
"app.mjs", "controllers", "migrations", "routes",
|
|
55
|
+
"views", "middlewares", "models",
|
|
56
|
+
"README.md","public"
|
|
57
57
|
];
|
|
58
58
|
|
|
59
59
|
for (const item of itemsToCopy) {
|
package/package.json
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mwalajs",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MwalaJS Framework CLI Tool",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "MwalaJS Framework CLI Tool and Web Framework for Backend and Frontend Development.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "app.mjs",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"cli": "node bin/mwala.mjs"
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./index.mjs"
|
|
10
9
|
},
|
|
11
10
|
"bin": {
|
|
12
|
-
"mwala": "
|
|
11
|
+
"mwala": "bin/mwala.mjs"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"start": "node app.mjs",
|
|
15
|
+
"cli": "node bin/mwala.mjs",
|
|
16
|
+
"test": "echo \"No test specified\" && exit 0",
|
|
17
|
+
"prepare": "npm run build",
|
|
18
|
+
"build": "echo 'Build step if needed'",
|
|
19
|
+
"postinstall": "echo 'Thanks for installing MwalaJS Framework! '"
|
|
13
20
|
},
|
|
14
21
|
"dependencies": {
|
|
15
22
|
"dotenv": "^16.4.7",
|
|
@@ -26,33 +33,40 @@
|
|
|
26
33
|
"sequelize": "^6.37.6",
|
|
27
34
|
"sqlite3": "^5.1.7"
|
|
28
35
|
},
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"node18-macos-x64"
|
|
50
|
-
],
|
|
51
|
-
"outputPath": "dist"
|
|
52
|
-
},
|
|
53
|
-
"author": "HEKIMA AMBALILE MWALA",
|
|
36
|
+
"keywords": [
|
|
37
|
+
"mwalajs",
|
|
38
|
+
"mwala",
|
|
39
|
+
"framework",
|
|
40
|
+
"nodejs",
|
|
41
|
+
"express",
|
|
42
|
+
"mvc",
|
|
43
|
+
"cli",
|
|
44
|
+
"generator",
|
|
45
|
+
"backend",
|
|
46
|
+
"frontend",
|
|
47
|
+
"web-framework",
|
|
48
|
+
"orm",
|
|
49
|
+
"rest-api"
|
|
50
|
+
],
|
|
51
|
+
"author": {
|
|
52
|
+
"name": "Hekima Ambalile Mwala",
|
|
53
|
+
"email": "biasharaboraofficials@gmail.com",
|
|
54
|
+
"url": "https://github.com/mwala400"
|
|
55
|
+
},
|
|
54
56
|
"license": "MIT",
|
|
57
|
+
"repository": {
|
|
58
|
+
"type": "git",
|
|
59
|
+
"url": "https://github.com/mwala400/mwalajs.git"
|
|
60
|
+
},
|
|
61
|
+
"bugs": {
|
|
62
|
+
"url": "https://github.com/mwala400/mwalajs/issues"
|
|
63
|
+
},
|
|
64
|
+
"homepage": "https://github.com/mwala400/mwalajs#readme",
|
|
55
65
|
"engines": {
|
|
56
66
|
"node": ">=18.0.0"
|
|
67
|
+
},
|
|
68
|
+
"sideEffects": false,
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
57
71
|
}
|
|
58
72
|
}
|