Commit graph

90 commits

Author SHA1 Message Date
Aria Minaei
1483f7d8b0 Implement dev cli 2023-08-08 20:06:06 +02:00
Aria Minaei
73adfa6085 chore: fix tsconfig.all 2023-08-08 10:50:29 +02:00
Aria Minaei
23f1d56a80 Upgrade eslint 2023-08-08 08:48:26 +02:00
Aria Minaei
cfb324a6d5 Upgrade typescript 2023-08-08 08:43:24 +02:00
Aria Minaei
bdba288ff1 Remove percy and add docs on how to produce the snapshots 2023-08-07 15:34:36 +02:00
Aria Minaei
546a71d24f Setup docker to produce visual regression tests for linux on non-linux hosts 2023-08-07 15:20:45 +02:00
Aria Minaei
4fefee863e Move all zx scripts to typescript 2023-08-06 10:15:37 +02:00
Aria Minaei
d228b7635c Switch compat-test scripts to typescript 2023-08-06 09:53:32 +02:00
Aria Minaei
a77290e32b Upgrade TS so r3f builds again 2023-08-05 10:05:57 +02:00
Aria Minaei
3837e179bb WIP: Upgrade to THREE 155: Upgrade OrbitControls 2023-08-04 10:54:17 +02:00
Aria Minaei
f562d225c6 WIP: Upgrade to react 18
At this point, the studio and core work with react 18, but r3f doesn't.
2023-08-03 20:42:40 +02:00
Aria Minaei
46e58ca6d8 Pin to three 0.133 and add a visual regression test for it 2023-08-03 13:16:51 +02:00
Aria Minaei
cd6f44d9dd Upgrade the e2e test setup 2023-08-03 10:53:33 +02:00
Aria Minaei
e856ee54ff Use a temp directory to install the compat test fixtures
This is a way to run `npm install` on the compat test fixtures without the node_modules at the root of the repo interfering with the node's module resolution (and that of parcel/webpack/etc).

