-
Notifications
You must be signed in to change notification settings - Fork 23
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
ui: PrettyPrint component uses now prettier 3.1 #3662
ui: PrettyPrint component uses now prettier 3.1 #3662
Conversation
7f1156e
to
dea3dd4
Compare
aded19c
to
8b3265e
Compare
8b3265e
to
71e3956
Compare
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.
Great job! 👍
A few changes should be done before we can merge this.
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/services/pretty-print.service.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/services/pretty-print.service.intf.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/services/pretty-print.service.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/services/pretty-print.service.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/services/pretty-print.service.ts
Outdated
Show resolved
Hide resolved
2e378d0
to
d47412d
Compare
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.
A few changes to apply, almost there 👍
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.spec.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.spec.ts
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/pretty-print/components/pretty-print.component.spec.ts
Outdated
Show resolved
Hide resolved
d47412d
to
8a9ac12
Compare
Because the prettier.format is now async, we need to change the way we handle the format function We create a service to handle the asynchronous call We need to remove `@prettier/plugin-xml` because we cannot make it run in standalone. To format xml data we use `html` parser
8a9ac12
to
323d8cd
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
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.
LGTM 👍
Because the prettier.format is now async, we need to change the way we handle the format function We create a service to handle this
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
update prettier to prettier 3.1
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information