-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: yarn berry + fetch + docker opti + sec #1012
Conversation
921abe1
to
98cb41e
Compare
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
top ! avant de merger, il faut qu'on valide avec la team et les points que j'ai noté dans la review
merci beaucoup pour le travail jo 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je l'a mets en request changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci pour la PR et les explications tu gères 🙏
@@ -51,13 +51,13 @@ | |||
"start": "node --enable-source-maps --unhandled-rejections=strict ./dist/index.js", | |||
"start:debug": "rm -rf data/* && ncc build ./src/index.ts -o ./dist -e nodegit -s && HASURA_GRAPHQL_ENDPOINT=http://localhost:8080/v1/graphql HASURA_GRAPHQL_ADMIN_SECRET=admin1 node --enable-source-maps --unhandled-rejections=strict ./dist/index.js", | |||
"clean": "rm -rf data/*", | |||
"lint": "eslint \"./src/**/*.{js,ts}\"", | |||
"lint": "npx eslint \"./src/**/*.{js,ts}\"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
il faudrait qu'on fix une version sur les dev dependencies. je suis pas fan de passer par npx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
si eslint est installé dans le node_module du dossier courant ou parent, npx va utiliser la version installée, ce qui est le cas ici, du coup aucun risque que ça prenne la dernière version ;-)
du coup c'est celle là qui sera utilisée:
"eslint": "^8.41.0", |
@@ -54,7 +56,7 @@ | |||
"clean": "rm -rf data/*", | |||
"cli:dev": "HASURA_GRAPHQL_ENDPOINT=http://localhost:8080/v1/graphql HASURA_GRAPHQL_ADMIN_SECRET=admin1 ncc run -s src/cli.ts", | |||
"cli:prod": "HASURA_GRAPHQL_ENDPOINT=http://localhost:8080/v1/graphql HASURA_GRAPHQL_ADMIN_SECRET=admin1 yarn start", | |||
"lint": "eslint \"./src/**/*.{js,ts}\"", | |||
"lint": "npx eslint \"./src/**/*.{js,ts}\"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
là aussi il faudrait qu'on set la version de eslint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
si eslint est installé dans le node_module du dossier courant ou parent, npx va utiliser la version installée, ce qui est le cas ici, du coup aucun risque que ça prenne la dernière version ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
du coup c'est celle là qui sera utilisée:
"eslint": "^8.41.0", |
Co-authored-by: Martial Maillot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Top ! Merci 👍
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
🎉 Deployment for commit cd0ea8f : IngressesDocker images
|
No description provided.