collaboration Drawing app
 
 
 
Go to file
Gwenaël Gallon e0e1373468
Chore: clean up sort imports with prettier (#870)
* Update prettier to latest

* Add format command

* Create .prettierignore

* Add prettier plugin sort imports

* Update prettier config

* Update prettier config

* Update .prettierignore

* Fix @babel/parser conflict

https://github.com/trivago/prettier-plugin-sort-imports/issues/156

* Revert "Update .prettierignore"

This reverts commit 282e5b8383.

* Revert change for apps/www/pages/v/[id].tsx

* Sort imports

Moves the third party imports to the top, "~" imports in middle, and "./" at last

* Sorting of the specifiers

in an import declarations

* [www] use path vs  "../"

* [core] use path "~" vs "../"

* [tldraw] use path "~" vs "../.../"

* [tldraw] use path "~" vs "../"

* [tldraw] Cleanup

* Update prettier config

* Last use path "~" vs "../.../"

* [www] Fix order of the third party imports

* Clean prettier config
2022-08-02 14:56:12 +01:00
.changeset chore: clean up local dev tooling (#856) 2022-07-28 08:19:53 +01:00
.github chore: improve linting (#855) 2022-07-28 08:25:46 +01:00
.husky chore: clean up local dev tooling (#856) 2022-07-28 08:19:53 +01:00
.turbo chore: clean up local dev tooling (#856) 2022-07-28 08:19:53 +01:00
.vscode Add recommended extensions 2021-11-27 17:15:45 +00:00
apps Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
assets 1.17.0 2022-06-19 14:52:06 +01:00
examples Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
guides Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
packages Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
.eslintignore Prepare for Publishing VS Code Extension (#227) 2021-11-10 15:35:51 +00:00
.eslintrc Fix: workflow failure with missing lint command and added lint for apps/examples (#866) 2022-07-30 08:27:54 +01:00
.gitignore [feature] Iframe warning (#800) 2022-07-08 21:25:08 +01:00
.ignore feat: add translation (#704) 2022-06-09 15:33:35 +01:00
.npmignore chore: remove typedoc and docs scripts (#864) 2022-07-29 15:22:08 +01:00
.prettierignore Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
.prettierrc Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
CODE_OF_CONDUCT.md updates docs / readmes / adds contributor guide 2021-11-11 12:11:21 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-11-23 15:09:51 +00:00
LICENSE.md Update documentation 2022-01-07 09:01:08 +00:00
README.md 1.17.0 2022-06-19 14:52:06 +01:00
package.json Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
repo-map.tldr Fix exports in prod (#521) 2022-01-18 10:00:58 +00:00
setupTests.ts Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00
tsconfig.base.json [improvement] Improve monorepo (lask + turbo) (#566) 2022-02-08 11:05:56 +00:00
tsconfig.json [feature] Add grids (#344) 2021-11-26 15:14:10 +00:00
turbo.json Fix: workflow failure with missing lint command and added lint for apps/examples (#866) 2022-07-30 08:27:54 +01:00
yarn.lock Chore: clean up sort imports with prettier (#870) 2022-08-02 14:56:12 +01:00

README.md

A screenshot of the tldraw web app

Welcome to the tldraw monorepo.

🙌 Questions? Join the Discord channel or start a discussion.

💕 Love this project? Consider becoming a sponsor.

Thanks to our corporate sponsors:

...and to our individual sponsors!

Contents

This repository is a monorepo containing two packages:

  • packages/tldraw contains the source for the @tldraw/tldraw package. This is an editor as a React component named <Tldraw>. You can use this package to embed the tldraw editor in any React application.
  • packages/core contains the source for the @tldraw/core package. This is a renderer for React components in a canvas-style UI. It is used by @tldraw/tldraw as well as several other projects.

...and three apps:

...and three examples:

Discussion

Want to connect? Visit the Discord channel.

Contribution

Interested in contributing? See the contributing guide.

Support

Need help? Please open an issue for support.

License

This project is licensed under MIT.

If you're using the library in a commercial product, please consider becoming a sponsor.

Author