Skip to content

Commit

Permalink
feat: Upgrade package yarn and swagger ui
Browse files Browse the repository at this point in the history
  • Loading branch information
batleforc committed Aug 13, 2024
1 parent 00d1128 commit c3c6f99
Show file tree
Hide file tree
Showing 4 changed files with 182 additions and 304 deletions.
2 changes: 1 addition & 1 deletion apps/back/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tracing = "0.1"
tokio = { version = "1.39", features = ["rt-multi-thread"] }
actix-web = "4"
utoipa = { version = "4", features = ["actix_extras", "chrono"] }
utoipa-swagger-ui = { version = "4", features = ["actix-web"] }
utoipa-swagger-ui = { version = "7", features = ["actix-web"] }
actix-cors = "0.7.0"
tracing-actix-web = "0.7.11"
infer = "0.16.0"
Expand Down
14 changes: 9 additions & 5 deletions libs/hook/src/executors/hook:vue/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ const runExecutor: PromiseExecutor<HookVueExecutorSchema> = async (options) => {
console.info('Running Vue hook for', options['target-dir']);
const hookCommand = ['nx lint front', 'yarn audit'];
const command = hookCommand.join(' && ');
await promisify(exec)(command)
return await promisify(exec)(command)
.then((result) => {
console.log(result.stdout);
console.log(result.stderr);
return {
success: true,
};
})
.catch((err) => {
console.log('TEMPORARY MESURE', err);
console.error('Error running command', command);
console.error(err);
return {
success: false,
};
});
return {
success: true,
};
};

export default runExecutor;
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@
},
"devDependencies": {
"@monodon/rust": "^2.0.0-beta.1",
"@nx/cypress": "19.4.3",
"@nx/devkit": "19.4.3",
"@nx/eslint": "19.4.3",
"@nx/eslint-plugin": "19.4.3",
"@nx/jest": "19.4.3",
"@nx/js": "19.4.3",
"@nx/plugin": "19.4.3",
"@nx/vite": "19.4.3",
"@nx/vue": "19.4.3",
"@nx/web": "19.4.3",
"@nx/workspace": "19.4.3",
"@nx/cypress": "19.5.7",
"@nx/devkit": "19.5.7",
"@nx/eslint": "19.5.7",
"@nx/eslint-plugin": "19.5.7",
"@nx/jest": "19.5.7",
"@nx/js": "19.5.7",
"@nx/plugin": "19.5.7",
"@nx/vite": "19.5.7",
"@nx/vue": "19.5.7",
"@nx/web": "19.5.7",
"@nx/workspace": "19.5.7",
"@primevue/auto-import-resolver": "^4.0.4",
"@swc-node/register": "~1.9.1",
"@swc/cli": "~0.3.12",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@types/jest": "^29.4.0",
"@types/node": "18.16.9",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"@vitejs/plugin-vue": "^4.5.0",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.3.1",
Expand All @@ -56,15 +56,15 @@
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"jsdom": "~22.1.0",
"nx": "19.4.3",
"nx": "19.5.7",
"postcss": "^8.4.41",
"prettier": "^2.6.2",
"sass": "1.62.1",
"tailwindcss": "^3.4.9",
"tailwindcss-primeui": "^0.3.4",
"ts-jest": "^29.1.0",
"ts-node": "10.9.1",
"typescript": "~5.4.2",
"typescript": "5.5.4",
"unplugin-vue-components": "^0.27.3",
"vite": "^5.0.0",
"vitest": "^1.3.1",
Expand Down
Loading

0 comments on commit c3c6f99

Please sign in to comment.