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
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
34ce1ed68c
1.22.0
2022-09-07 15:25:47 +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
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
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
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
c3050db968
[fix] copy and paste (again) ( #685 )
...
* fix copy
* remove console logs
* update types
2022-05-14 14:15:55 +01:00
Steve Ruiz
98d44b2120
1.12.1
2022-05-11 17:00:15 +01:00
Steve Ruiz
79204d7ba5
fix build for vscode extension
2022-04-26 11:40:26 +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
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
1950b4fa99
version, update images
2022-03-09 16:02:51 +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
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
4b1137849a
v1.4.2
2022-01-07 08:45:09 +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
3b220f0afe
v1.2.8
2021-12-20 15:20:04 +00:00
Steve Ruiz
580248a3af
v1.2.7
2021-12-12 21:45:57 +00:00
Steve Ruiz
ec7fbd2033
v1.2.6
2021-12-12 21:21:10 +00:00
Steve Ruiz
8d9629586c
v1.2.5
2021-12-10 16:08:17 +00:00
Steve Ruiz
8038e64a86
v1.2.4
2021-12-04 14:56:24 +00:00
Steve Ruiz
fae66549c7
v1.2.3
2021-12-02 13:06:43 +00:00
Steve Ruiz
03cfea6404
v1.2.2
2021-11-28 10:25:17 +00:00
Steve Ruiz
3ab5db27b9
v1.2.1
2021-11-28 10:19:29 +00:00
Steve Ruiz
7bf5f5fd8a
v1.2.0
2021-11-28 10:16:30 +00:00