-
Notifications
You must be signed in to change notification settings - Fork 8
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
Dependencies Update plus small fixes #147
Dependencies Update plus small fixes #147
Conversation
- UUID - @nuxt/types
To add missing stylesheet for Vue JSON Pretty component
I get |
Do you have a suggestion on how to proceed? Shall we document this requirement somewhere? |
The node version is pinned here: https://github.com/circlefin/payments-sample-app/blob/master/.nvmrc |
To bump Node version to the current LTS
It's done! |
Increasing the node version can break it for someone who runs it on old node, I'm all in on upgrading versions, but just want to make sure we aware of the output of it. |
If the version is pinned in the @MasterXen We could use your input in the matter. Thanks! |
Agree that we should update to avoid warnings and product a clean build/runtime. But upgrades should not exceed the LTS version |
To fix Node version to 16.3.0 instead of 16.3.1. 16.3.0 is the version we have a Docker image for.
@itsikcircle @kristinfritsch @MasterXen Node version fixed on 16.3.0 which is the same image we're using on account-web and an image we're providing ourselves. |
Build fail... |
I've retested the build manually in CodeBuild. There's a few new warnings related to the Nuxt upgrade which seem relatively harmless. However, the build looks to fail on
|
|
This comment has been minimized.
This comment has been minimized.
overrides: [ | ||
{ | ||
files: ['*.vue'], | ||
rules: { | ||
indent: 'off', | ||
}, | ||
}, | ||
], |
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.
This disables default ESLint's indent
rule for Vue files, letting vue/script-indent
do its job.
@@ -22,7 +22,17 @@ module.exports = { | |||
'vue/html-self-closing': 'off', | |||
'vue/singleline-html-element-content-newline': 'off', | |||
'vue/max-attributes-per-line': 'off', | |||
'vue/multi-word-component-names': 'off', |
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.
This rule doesn't make sense in Nuxt apps because of the filename based routing system. We want to have single name components in order to have tidy routes.
@@ -14,6 +14,7 @@ | |||
|
|||
<script lang="ts"> | |||
import { Component, Prop, Vue } from 'nuxt-property-decorator' | |||
// eslint-disable-next-line import/named |
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.
server: { | ||
host: '0.0.0.0', | ||
host: 'localhost', |
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.
This should fix the URL suggestion in the Terminal output. Now it is http://localhost:3000
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.
Thanks, i like that better than #148
interface CreateChargePayload { | ||
id: string | ||
amount: { | ||
amount: number | ||
currency: string | ||
} | ||
verification: string | ||
source: { | ||
id: string | ||
type: string | ||
} | ||
keyId: string | ||
encryptedData: string | ||
} | ||
|
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.
ESLint caught this unused piece of code
@fabiovedovelli is currently looking into an issue with the eslint config in |
This is now ready for another review/tests! Thank you |
@@ -0,0 +1,19 @@ | |||
module.exports = { | |||
root: true, |
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.
This is what prevents ESLint configurations to clash.
Thanks for addressing all the issues! Looks great locally! |
@itsikcircle @kristinfritsch Everything is fixed and this PR is ready for approval. Thanks |
Changes
yarn upgrade-interactive --exact --latest
@nuxt/types
anduuid
, after which the project started to build againtestEnvironment: 'jsdom'
tojest.config.js
, required after jest upgradeRequestInfo.vue
component to properly display formatted JSON outputTesting
I've been manually testing the application for the past hour and so far everything is working as expected.
Reviewers
@MasterXen @kristinfritsch @jiacovino-circle @MasterXen @tgolbs-circle @felipelima-circle @MehediH @dave-circle @neilkumar-circle @fn0rth