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
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
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
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
Gwenaël Gallon
2567cedcd2
Add clean script to apps and examples ( #869 )
2022-08-02 14:57:00 +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
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
5ac091339a
1.19.0
2022-07-07 12:06:30 +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
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
4b2b14eb26
release 1.12.0
2022-05-11 14:34:07 +01:00