Skip to content

Chore: Markdown formatting while running lint command - #964

Merged
vishalnarkhede merged 33 commits into
v4.0.0from
khushal87-markdown-prettier
Nov 22, 2021
Merged

vishalnarkhede merged 33 commits into
v4.0.0from
khushal87-markdown-prettier

Conversation

@khushal87

@khushal87 khushal87 commented Nov 2, 2021 •

Copy link
Copy Markdown
Contributor

🎯 Goal

The markdown in the docusaurus directory is not well-formatted and introducing a prettier command to format the files makes sense. So, this is introduced in this pull request.

πŸ›  Implementation details

This works by adding the command npx prettier --write '**/*.mdx' while we run yarn lint command. The command is also introduced in the workflow files and therefore would check and format the files during the workflow.

🎨 UI Changes

iOS
Before After
Android
Before After

πŸ§ͺ Testing

NA

β˜‘οΈ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Commits follow the conventional commits spec
  • New code is covered by tests
  • Screenshots added for visual changes
  • Documentation is updated

@khushal87
khushal87 force-pushed the khushal87-markdown-prettier branch from 40cc813 to 8a70173 Compare November 2, 2021 11:42
@khushal87
khushal87 marked this pull request as ready for review November 2, 2021 11:54

@madsroskar madsroskar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't make much sense to me that we have the CI format the files rather than checking whether they have already been formatted. Can we change that?

Comment thread .github/workflows/next-release.yml Resolved
Comment thread package.json Resolved
@madsroskar

Copy link
Copy Markdown
Contributor

chore: update the lint workflow for next release and release

This should be labeled build, probably

Comment thread .github/workflows/next-release.yml Resolved
madsroskar and others added 12 commits November 11, 2021 14:00
build: Remove e2e workflows as they're not stable enough
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tar](https://github.com/npm/node-tar) from 6.1.8 to 6.1.11.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.8...v6.1.11)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mads RΓΈskar <mads.roskar@getstream.io>
fix: render attachment type video in FileAttachment view [CRNS-480]
…e/tmpl-1.0.5

build(deps): bump tmpl from 1.0.4 to 1.0.5 in /package
…e/tar-6.1.11

build(deps): bump tar from 6.1.8 to 6.1.11 in /package
@madsroskar

Copy link
Copy Markdown
Contributor

@khushal87 Could you check out the conflicts here?

@khushal87
khushal87 force-pushed the khushal87-markdown-prettier branch from a8dbfc9 to 1da94cd Compare November 22, 2021 12:47
@vishalnarkhede
vishalnarkhede merged commit 7647891 into v4.0.0 Nov 22, 2021
@vishalnarkhede
vishalnarkhede deleted the khushal87-markdown-prettier branch November 22, 2021 17:47
@vishalnarkhede

Copy link
Copy Markdown
Contributor

πŸŽ‰ This PR is included in version 3.10.2 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants