alex
880f82e658
New vite-based examples app ( #1226 )
...
Right now this examples app looks exactly the same as our old examples
app, but there are a couple of tiny differences:
- We use `vite` instead of our own esbuild setup for development and
bundling
- We use `@tldraw/assets` for smart asset hashing instead of copying the
assets to a public folder
You can use `@tldraw/assets` with vite with a bunch of extra config, but
it (plus a bunch of other bundlers) also support a special syntax for
specifying asset urls: `new URL('./my/asset.svg',
import.meta.url).href`. This approach is more standards-complient, but
doesn't work with every bundler just yet. This diff also adds a
url-based version of `@tldraw/assets`, although I'd like to tweak the
entry point - right now you need to import from
`@tldraw/assets/lib/urls`, but i'd like to find a way to get this to
`@tldraw/assets/urls` or something at some point.
There are a couple other extra fixes in here:
- vscode builds were broken, they're fixed now!
- there's also a little tweak to the `getBundlerAssetUrls` API to allow
passing in a function instead of an object for URL formatting
- there are new internal-only functions for injecting asset urls
globally instead of passing them in via react props. this means we can
get the benefits of cacheable URLs without having to clutter our
examples by passing them in
2023-05-05 13:10:36 +00:00
David Sheldrick
f5c5b05dc7
[chore] update lazyrepo ( #1211 )
2023-05-02 12:25:26 +00:00
David Sheldrick
4c65cb8db4
[lite] upgrade lazyrepo ( #1198 )
...
* upgrade lazyrepo
* update lockfile + lazy.config
2023-04-25 14:32:17 +01:00
alex
29ed921c67
transfer-out: transfer out
2023-04-25 12:01:25 +01:00
alex
ec84f64e63
lite: delete all
2023-04-21 16:53:31 +01:00
Steve Ruiz
325d494a8a
1.29.2
2023-04-01 07:09:12 +01:00
Steve Ruiz
fd9200c200
1.29
2023-03-10 11:42:43 +00:00
Steve Ruiz
8b8b823012
v1.28.2
2023-03-10 11:37:43 +00:00
Steve Ruiz
3d1d329b6f
1.28.0
2023-02-06 14:26:40 +00:00
Steve Ruiz
55a8831a6b
1.27.0
2023-01-15 11:22:09 +00:00
Daniel Molkentin
065c3ddc4a
serve fonts locally via fontsource ( #1091 )
...
* [fix] serve fonts locally via fontsource (#1077 )
* fix vscode extension build
Co-authored-by: zfgrnzfsberire <noreply@github.com>
2022-12-30 17:56:33 -06:00
Steve Ruiz
c5ff2da775
1.25.2
2022-11-14 15:53:12 +00:00
Steve Ruiz
0f2abaf286
1.26.1
2022-11-09 16:35:43 +00:00
Steve Ruiz
6e275f09ef
1.26.0
2022-10-26 14:06:20 +01:00
Steve Ruiz
0eebdddb5b
1.24.0
2022-10-04 13:08:31 +01:00
Steve Ruiz
8e55e263bf
1.24.5
2022-09-09 09:54:48 +01:00
Steve Ruiz
5e24e5a4cb
1.24.4
2022-09-08 13:36:08 +01:00
Steve Ruiz
0549660244
1.24.3
2022-09-08 11:33:57 +01:00
Steve Ruiz
b56a3a6982
1.24.1
2022-09-08 10:58:42 +01:00
Steve Ruiz
760f6494e3
1.24.0
2022-09-08 09:48:50 +01:00
Steve Ruiz
34ce1ed68c
1.22.0
2022-09-07 15:25:47 +01:00
Steve Ruiz
9dab372b81
1.22.1
2022-09-01 17:24:33 +01:00
Steve Ruiz
f98310e5bf
1.22.0
2022-09-01 10:13:32 +01:00
Steve Ruiz
7b3c6ed808
Update vscode extension ( #942 )
2022-09-01 09:49:01 +01:00
Steve Ruiz
a22124b3a7
1.21.1
2022-08-28 08:19:11 +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
2567cedcd2
Add clean script to apps and examples ( #869 )
2022-08-02 14:57:00 +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
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
Steve Ruiz
3e8f585049
1.20.0
2022-07-23 15:09:37 +01:00
Steve Ruiz
2352985e94
[feature] Iframe warning ( #800 )
2022-07-08 21:25:08 +01:00
Steve Ruiz
1e80d1ac21
1.19.1
2022-07-08 20:35:10 +01:00
Steve Ruiz
5ac091339a
1.19.0
2022-07-07 12:06:30 +01:00
Enrico
4d900fb7fd
Implemented better page numbering ( #779 )
...
* Implemented better page numbering
* Added spanish and french translation
* Add tests, fix regex
* Improve page naming logic
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-04 15:17:47 +01:00
Steve Ruiz
9ccec77634
1.18.2
2022-06-30 08:59:09 +01:00
Steve Ruiz
dd873014f2
1.18.1
2022-06-26 21:20:29 +01:00
Steve Ruiz
3cba9712fd
1.18.0
2022-06-25 20:31:27 +01:00
Steve Ruiz
a104d5a094
1.17.2
2022-06-24 16:06:36 +01:00
Steve Ruiz
a17bd18ae2
1.7.2, add Vec.distanceTo / Vec.nearestPointOnBounds
2022-06-21 08:49:45 +01:00
Steve Ruiz
65ff5075f0
1.17.0
2022-06-19 14:52:06 +01:00
Steve Ruiz
ef9d457a14
[fix] typescript types ( #721 )
...
* fix types
* Update .eslintrc.json
2022-06-16 09:09:48 +01:00
Steve Ruiz
8419d7d227
1.16.0
2022-06-09 18:06:17 +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
Steve Ruiz
8c2e22b334
1.15.1
2022-06-02 17:18:48 +01:00
Steve Ruiz
b3ad319518
1.15.0
2022-06-01 15:34:20 +01:00
Cameron Yick
6cb5b4a75a
feat(extension): activate on tldraw.json filetype, fix #700 ( #701 )
...
See https://github.com/excalidraw/excalidraw-vscode/blob/master/extension/package.json#L186-L197 for reference
2022-05-25 13:29:04 +01:00
Steve Ruiz
eca66b1c54
Fix keyboard events while menu is open.
2022-05-20 15:22:50 +01:00
Steve Ruiz
c37a4a33d6
release
2022-05-20 14:45:10 +01:00
Steve Ruiz
1d3b419baf
update version
2022-05-18 14:04:05 +01:00
Steve Ruiz
e33edb9cab
1.12.6
2022-05-15 10:51:24 +01:00
Steve Ruiz
cd465e2fc4
bump versions
2022-05-14 22:24:03 +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
61cf4e6290
1.12.4
2022-05-14 12:19:06 +01:00
Steve Ruiz
417926bb14
1.12.3
2022-05-14 11:48:14 +01:00
Steve Ruiz
b8dfc9895a
bump versions
2022-05-14 10:51:12 +01:00
Steve Ruiz
98d44b2120
1.12.1
2022-05-11 17:00:15 +01:00
Steve Ruiz
6bb5faeaf0
Fix fonts in vscode extension
2022-05-11 16:58:40 +01:00
Steve Ruiz
4b2b14eb26
release 1.12.0
2022-05-11 14:34:07 +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]
c7f16d97c6
Bump minimist from 1.2.5 to 1.2.6 in /apps/vscode/extension ( #674 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
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:52:20 +01:00
Steve Ruiz
dc8332c3dc
bump versions
2022-05-06 20:03:38 +01:00
Steve Ruiz
79204d7ba5
fix build for vscode extension
2022-04-26 11:40:26 +01:00
Steve Ruiz
c7a8e76339
v1.11.1
2022-04-26 09:07:43 +01:00
Steve Ruiz
b859b721d0
Bump versions
2022-04-26 09:04:34 +01:00
Steve Ruiz
241adc98d3
1.10.0
2022-04-16 13:02:52 +01:00
chlbri
4d5a929366
Feature style ( #627 )
...
* initial
* style: style and remove Svg export
* tiny up
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-24 09:05:35 +00:00
Steve Ruiz
8aa54f4d8c
update
2022-03-17 14:11:22 +00: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
Steve Ruiz
1d5b3ac307
1.9.1
2022-03-11 08:43:36 +00:00
Steve Ruiz
1dd71f8b5e
update images
2022-03-09 16:11:30 +00:00
Steve Ruiz
1950b4fa99
version, update images
2022-03-09 16:02:51 +00:00
Steve Ruiz
f099630d01
adds export to vscode extension ( #608 )
2022-03-09 11:26:37 +00:00
Steve Ruiz
971cbfb70c
v1.8.1
2022-02-25 12:22:35 +00:00
Eric Ogden
1e58bbfc0a
fix(keybindings): update vscode keybindings with windows alternatives ( #595 )
...
* update vscode keybindings with windows alternatives
* update keybindings for linux
2022-02-24 21:44:52 +00:00
Francois Laberge
8549c73884
Fixing up an example
2022-02-12 16:41:24 -05:00
Francois Laberge
aec4d8846c
I added bananas
2022-02-08 14:27:22 -05: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
da4d566bd8
v1.6.1
2022-02-03 11:19:12 +00:00
Steve Ruiz
014bfbc841
bump dependencies
2022-02-03 10:57:03 +00:00
Steve Ruiz
4cee3203e6
v1.6.0
2022-01-31 15:06:01 +00:00
Francois Laberge
5b521df51e
Removes the 'ui' value from extension kind, as it's redundant ( #523 )
2022-01-21 11:44:08 +00:00
Steve Ruiz
1fb480be15
v1.4.4
2022-01-17 11:50:15 +00:00
Steve Ruiz
7c82fbbb65
v1.5.2
2022-01-14 20:59:37 +00:00
Steve Ruiz
cb1f4e242e
v1.5.1
2022-01-14 20:46:02 +00:00
Steve Ruiz
15784517e8
v1.5.0
2022-01-10 21:11:25 +00:00
Steve Ruiz
cc8aa89ed5
v1.4.3
2022-01-07 09:01:48 +00:00
Steve Ruiz
9c3424a5fc
Update documentation
...
bump versions
update readmes, licenses
2022-01-07 09:01:08 +00:00
Steve Ruiz
4b1137849a
v1.4.2
2022-01-07 08:45:09 +00:00
Steve Ruiz
acb68c8af9
v1.4.1
2021-12-29 14:15:58 +00:00
Steve Ruiz
32a5511b3d
v1.4.1
2021-12-28 11:50:33 +00:00
Steve Ruiz
f57d6bda94
v1.4.0
2021-12-27 20:29:12 +00:00
Steve Ruiz
dfe2e44c17
v1.3.0
2021-12-25 18:41:47 +00:00
Steve Ruiz
2f84abcc1e
v1.2.10
2021-12-22 14:33:56 +00:00
Steve Ruiz
9b7414509f
v1.2.9
2021-12-22 00:46:58 +00:00
Steve Ruiz
7c2777966f
[improvement] Multiplayer + cursors ( #457 )
...
* bump versions, improve cursors
* Spline cursors
2021-12-22 00:14:38 +00:00
Steve Ruiz
3b220f0afe
v1.2.8
2021-12-20 15:20:04 +00:00