It's hacky because ideally we'd just put each test in its own docker container for simplicity. We tried that in the private repo, but the complexity is not worth the benefit.
2023-08-01 17:47:17 +02:00
Aria Minaei
66eb6e212b Remove traces of babel 2023-08-01 17:47:17 +02:00
Aria Minaei
dc2338bb83 Add more compat tests 2023-08-01 17:47:17 +02:00
Aria Minaei
1280de02d0 Fix React's DCE error in r3f
This fixes the react error that says "React is running in production mode, but dead code elimination has not been applied."
2023-08-01 17:47:17 +02:00
Aria Minaei
bc7fcf8e0a Rename compatibility-tests to compat-tests 2023-08-01 17:47:17 +02:00
dependabot[bot]
f2a25aa48e Bump semver from 5.7.1 to 5.7.2
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 20:08:02 +02:00
dependabot[bot]
f3674cd692 Bump word-wrap from 1.2.3 to 1.2.5
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 19:48:01 +02:00
Aria
b83164f26f
Switch to Vite (#434) 2023-07-16 22:19:21 +02:00
dependabot[bot]
583dd9d022
Bump http-cache-semantics from 4.1.0 to 4.1.1 (#392)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 11:54:38 +00:00
dependabot[bot]
5a31c3d3c6
Bump minimist from 1.2.5 to 1.2.8 (#407)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 11:40:40 +00:00
Aria
c75f998174
Simplify playground/devEnv (#397 2023-02-07 18:50:57 +01:00
Aria Minaei
4fb60bdd5a Implement chat-ops for insiders release 2023-02-05 15:05:54 +01:00
Aria Minaei
2b10e46441 Fix the bugs in assetStorage 2023-01-25 15:08:22 +01:00
Andrew Prifer
246e75ccb5
Theatric - a leva-like Theatre.js API for React (#375)
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2023-01-22 18:01:31 +01:00
Aria Minaei
ae8be59366 Implement a basic benchmark test, and deprecate derivation.map()/flatMap()
This starts a new workspace at `packages/benchmarks` where future benchmarks
are going to sit. For now, it only contains a basic profile of a `sequence.play()`
setup.

It also removes all uses of `AbstractDerivation.map()/flatMap()` and uses prisms
instead.
2023-01-04 20:49:35 +01:00
Aria
718beb4d7b
Catch more SSR issues and improve compat tests (#353)
This will cause the build to fail, as this will catch an SSR issue, which will be fixed after merging #369
2023-01-04 20:03:47 +01:00
dependabot[bot]
00baa3ae22 Bump express from 4.17.1 to 4.17.3
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-31 18:17:06 +02:00
dependabot[bot]
d760cfedc0 Bump decode-uri-component from 0.2.0 to 0.2.2
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-31 18:11:46 +02:00
dependabot[bot]
074873452a Bump qs from 6.5.2 to 6.5.3
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-31 17:59:47 +02:00
Andrew Prifer
8d8e2348dd Create idb-backed image prop (#366)
Co-authored-by: Clement Roche <rchclement@gmail.com>
2022-12-31 11:01:16 +01:00
Andrew Prifer
43714fdf17
Notification improvements (#324) 2022-10-21 20:32:53 +00:00
Andrew Prifer
62bc12ab51
Create a notification system that can display notifications in Theatre.js' Studio (#320)
* Implement an internal library for studio notifications

* Improve design a little

* Document code

* Change relative import to absolute one

* Fix tiny styling issue

* Add notifications playground

* Add notifications empty state and keep notifications buttons always visible

Also fix a bug related to not clearing the type and uniqueness checkers.

* Simplify notifications playground

* Treat window as optional in case it runs in server code
2022-10-21 15:51:13 +02:00
Elliot
735bd983a5
Fix/0.5-compatability-tests (#293)
* Working changes

* Fix window undefined bug by updating lib

* Fix TransformControlsImpl import

* Fix compatibility tests>simple debuggable examples
2022-09-13 15:37:39 -04:00
Cole Lawrence
11b5d175f4
Fix github checks (#263)
* Update dependencies which pass tests locally

* Break the yarn cache in an attempt to fix checks

* playground: Add wrapping error info for build.ts

* playground: Don't use dev mode in CI tests

* playground: Use tsc for typecheck

* playground: Specify working esbuild version 0.13.15

* playground: Use only promises in build.ts

* playground: Ensure serving in ci e2e

 * Add echo for vercel for build:static
2022-07-25 10:37:34 +02:00
Aria Minaei
158923b376 Upgrade playwright and percy 2022-07-07 16:36:12 +02:00
Cole Lawrence
df05be3c1e dev playground: Remove mention and dependency on vite 2022-06-24 09:52:56 -04:00
Aria
4215d561d0
Upgrade percy (#207) 2022-06-10 13:16:34 +02:00
Aria
9b4aa4b0e0
Make @theatre/r3f play well with different vs of react,three,r3f #177 2022-05-27 21:59:51 +02:00
Aria
ec18687a98
Re-do bundling, compat tests, and extension API (#174) 2022-05-25 00:37:18 +02:00
Aria
d36b336fdd
Set up manual compatibility tests (#171) 2022-05-20 18:52:57 +02:00
Fülöp
3d10325873
Add tests for Theatre.js + popular setups in the ecosystem (#165)
This implements some basic infra for testing Theatre.js with popular setups such as npm/yarn/pnpm, webpack/vite/parcel, js/ts, etc.

So far, the only existing setup has been with create-react-app. Will add more in the future.

Co-authored-by: Fülöp <fulopkovacs@users.noreply.github.com>
Co-authored-by: Aria Minaei <aria.minaei@gmail.com>
2022-05-17 20:53:01 +02:00
Don McCurdy
dfd88c6b1e
Bump 'react-shadow' to v19.0.3 (#123) 2022-04-22 18:05:21 +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
d0965d17e4
Set up end-to-end tests (#85) 2022-02-28 13:15:27 +01:00
Aria
3c369b435e
Use vite for playground (#84) 2022-02-27 21:25:15 +01:00
Aria Minaei
078fa7a849 Remove lint plugin for react hooks 2022-02-23 22:42:09 +01:00
Aria Minaei
7d129bcd37 Remove lerna 2022-02-23 13:29:09 +01:00