Skip to content

Commit

Permalink
Update demo app to utilize mui-tiptap and add dependencies
Browse files Browse the repository at this point in the history
This still doesn't work properly, due to issues with duplicate React
instances being installed as described in
pnpm/pnpm#2743 and
https://legacy.reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react
  • Loading branch information
sjdemartini committed May 16, 2023
1 parent 7c19a1d commit 6d3ef4b
Show file tree
Hide file tree
Showing 6 changed files with 1,693 additions and 46 deletions.
13 changes: 7 additions & 6 deletions CONTRIBUTING.md
Expand Up @@ -2,12 +2,7 @@

_Pull requests, bug reports, and all other forms of contribution are welcomed and highly encouraged!_ :octocat:

### Contents

- [Code of Conduct](#book-code-of-conduct)
- [How can I Contribute?](#inbox_tray-how-can-i-contribute)

> **This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.**
This guide serves to set clear expectations for everyone involved with the project so that we can improve it together while also creating a welcoming space for everyone to participate. Following these guidelines will help ensure a positive experience for contributors and maintainers.

## :inbox_tray: How can I Contribute?

Expand All @@ -22,3 +17,9 @@ Please leverage the repository's own tools to make sure the code is aligned with
1. Run all check commands before submitting the PR (`type:check`, `format:check`, `lint:check`, `test:coverage` and `spell:check`)
2. Please commit your changes and run a `setup` command so you can actually check how would the template look like once cleaned up
3. Always leverage the `cz` command to create a commit. We heavily rely on this for automatic releases.

## Development demo setup

1. Set up [pnpm](https://pnpm.io/installation)
2. Run `pnpm install`
3. Run `pnpm dev` and view the demo site at the printed localhost URL
41 changes: 41 additions & 0 deletions demo/package.json
Expand Up @@ -10,6 +10,47 @@
"preview": "vite preview"
},
"dependencies": {
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.12.3",
"@tiptap/core": "2.0.0-beta.209",
"@tiptap/extension-blockquote": "2.0.0-beta.26",
"@tiptap/extension-bold": "2.0.0-beta.26",
"@tiptap/extension-bubble-menu": "2.0.0-beta.209",
"@tiptap/extension-bullet-list": "2.0.0-beta.26",
"@tiptap/extension-code": "2.0.0-beta.26",
"@tiptap/extension-code-block": "2.0.0-beta.37",
"@tiptap/extension-collaboration": "2.0.0-beta.209",
"@tiptap/extension-collaboration-cursor": "2.0.0-beta.209",
"@tiptap/extension-document": "2.0.0-beta.15",
"@tiptap/extension-dropcursor": "2.0.0-beta.25",
"@tiptap/extension-floating-menu": "2.0.0-beta.209",
"@tiptap/extension-gapcursor": "2.0.0-beta.34",
"@tiptap/extension-hard-break": "2.0.0-beta.30",
"@tiptap/extension-heading": "2.0.0-beta.26",
"@tiptap/extension-history": "2.0.0-beta.21",
"@tiptap/extension-image": "2.0.0-beta.27",
"@tiptap/extension-italic": "2.0.0-beta.26",
"@tiptap/extension-link": "2.0.0-beta.37",
"@tiptap/extension-list-item": "2.0.0-beta.209",
"@tiptap/extension-mention": "2.0.0-beta.96",
"@tiptap/extension-ordered-list": "2.0.0-beta.27",
"@tiptap/extension-paragraph": "2.0.0-beta.23",
"@tiptap/extension-placeholder": "2.0.0-beta.48",
"@tiptap/extension-strike": "2.0.0-beta.27",
"@tiptap/extension-subscript": "2.0.0-beta.10",
"@tiptap/extension-superscript": "2.0.0-beta.10",
"@tiptap/extension-table": "2.0.0-beta.209",
"@tiptap/extension-table-cell": "2.0.0-beta.209",
"@tiptap/extension-table-header": "2.0.0-beta.209",
"@tiptap/extension-table-row": "2.0.0-beta.209",
"@tiptap/extension-task-item": "2.0.0-beta.32",
"@tiptap/extension-task-list": "2.0.0-beta.26",
"@tiptap/extension-text": "2.0.0-beta.15",
"@tiptap/prosemirror-tables": "1.1.4",
"@tiptap/react": "2.0.0-beta.109",
"@tiptap/suggestion": "2.0.0-beta.91",
"mui-tiptap": "link:..",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down

0 comments on commit 6d3ef4b

Please sign in to comment.