⬆️ upgrade babel and typescript packages caused by jest upgrade (#73)
This commit is contained in:
Generated
+1237
-1409
File diff suppressed because it is too large
Load Diff
@@ -57,11 +57,12 @@
|
||||
"tdrive-cli": "bin/tdrive-cli"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.11.6",
|
||||
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
||||
"@babel/plugin-proposal-decorators": "^7.10.5",
|
||||
"@babel/preset-env": "^7.11.5",
|
||||
"@babel/preset-typescript": "^7.10.4",
|
||||
"@babel/core": "^7.22.5",
|
||||
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
||||
"@babel/plugin-proposal-private-property-in-object": "^7.18.6",
|
||||
"@babel/plugin-proposal-decorators": "^7.18.10",
|
||||
"@babel/preset-env": "^7.19.4",
|
||||
"@babel/preset-typescript": "^7.18.6",
|
||||
"@types/amqp-connection-manager": "^2.0.10",
|
||||
"@types/analytics-node": "^3.1.5",
|
||||
"@types/archiver": "^5.3.1",
|
||||
@@ -79,7 +80,7 @@
|
||||
"@types/lodash": "^4.14.165",
|
||||
"@types/minio": "^7.0.7",
|
||||
"@types/mongodb": "^4.0.7",
|
||||
"@types/node": "^14.11",
|
||||
"@types/node": "^18.11",
|
||||
"@types/node-cron": "^3.0.0",
|
||||
"@types/node-fetch": "^2.5.12",
|
||||
"@types/node-uuid": "^0.0.28",
|
||||
@@ -92,15 +93,15 @@
|
||||
"@types/supertest": "2.0.4",
|
||||
"@types/uuid": "^8.3.0",
|
||||
"@types/ws": "^7.2.7",
|
||||
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
||||
"@typescript-eslint/parser": "^4.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
||||
"@typescript-eslint/parser": "^5.59.9",
|
||||
"babel-jest": "^29.1.0",
|
||||
"babel-plugin-parameter-decorator": "^1.0.16",
|
||||
"chai": "^4.2.0",
|
||||
"cpy-cli": "^4.2.0",
|
||||
"eslint": "^7.10.0",
|
||||
"eslint-config-prettier": "^6.15.0",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint": "^8.42.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"form-auto-content": "^2.2.0",
|
||||
"jest": "^29.1.0",
|
||||
@@ -114,7 +115,7 @@
|
||||
"ts-node": "^9.0.0",
|
||||
"ts-node-dev": "^1.1.8",
|
||||
"tsc-watch": "^4.2.9",
|
||||
"typescript": "^4.0.3",
|
||||
"typescript": "^4.9.5",
|
||||
"tsconfig-paths": "^3.14.1"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -171,7 +172,7 @@
|
||||
"match-all": "^1.2.6",
|
||||
"minio": "^7.0.18",
|
||||
"moment": "^2.29.4",
|
||||
"mongodb": "^4.1.0",
|
||||
"mongodb": "^5.6.0",
|
||||
"multistream": "^4.1.0",
|
||||
"njwt": "^2.0.0",
|
||||
"node-abort-controller": "^3.1.1",
|
||||
|
||||
@@ -56,7 +56,7 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
|
||||
const company = await gr.services.companies.getCompany({ id: argv.id });
|
||||
|
||||
if (!company) {
|
||||
return "No such company";
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(`Start export for company ${company.id}`);
|
||||
@@ -103,7 +103,7 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
|
||||
}
|
||||
writeFileSync(`${output}/users.json`, JSON.stringify(users));
|
||||
|
||||
await platform.stop();
|
||||
await platform.stop().then(() => console.log("Platform stopped"));
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ const command: yargs.CommandModule<{}, CLIArgs> = {
|
||||
return obsv$
|
||||
.toPromise()
|
||||
.then(() => platform.stop())
|
||||
.finally(() => console.log("✅ Company users are now created"));
|
||||
.then(() => console.log("✅ Company users are now created"));
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -134,7 +134,9 @@ const command: yargs.CommandModule<unknown, unknown> = {
|
||||
repository,
|
||||
});
|
||||
|
||||
return spinner.stop();
|
||||
spinner.stop();
|
||||
|
||||
return;
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -56,7 +56,8 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
|
||||
|
||||
if (!user) {
|
||||
console.error("Error: You need to provide User ID");
|
||||
return spinner.stop();
|
||||
spinner.stop();
|
||||
return;
|
||||
}
|
||||
|
||||
if (user) {
|
||||
@@ -79,6 +80,8 @@ const command: yargs.CommandModule<unknown, CLIArgs> = {
|
||||
}
|
||||
|
||||
exit();
|
||||
|
||||
return;
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
+2683
-3196
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user