mango-cms 0.1.6 → 0.1.8
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/cli.js +3 -3
- package/mango-cms-0.1.7.tgz +0 -0
- package/package.json +75 -78
package/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ async function ensureSrcExists(mangoCmsRoot) {
|
|
|
37
37
|
// Helper function to validate and prompt for license if needed
|
|
38
38
|
async function ensureLicenseExists(configPath) {
|
|
39
39
|
let settings = {};
|
|
40
|
-
|
|
40
|
+
|
|
41
41
|
try {
|
|
42
42
|
if (fs.existsSync(configPath)) {
|
|
43
43
|
settings = JSON.parse(fs.readFileSync(configPath, 'utf8'));
|
|
@@ -122,7 +122,7 @@ program
|
|
|
122
122
|
// Create or update settings.json
|
|
123
123
|
const settingsPath = path.join(configDir, 'config/settings.json');
|
|
124
124
|
let settings = {};
|
|
125
|
-
|
|
125
|
+
|
|
126
126
|
try {
|
|
127
127
|
if (fs.existsSync(settingsPath)) {
|
|
128
128
|
settings = JSON.parse(fs.readFileSync(settingsPath, 'utf8'));
|
|
@@ -143,7 +143,7 @@ program
|
|
|
143
143
|
To get started:
|
|
144
144
|
cd ${answers.projectName}
|
|
145
145
|
npm install
|
|
146
|
-
npm mango start
|
|
146
|
+
npm run mango start
|
|
147
147
|
`);
|
|
148
148
|
} catch (error) {
|
|
149
149
|
console.error('Error creating project:', error.message);
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,80 +1,77 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"webpack-cli": "^5.1.4",
|
|
78
|
-
"webpack-node-externals": "^2.5.2"
|
|
79
|
-
}
|
|
2
|
+
"name": "mango-cms",
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"author": "Colton Neifert",
|
|
6
|
+
"license": "ISC",
|
|
7
|
+
"bin": {
|
|
8
|
+
"mango": "./cli.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"postinstall": "npm rebuild --force sharp mongodb node-lame && npm install --legacy-peer-deps --force"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@aws-sdk/client-s3": "^3.423.0",
|
|
15
|
+
"@aws-sdk/lib-storage": "^3.423.0",
|
|
16
|
+
"@babel/core": "^7.12.9",
|
|
17
|
+
"@babel/plugin-transform-runtime": "^7.12.1",
|
|
18
|
+
"@babel/preset-env": "^7.12.7",
|
|
19
|
+
"@sentry/node": "^7.85.0",
|
|
20
|
+
"@sentry/profiling-node": "^1.2.6",
|
|
21
|
+
"adm-zip": "^0.5.16",
|
|
22
|
+
"algoliasearch": "^4.10.3",
|
|
23
|
+
"apollo-server": "^2.19.1",
|
|
24
|
+
"apollo-server-express": "^2.19.1",
|
|
25
|
+
"aws-sdk": "^2.1469.0",
|
|
26
|
+
"axios": "^0.21.4",
|
|
27
|
+
"babel-loader": "^8.2.2",
|
|
28
|
+
"babel-plugin-source-map-support": "^2.1.3",
|
|
29
|
+
"cli-progress": "^3.12.0",
|
|
30
|
+
"connect-multiparty": "^2.2.0",
|
|
31
|
+
"cors": "^2.8.5",
|
|
32
|
+
"crypto": "^1.0.1",
|
|
33
|
+
"dayjs": "^1.11.6",
|
|
34
|
+
"dotenv": "^8.2.0",
|
|
35
|
+
"express": "^4.17.1",
|
|
36
|
+
"fs-extra": "^11.3.0",
|
|
37
|
+
"get-audio-duration": "^3.1.0",
|
|
38
|
+
"googleapis": "^109.0.1",
|
|
39
|
+
"graphql": "^15.4.0",
|
|
40
|
+
"graphql-fields": "^2.0.3",
|
|
41
|
+
"graphql-parse-resolve-info": "^4.12.0",
|
|
42
|
+
"graphql-subscriptions": "^1.1.0",
|
|
43
|
+
"graphql-type-datetime": "^0.2.4",
|
|
44
|
+
"graphql-ws": "^5.9.0",
|
|
45
|
+
"html-to-text": "^8.0.0",
|
|
46
|
+
"inquirer": "^8.2.4",
|
|
47
|
+
"json-fn": "^1.1.1",
|
|
48
|
+
"lodash": "^4.17.21",
|
|
49
|
+
"mailgun-js": "^0.22.0",
|
|
50
|
+
"mailgun.js": "^9.3.0",
|
|
51
|
+
"md5": "^2.3.0",
|
|
52
|
+
"mime-types": "^2.1.35",
|
|
53
|
+
"moment": "^2.29.1",
|
|
54
|
+
"mongodb": "^6.8.0",
|
|
55
|
+
"multer": "^1.4.2",
|
|
56
|
+
"node-lame": "^1.3.2",
|
|
57
|
+
"node-zip": "^1.1.1",
|
|
58
|
+
"nodemon-webpack-plugin": "^4.3.2",
|
|
59
|
+
"openai": "^4.51.0",
|
|
60
|
+
"pack": "^2.2.0",
|
|
61
|
+
"parse-html-text-content": "^1.1.1",
|
|
62
|
+
"redis": "^4.7.0",
|
|
63
|
+
"require-all": "^3.0.0",
|
|
64
|
+
"sharp": "^0.32.1",
|
|
65
|
+
"socket.io": "^4.8.0",
|
|
66
|
+
"socket.io-redis": "^6.1.1",
|
|
67
|
+
"source-map-support": "^0.5.19",
|
|
68
|
+
"stream": "^0.0.2",
|
|
69
|
+
"subscriptions-transport-ws": "^0.9.18",
|
|
70
|
+
"util": "^0.12.3",
|
|
71
|
+
"uuid": "^8.3.2",
|
|
72
|
+
"web": "^0.0.2",
|
|
73
|
+
"webpack": "^5.10.0",
|
|
74
|
+
"webpack-cli": "^5.1.4",
|
|
75
|
+
"webpack-node-externals": "^2.5.2"
|
|
76
|
+
}
|
|
80
77
|
}
|