@mongodb-js/compass-shell 2.27.1 → 3.1.1

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.
Files changed (5) hide show
  1. package/.depcheckrc +3 -1
  2. package/lib/1.js +40495 -8546
  3. package/lib/2.js +30 -29
  4. package/lib/index.js +39906 -44374
  5. package/package.json +23 -37
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mongodb-js/compass-shell",
3
3
  "productName": "Compass Shell plugin",
4
- "version": "2.27.1",
4
+ "version": "3.1.1",
5
5
  "apiVersion": "3.0.0",
6
6
  "description": "Compass Shell Plugin",
7
7
  "main": "lib/index.js",
@@ -15,8 +15,6 @@
15
15
  "precompile": "npm run clean",
16
16
  "compile": "cross-env NODE_ENV=production webpack --config ./config/webpack.prod.config.js",
17
17
  "compile:watch": "cross-env NODE_ENV=production webpack --config ./config/webpack.prod.config.js --watch",
18
- "start": "cross-env NODE_ENV=development webpack-dev-server --config ./config/webpack.dev.config.js",
19
- "start:watch": "npm run clean && webpack --config ./config/webpack.watch.config.js",
20
18
  "test": "cross-env NODE_ENV=test mocha-webpack \"./src/**/*.spec.js\"",
21
19
  "test-ci": "npm run test",
22
20
  "test-ci-electron": "echo \"TODO(COMPASS-5555): These tests are broken and disabled for now\"",
@@ -24,8 +22,8 @@
24
22
  "test-electron": "xvfb-maybe cross-env NODE_ENV=test karma start",
25
23
  "test-cov": "echo",
26
24
  "check": "npm run lint && npm run depcheck",
27
- "lint": "eslint \"./src/**/*.{js,jsx}\" \"./test/**/*.js\" \"./electron/**/*.js\" \"./config/**/*.{js,jsx}\"",
28
- "depcheck": "depcheck",
25
+ "lint": "eslint \"./src/**/*.{js,jsx}\" \"./test/**/*.js\" \"./config/**/*.{js,jsx}\"",
26
+ "depcheck": "compass-scripts check-peer-deps && depcheck",
29
27
  "bootstrap": "npm run compile"
30
28
  },
