mango-cms 0.1.7 → 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 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
- "name": "mango-cms",
3
- "version": "0.1.7",
4
- "main": "index.js",
5
- "author": "Colton Neifert",
6
- "license": "ISC",
7
- "bin": {
8
- "mango": "./cli.js"
9
- },
10
- "scripts": {
11
- "build": "npx webpack",
12
- "start": "npx webpack",
13
- "watch": "NODE_OPTIONS='--trace-warnings' npx webpack --watch --mode development",
14
- "postinstall": "npm rebuild --force sharp"
15
- },
16
- "dependencies": {
17
- "@aws-sdk/client-s3": "^3.423.0",
18
- "@aws-sdk/lib-storage": "^3.423.0",
19
- "@babel/core": "^7.12.9",
20
- "@babel/plugin-transform-runtime": "^7.12.1",
21
- "@babel/preset-env": "^7.12.7",
22
- "@sentry/node": "^7.85.0",
23
- "@sentry/profiling-node": "^1.2.6",
24
- "adm-zip": "^0.5.16",
25
- "algoliasearch": "^4.10.3",
26
- "apollo-server": "^2.19.1",
27
- "apollo-server-express": "^2.19.1",
28
- "aws-sdk": "^2.1469.0",
29
- "axios": "^0.21.4",
30
- "babel-loader": "^8.2.2",
31
- "babel-plugin-source-map-support": "^2.1.3",
32
- "cli-progress": "^3.12.0",
33
- "connect-multiparty": "^2.2.0",
34
- "cors": "^2.8.5",
35
- "crypto": "^1.0.1",
36
- "dayjs": "^1.11.6",
37
- "dotenv": "^8.2.0",
38
- "express": "^4.17.1",
39
- "fs-extra": "^11.3.0",
40
- "get-audio-duration": "^3.1.0",
41
- "googleapis": "^109.0.1",
42
- "graphql": "^15.4.0",
43
- "graphql-fields": "^2.0.3",
44
- "graphql-parse-resolve-info": "^4.12.0",
45
- "graphql-subscriptions": "^1.1.0",
46
- "graphql-type-datetime": "^0.2.4",
47
- "graphql-ws": "^5.9.0",
48
- "html-to-text": "^8.0.0",
49
- "inquirer": "^8.2.4",
50
- "json-fn": "^1.1.1",
51
- "lodash": "^4.17.21",
52
- "mailgun-js": "^0.22.0",
53
- "mailgun.js": "^9.3.0",
54
- "md5": "^2.3.0",
55
- "mime-types": "^2.1.35",
56
- "moment": "^2.29.1",
57
- "mongodb": "^6.8.0",
58
- "multer": "^1.4.2",
59
- "node-lame": "^1.3.2",
60
- "node-zip": "^1.1.1",
61
- "nodemon-webpack-plugin": "^4.3.2",
62
- "openai": "^4.51.0",
63
- "pack": "^2.2.0",
64
- "parse-html-text-content": "^1.1.1",
65
- "redis": "^4.7.0",
66
- "require-all": "^3.0.0",
67
- "sharp": "^0.32.1",
68
- "socket.io": "^4.8.0",
69
- "socket.io-redis": "^6.1.1",
70
- "source-map-support": "^0.5.19",
71
- "stream": "^0.0.2",
72
- "subscriptions-transport-ws": "^0.9.18",
73
- "util": "^0.12.3",
74
- "uuid": "^8.3.2",
75
- "web": "^0.0.2",
76
- "webpack": "^5.10.0",
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
  }