Skip to content

Commit e6abd15

Browse files
authored
chore: add mongosh package (#337)
1 parent e9dd57c commit e6abd15

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

packages/mongosh/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# `mongosh`
2+
3+
A small wrapper module that exposes the `mongosh` binary for easy installation:
4+
5+
```
6+
npm i -g mongosh
7+
```

packages/mongosh/bin/mongosh.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env node
2+
require('@mongosh/cli-repl/lib/run');

packages/mongosh/package.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "mongosh",
3+
"version": "0.4.0",
4+
"description": "MongoDB Shell CLI REPL",
5+
"keywords": [
6+
"mongosh",
7+
"mongodb",
8+
"mongo",
9+
"shell"
10+
],
11+
"homepage": "https://github.com/mongodb-js/mongosh/",
12+
"license": "Apache-2.0",
13+
"bin": {
14+
"mongosh": "bin/mongosh.js"
15+
},
16+
"files": [
17+
"bin"
18+
],
19+
"repository": {
20+
"type": "git",
21+
"url": "git+https://github.com/mongodb-js/mongosh.git"
22+
},
23+
"scripts": {
24+
"test": "exit 0"
25+
},
26+
"bugs": {
27+
"url": "https://github.com/mongodb-js/mongosh/issues"
28+
},
29+
"dependencies": {
30+
"@mongosh/cli-repl": "^0.4.0"
31+
},
32+
"publishConfig": {
33+
"access": "public"
34+
},
35+
"engines": {
36+
"node": "^12.4.0"
37+
}
38+
}

0 commit comments

Comments
 (0)