31
29
  "repository": {
@@ -35,31 +33,25 @@
35
33
  "config": {
36
34
  "unsafe-perm": true
37
35
  },
38
- "engines": {
39
- "node": ">=14.17.5"
40
- },
41
36
  "license": "SSPL",
42
37
  "publishConfig": {
43
38
  "access": "public"
44
39
  },
45
40
  "dependencies": {
46
- "@leafygreen-ui/code": "^9.4.0",
47
- "@mongodb-js/compass-logging": "^0.14.0",
48
- "@mongodb-js/mongodb-redux-common": "^1.14.1",
49
- "@mongosh/browser-repl": "^1.5.0",
50
- "@mongosh/logging": "^1.5.0",
51
- "@mongosh/node-runtime-worker-thread": "^1.5.0",
52
- "@mongosh/service-provider-core": "^1.5.0"
41
+ "@mongodb-js/compass-components": "^1.1.1",
42
+ "@mongodb-js/compass-logging": "^1.1.0",
43
+ "@mongodb-js/compass-utils": "^0.1.1",
44
+ "@mongodb-js/mongodb-redux-common": "^2.0.1",
45
+ "@mongosh/node-runtime-worker-thread": "^1.6.0",
46
+ "react": "^16.14.0"
53
47
  },
54
48
  "peerDependencies": {
55
- "@mongodb-js/compass-components": "^0.17.0",
56
- "ace-builds": "^1.4.3",
57
- "hadron-ipc": "^2.10.0",
58
- "hadron-react-components": "^5.17.0",
59
- "prop-types": "^15.7.2",
60
- "react": "^16.14.0",
61
- "react-ace": "^9.5.0",
62
- "react-dom": "^16.14.0"
49
+ "@mongodb-js/compass-components": "^1.1.1",
50
+ "@mongodb-js/compass-logging": "^1.1.0",
51
+ "@mongodb-js/compass-utils": "^0.1.1",
52
+ "@mongodb-js/mongodb-redux-common": "^2.0.1",
53
+ "@mongosh/node-runtime-worker-thread": "^1.6.0",
54
+ "react": "^16.14.0"
63
55
  },
64
56
  "devDependencies": {
65
57
  "@babel/cli": "^7.14.3",
@@ -70,7 +62,10 @@
70
62
  "@babel/preset-react": "^7.13.13",
71
63
  "@babel/register": "^7.13.16",
72
64
  "@hot-loader/react-dom": "^16.9.0",
73
- "@mongodb-js/compass-components": "^0.17.0",
65
+ "@leafygreen-ui/code": "^12.0.1",
66
+ "@mongosh/browser-repl": "^1.6.0",
67
+ "@mongosh/logging": "^1.6.0",
68
+ "@mongosh/service-provider-core": "^1.6.0",
74
69
  "ace-builds": "^1.4.3",
75
70
  "autoprefixer": "^9.4.6",
76
71
  "babel-loader": "^8.2.2",
@@ -79,8 +74,6 @@
79
74
  "core-js": "^3.12.1",
80
75
  "cross-env": "^5.0.1",
81
76
  "depcheck": "^1.4.1",
82
- "electron": "^13.5.1",
83
- "electron-devtools-installer": "^3.2.0",
84
77
  "enzyme": "^3.11.0",
85
78
  "enzyme-adapter-react-16": "^1.15.2",
86
79
  "eslint": "^7.25.0",
@@ -88,8 +81,7 @@
88
81
  "eslint-plugin-react": "^7.24.0",
89
82
  "file-loader": "^5.1.0",
90
83
  "font-awesome": "^4.7.0",
91
- "hadron-app": "^4.26.1",
92
- "hadron-app-registry": "^8.14.1",
84
+ "hadron-ipc": "^3.1.0",
93
85
  "html-webpack-plugin": "^3.2.0",
94
86
  "ignore-loader": "^0.1.2",
95
87
  "istanbul-instrumenter-loader": "^3.0.1",
@@ -106,24 +98,19 @@
106
98
  "karma-webpack": "^4.0.2",
107
99
  "mocha": "^5.2.0",
108
100
  "mocha-webpack": "^2.0.0-beta.0",
109
- "mongodb": "^4.6.0",
110
101
  "mongodb-reflux-store": "^0.0.1",
111
102
  "node-loader": "^0.6.0",
112
103
  "nyc": "^13.1.0",
113
104
  "peer-deps-externals-webpack-plugin": "^1.0.4",
114
105
  "prop-types": "^15.7.2",
115
- "react": "^16.14.0",
116
106
  "react-ace": "^9.5.0",
117
107
  "react-dom": "^16.14.0",
118
108
  "react-hot-loader": "^4.13.0",
119
- "react-redux": "^7.1.1",
109
+ "react-redux": "^8.0.2",
120
110
  "react-tooltip": "^3.11.1",
121
- "redux": "^4.1.2",
122
- "reflux": "^0.4.1",
123
- "reflux-state-mixin": "github:mongodb-js/reflux-state-mixin",
111
+ "redux": "^4.2.0",
124
112
  "resolve": "^1.15.1",
125
113
  "rimraf": "^2.6.1",
126
- "semver": "^5.4.1",
127
114
  "shebang-loader": "^0.0.1",
128
115
  "sinon": "^7.2.5",
129
116
  "sinon-chai": "^3.3.0",
@@ -131,7 +118,6 @@
131
118
  "webpack": "^4.46.0",
132
119
  "webpack-bundle-analyzer": "^3.0.3",
133
120
  "webpack-cli": "^3.3.12",
134
- "webpack-dev-server": "^3.11.2",
135
121
  "webpack-merge": "^4.2.2",
136
122
  "webpack-node-externals": "^3.0.0"
137
123
  },
@@ -140,5 +126,5 @@
140
126
  "url": "https://jira.mongodb.org/projects/COMPASS/issues",
141
127
  "email": "compass@mongodb.com"
142
128
  },
143
- "gitHead": "94eb44eba276874d7a3bfa44e394d87a8d9b88be"
129
+ "gitHead": "51f04a0ac45c3b51a3ffb98af390c811d1404380"
144
130
  }