Thomas Steiner
c8badf8072
Another attempt at making use of the browser-fs-access
npm package directly ( #894 )
...
* Fight with TypeScript
* Make TypeScript happy(?)
* Apply suggestions from code review
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
* Update yarn.lock
* Fix favicons
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 08:41:50 +01:00
Gwenaël Gallon
25f39a65fc
Chore: update and optimize turbo ( #885 )
...
* Update turbo to latest
* Update turbo.json
* The --stream flag has been deprecated
* Remove unused start:all
* build:packages -> use new --filter
* build:apps -> use new --filter
* build:www -> use new --filter
* build:core -> use new --filter
* build -> fix tldraw-example dependencies
* Optimize test* and lint
* start & start:core -> use new --filter
* start:electron -> use new --filter
* Remove unused start:apps
* Update turbo.json
* Caching ESLint
See Pro Tip : https://turborepo.org/docs/core-concepts/caching#configuring-cache-outputs
* Optimize test:watch
* start:www -> use new filter
* start:vscode -> use new filter
* Update build:core
* Optimize start and start:core
* Clean build:core
* Remove unused command
* Revert "Merge branch 'main' into chore/update-turbo"
This reverts commit a481c242054504c9b8452822df8c452c24bcdfbd, reversing
changes made to a0f2f337b3d00974741effd4faae699ce493d3a2.
* Update start:electron
* Remove unused deploy in turbo.json
* Add start:extension
* Add package:electron and package:vscode
* Add publish:vscode
* Revet Revert: revert "Merge branch 'main' into chore/update-turbo"
* Update vscode extension build
* Clean tldraw-example tsconfig.json
* Uniform script commands
* Fix start for www
* remove mention of removed packages
* add build:core
* Add force to build step
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 07:08:32 +01:00
Steve Ruiz
d5639f696a
update yarn.lock, clean some deps
2022-08-10 01:00:42 +01:00
Steve Ruiz
a0007142e0
[chore] epic purge ( #893 )
...
* remove extension / electron app
* switch examples to vite
* Update licenses
* Add script
* fix titles
2022-08-10 00:18:59 +01:00
Gwenaël Gallon
429a1c5ffc
Chore: command format prettier run, yarn workspace run, build run ! ( #882 )
...
* Add custom package without @babel dependencies
The @ggallon/prettier-plugin-sort-imports@^3.4.2-canary.0" have only peer dependencies
* Update .prettierignore
2022-08-08 10:34:47 +01:00
Steve Ruiz
f50dc9d9a2
bump version
2022-08-02 17:58:18 +01:00
Steve Ruiz
d83f6ac9e1
remove deps
2022-08-02 17:56:56 +01:00
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 282e5b838376f16b3df7f4c1f99f1106baaffea4.
* 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
Gwenaël Gallon
3c2c26c11e
Fix: workflow failure with missing lint command and added lint for apps/examples ( #866 )
...
* Add turbo run lint
* Add lint to all apps and examples
* Update eslint with monorepo configuration
see: https://typescript-eslint.io/docs/linting/typed-linting/monorepos#one-tsconfigjson-per-package-and-an-optional-one-in-the-root
* Remove unused rules
* Exclude @tldraw/www from global eslint config
* Remove duplicated eslint
* Fix eslint prefer-const errors
* Fix eslint no-unused-vars warning
* Update package.json
* Fix eslint no-unused-vars warning
* bump eslint@^8.20.0
* Correct "Fix eslint no-unused-vars warning"
This reverts commit 0158a2585af84b623f2c5581412252c8471375ae.
2022-07-30 08:27:54 +01:00
with-heart
82f9278976
chore: remove typedoc and docs scripts ( #864 )
2022-07-29 15:22:08 +01:00
with-heart
3d4544548b
chore: improve linting ( #855 )
...
* chore(lint): upgrade typescript-eslint
* chore(lint): add root "lint" script
* chore(turbo): remove build dependency from lint
* chore(lint): enable jest recommended rules
* chore(lint): resolve errors
* ci: add lint step
* prettier
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-28 08:25:46 +01:00
with-heart
2e36dadfec
chore: clean up local dev tooling ( #856 )
...
* chore: clean up husky + lint-staged
* chore: format all files with prettier
2022-07-28 08:19:53 +01:00
Judicael
6267cefa1d
update radix ui primitives ( #842 )
2022-07-24 23:57:47 +01:00
Judicael
77337b1281
feat: add help panel ( #816 )
...
* feat: add help panel
* feat: added all the shortcuts and responsive
* improve help panel
* add modal for the shortcut
* add grid
* fix language menu
* add responsive grid
* Styling keyboard shortcuts / panel
* fix links ts issue
* Improve styling
* Fix translation bug
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-19 10:04:38 +01:00
Steve Ruiz
de3935a28f
new tab extension ( #773 )
...
* Add new tab extension
* Update package.json
* Update package.json
* Update screenshot / manifest
2022-06-30 15:10:49 +01:00
dependabot[bot]
26f4c59fdc
Bump next-auth from 4.3.3 to 4.5.0 ( #747 )
...
Bumps [next-auth](https://github.com/nextauthjs/next-auth ) from 4.3.3 to 4.5.0.
- [Release notes](https://github.com/nextauthjs/next-auth/releases )
- [Changelog](https://github.com/nextauthjs/next-auth/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nextauthjs/next-auth/compare/next-auth@v4.3.3...next-auth@v4.5.0 )
---
updated-dependencies:
- dependency-name: next-auth
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-26 07:33:42 +01:00
dependabot[bot]
6e1f8ff16d
Bump electron from 17.0.0 to 17.2.0 ( #749 )
...
Bumps [electron](https://github.com/electron/electron ) from 17.0.0 to 17.2.0.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v17.0.0...v17.2.0 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-26 07:33:21 +01:00
Vincent Driessen
0acfd563fe
Upgrade Liveblocks to 0.17 ( #738 )
...
* Upgrade Liveblocks packages to 0.17
* Convert app to recommended Liveblocks 0.17 setup
* Convert multiplayer example to recommended Liveblocks 0.17 setup
* Convert multiplayer-with-images example to recommended Liveblocks 0.17 setup
* Fix React rendering issue for multiplayer app
This bug could manifest after _navigating_ internally to the Multiplayer
example app. Liveblocks Storage would seem to remain empty, but Presence
would still seem to work. In other words, you'd see cursors flying, but
no document contents.
This did not happen when doing a full page load.
This bug only occurs in React strict mode.
* update onPatch and onCommand
* "Add event callbacks for `onSessionStart` and `onSessionEnd`"
* Adds edit state
* Pass callbacks to app
* Remove console logs
* interpolate cursor only when not in session
* Update multiplayer icon
* Fix a few things
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-25 15:38:43 +01:00
Steve Ruiz
b5d15dff39
Fix react types
2022-06-16 14:28:12 +01:00
Steve Ruiz
702016a3ef
Replace lask with lfg
2022-06-16 14:23:27 +01:00
Steve Ruiz
6608b07ab0
Update README, lask
2022-06-16 14:15:35 +01:00
Steve Ruiz
ef9d457a14
[fix] typescript types ( #721 )
...
* fix types
* Update .eslintrc.json
2022-06-16 09:09:48 +01:00
Steve Ruiz
d52d91b367
Enforce readonly mode ( #714 )
...
* Enforce readonly mode
* Fix test for React 18
* Move to dev
2022-06-09 16:00:47 +01:00
Judicael
d919bd273e
feat: add translation ( #704 )
...
* feat: add translation
* modal, left menu translation
* primary tools translation
* render with intl provider for testing
restore file
* french translation done
* context menu translation and test
* added italian
* Add menu to select language
* translation for the word language
* bump dev deps
Bump react on www
* Fix types
* update dependencies
* pre-release
* Delete lask.config.json
Co-authored-by: Enrico <franciscono.enry@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-09 15:33:35 +01:00
dependabot[bot]
7c08f2f5b6
Bump protobufjs from 6.11.2 to 6.11.3 ( #713 )
...
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js ) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases )
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md )
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3 )
---
updated-dependencies:
- dependency-name: protobufjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 12:54:13 +01:00
dependabot[bot]
bba81eb71f
Bump next-auth from 4.3.2 to 4.3.3 ( #709 )
...
Bumps [next-auth](https://github.com/nextauthjs/next-auth ) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/nextauthjs/next-auth/releases )
- [Changelog](https://github.com/nextauthjs/next-auth/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nextauthjs/next-auth/compare/next-auth@v4.3.2...next-auth@v4.3.3 )
---
updated-dependencies:
- dependency-name: next-auth
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-01 19:10:26 +01:00
Steve Ruiz
b3ad319518
1.15.0
2022-06-01 15:34:20 +01:00
Steve Ruiz
c126be5c50
[feature] add erase line ( #708 )
...
* Add erase line
* Fix erasing small dots
* bump perfect-freehand
2022-06-01 15:21:36 +01:00
Steve Ruiz
13f5787c31
[improvement] Add ability to copy to new multiplayer room ( #693 )
...
* Add ability to copy to new multiplayer room
* cleanup
2022-05-18 16:59:30 +01:00
Steve Ruiz
74b047549b
[fix] zoom on safari ( #692 )
...
* Fix pinch zooming on safari
* Reduce speed of zoom
2022-05-18 13:50:06 +01:00
Steve Ruiz
e2a6badaef
[improvement] Adds error boundary ( #690 )
...
* Add error boundary
* Update useStyle.tsx
* Update ErrorFallback.tsx
2022-05-18 12:45:04 +01:00
Steve Ruiz
c3050db968
[fix] copy and paste (again) ( #685 )
...
* fix copy
* remove console logs
* update types
2022-05-14 14:15:55 +01:00
Steve Ruiz
aeebfa7368
Remove chrome-aws-lambda from dependencies
2022-05-11 14:26:33 +01:00
Steve Ruiz
c54c800675
[improvement] local copy and export for images ( #669 )
...
* local images
use assets for local copy
add menu options
* clean up packages
* cleanup unused content, move file handling into app.paste
* Add tldraw-assets.json to other files.
* add path to editor
* Update build.mjs
* add export to server example with link to gist
* Fix onAssetCreate and onAssetDelete APIs
* Update yarn.lock
* fix bugs on paste, adjust api for getting images, fix readonly on cut, copy, paste
* re-enable swc
* paste svg strings as svg images
* cleanup
* fix string case for tldraw json
2022-05-11 14:25:08 +01:00
dependabot[bot]
1a1ce48407
Bump plist from 3.0.4 to 3.0.5 ( #676 )
...
Bumps [plist](https://github.com/TooTallNate/node-plist ) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases )
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md )
- [Commits](https://github.com/TooTallNate/node-plist/commits )
---
updated-dependencies:
- dependency-name: plist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:59:52 +01:00
Steve Ruiz
e78f9a086a
remove transpile modules ( #670 )
...
* remove transpile modules
* remove dependency
2022-05-11 09:55:31 +01:00
dependabot[bot]
2b484cf93a
Bump ejs from 3.1.6 to 3.1.7 ( #675 )
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases )
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:54:15 +01:00
dependabot[bot]
ada4046701
Bump next-auth from 4.2.1 to 4.3.2 ( #672 )
...
Bumps [next-auth](https://github.com/nextauthjs/next-auth ) from 4.2.1 to 4.3.2.
- [Release notes](https://github.com/nextauthjs/next-auth/releases )
- [Changelog](https://github.com/nextauthjs/next-auth/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nextauthjs/next-auth/compare/v4.2.1...next-auth@v4.3.2 )
---
updated-dependencies:
- dependency-name: next-auth
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:50:53 +01:00
Steve Ruiz
5493403663
Revert "Use the npm module of browser-fs-access ( #653 )"
...
This reverts commit b4e97604b3
.
2022-04-29 09:07:25 +01:00
Steve Ruiz
79204d7ba5
fix build for vscode extension
2022-04-26 11:40:26 +01:00
Thomas Steiner
b4e97604b3
Use the npm module of browser-fs-access ( #653 )
...
* Use npm module
* Update yarn.lock
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-04-25 11:43:31 +01:00
Steve Ruiz
2a98e0c6e7
[fix] Protect document from missing parents / children. ( #622 )
...
* Scan document for missing parents / children.
* fix tests
* Apply fixes to vscode extension
2022-03-17 12:42:18 +00:00
dependabot[bot]
77534ca124
Bump next from 12.0.10 to 12.1.0 ( #610 )
...
Bumps [next](https://github.com/vercel/next.js ) from 12.0.10 to 12.1.0.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v12.0.10...v12.1.0 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 11:26:27 +00:00
Steve Ruiz
7df566ad0f
[fix] export groups ( #574 )
...
* update export logic to include grouped ids
* Update TLDR.ts
* Update package.json
* Update yarn.lock
* remove remote caching
* Update yarn.lock
2022-02-13 13:13:23 +00:00
Steve Ruiz
e8dd64baf7
[fix] Multiplayer bugs on text ( #571 )
...
* Update StickyUtil.tsx
* Fix sticky text in multiplayer?
* fix text and text label
* Update TextUtil.tsx
* Update TextUtil.tsx
* Fix missing empty content button
* Create tidy-ducks-visit.md
* forcing bump
* Update TextUtil.tsx
* fix resizing
* try again
* don't merge editing ids
* fixed!
* Update utils.ts
* downgrade puppeteer
* change deps
* restore deps
* explicit version
* keep at it
* deps
2022-02-11 21:35:24 +00:00
Steve Ruiz
6d164db2cb
[fix] big serverless function ( #568 )
...
* downgrade big deps
* Update yarn.lock
2022-02-08 14:12:22 +00:00
Steve Ruiz
9619e3be0b
Add changeset ( #567 )
...
* add lask for packages
* Add turbo
* remove custom scripts
* update turbo scripts
* Improve scripts, update changelogs
* update action to use turbo
* Update .gitignore
* Update main.yml
* Update main.yml
* Update main.yml
* Add docs
* add clean
* Add changesets
* Add changeset
2022-02-08 11:45:11 +00:00
Steve Ruiz
e1fb9a8250
[improvement] Improve monorepo (lask + turbo) ( #566 )
...
* add lask for packages
* Add turbo
* remove custom scripts
* update turbo scripts
* Improve scripts, update changelogs
* update action to use turbo
* Update .gitignore
* Update main.yml
* Update main.yml
* Update main.yml
* Add docs
* add clean
2022-02-08 11:05:56 +00:00
Steve Ruiz
40b9f4c781
update root dependencies
2022-02-03 11:16:40 +00:00
Steve Ruiz
014bfbc841
bump dependencies
2022-02-03 10:57:03 +00:00