Commit graph

21 commits

Author SHA1 Message Date
Aria Minaei
a77290e32b Upgrade TS so r3f builds again 2023-08-05 10:05:57 +02:00
Aria Minaei
5387fda517 Use react18 in playground 2023-08-03 21:02:05 +02:00
Andrew Prifer
8680f9d89e
Replace uniqueName with theatreKey (#285) 2022-09-14 08:36:49 -04:00
Aria
9b4aa4b0e0
Make @theatre/r3f play well with different vs of react,three,r3f #177 2022-05-27 21:59:51 +02:00
Andrew Prifer
fc9df7c346
Support multiple sheet instances (#153)
* Support multiple/nested sheets and sheet instances

* Add playground for instances

* Fix playground and example

* Change r3f's objectKey to storeKey to avoid confusion

* Update all editable/uniqueName variables used as store key to storeKey too

* Fix lint warnings
2022-05-16 12:43:45 +02:00
Andrew Prifer
39da042edc
Fix various issues with the build system (#129)
* Fix react-icons breaking in CRA 5 for some reason

* Replace fuzzysort with fuzzy so we don't break Webpack

Webpack messes up esbuild’s internal modules if the inlined module is an AMD module. Check any new dep you add if it is an AMD module.

* Inline dataverse deps.

Mainly because the CJS build consuming the ESM lodash-es broke some bundlers.

* react-icons fix nr 2

* Stop eslint breaking in CRA 5

* Update r3f-cra example to CRA 5 and fix double-bundling react & co

* Fix r3f tree-shaking and switch to ESM only output

* Make r3f example shake studio and its extension in prod

* Examples have separate and wildly differing build setups so remove them from the pre-commit hook linting

* Update out-of-date yarn.lock
2022-04-21 22:03:51 +02:00
Aria Minaei
1b573fb766 Fixed the build 2021-09-22 09:43:34 +02:00
Aria Minaei
e73c7f778e Fixed runtime of examples/r3f-cra 2021-09-22 09:34:21 +02:00
Aria Minaei
e14ba296f2 Added examples/basic-dom to CI 2021-09-22 09:30:42 +02:00
Aria Minaei
3c00645e40 Fixed the build for examples/basic-dom (runtime only) 2021-09-22 09:20:19 +02:00
Aria Minaei
0ea4cc2b57 Fixed the build for examples/dom-cra
Fixes #16
2021-09-22 09:13:37 +02:00
Aria Minaei
f6cf3711f4 More progress on shorthand types 2021-09-06 11:26:00 +02:00
Aria Minaei
4f66d57cf8 Renamed @theatre/plugin-r3f to @theatre/r3f 2021-09-06 10:19:10 +02:00
Aria Minaei
5d37c15173 Upgrade deps 2021-09-01 10:41:54 +02:00
Aria Minaei
a8df97a06a API naming tweaks 2021-09-01 10:36:44 +02:00
Aria Minaei
1916747e8b Upgrade typescript 2021-08-08 10:12:23 +02:00
Aria Minaei
824fdd6843 Progress with cra 2021-08-07 22:30:29 +02:00
Aria Minaei
1497eaf610 WIP: Getting r3f to work with create-react-app
* Temporarily disabled ESM bundles because the current setup confuses webpack4 (but not parceljs). Since create-react-app uses webpack4, not doing this would make theatre incompatible with CRA.
2021-08-07 21:41:07 +02:00
Aria Minaei
1f1f464758 WIP: A CRA example 2021-08-07 20:54:28 +02:00
Aria Minaei
816e67a814 Stronger visual feedback for keyframe snapping 2021-08-07 11:18:01 +02:00
Aria Minaei
f4c2fb2a08 Moved examples to a separate folder 2021-08-06 12:00:19 +02:00