@mongodb-js/mql-typescript 0.4.4 → 0.4.6
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/dist/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/package.json +8 -8
package/dist/cli.js
CHANGED
|
@@ -4,11 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const yargs_1 = __importDefault(require("yargs"));
|
|
7
|
+
const helpers_1 = require("yargs/helpers");
|
|
7
8
|
const schema_generator_1 = require("./schema-generator");
|
|
8
9
|
const test_generator_1 = require("./testGenerator/test-generator");
|
|
9
10
|
const driver_schema_generator_1 = require("./driverSchema/driver-schema-generator");
|
|
10
11
|
async function main() {
|
|
11
|
-
const argv = await yargs_1.default
|
|
12
|
+
const argv = await (0, yargs_1.default)((0, helpers_1.hideBin)(process.argv))
|
|
12
13
|
.command('schema', 'Generates schema from the php driver definitions')
|
|
13
14
|
.command('tests', 'Generates tests from the php driver definitions and the docs examples')
|
|
14
15
|
.command('driver-schema', 'Updates the php driver definitions with the schema for the tests', {
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,yDAAqD;AACrD,mEAA+D;AAC/D,oFAA+E;AAG/E,KAAK,UAAU,IAAI;IACjB,MAAM,IAAI,GAAG,MAAM,eAAK;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,2CAAwC;AACxC,yDAAqD;AACrD,mEAA+D;AAC/D,oFAA+E;AAG/E,KAAK,UAAU,IAAI;IACjB,MAAM,IAAI,GAAG,MAAM,IAAA,eAAK,EAAC,IAAA,iBAAO,EAAC,OA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AAC;IACnB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"email": "compass@mongodb.com"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/mongodb-js/devtools-shared",
|
|
16
|
-
"version": "0.4.
|
|
16
|
+
"version": "0.4.6",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "https://github.com/mongodb-js/devtools-shared.git"
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|
|
34
34
|
"require": {
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
37
|
},
|
|
38
38
|
"import": {
|
|
39
|
-
"
|
|
40
|
-
"
|
|
39
|
+
"types": "./dist/index.d.ts",
|
|
40
|
+
"default": "./dist/.esm-wrapper.mjs"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"./schema": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@mongodb-js/eslint-config-devtools": "^0.11.3",
|
|
74
74
|
"@mongodb-js/prettier-config-devtools": "^1.0.2",
|
|
75
|
-
"@mongodb-js/shell-bson-parser": "^1.5.
|
|
75
|
+
"@mongodb-js/shell-bson-parser": "^1.5.7",
|
|
76
76
|
"@mongodb-js/tsconfig-devtools": "^1.1.1",
|
|
77
77
|
"@types/chai": "^4.2.21",
|
|
78
78
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
"prettier": "^3.5.3",
|
|
90
90
|
"ts-node": "^10.9.2",
|
|
91
91
|
"typescript": "^5.9.3",
|
|
92
|
-
"yargs": "^
|
|
92
|
+
"yargs": "^18.0.0",
|
|
93
93
|
"zod": "^3.24.2"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
96
|
"bson": "^4.6.3 || ^5 || ^6.10.3 || ^7.0.0",
|
|
97
97
|
"mongodb": "^6.9.0 || ^7.0.0"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "26fa9493b6280f66f51f00a07cd85df1ba7100ce"
|
|
100
100
|
}
|