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>
This commit is contained in:
Fülöp 2022-05-17 20:53:01 +02:00 committed by GitHub
parent 2324218453
commit 3d10325873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 13811 additions and 55 deletions

View file

@ -11,8 +11,10 @@
"playground": "yarn workspace playground run serve",
"test:e2e": "yarn workspace playground run test",
"test:e2e:ci": "yarn workspace playground run test:ci",
"test:ecosystem": "zx scripts/ecosystem-tests/ci.mjs",
"typecheck": "yarn run build:ts",
"build": "zx scripts/build.mjs",
"clean": "zx scripts/clean.mjs",
"build:ts": "tsc --build ./devEnv/typecheck-all-projects/tsconfig.all.json",
"test": "jest",
"postinstall": "husky install",
@ -54,7 +56,12 @@
"node-gyp": "^8.1.0",
"prettier": "^2.3.2",
"typescript": "^4.4.2",
"yalc": "^1.0.0-pre.53",
"zx": "^2.0.0"
},
"packageManager": "yarn@3.2.0"
"packageManager": "yarn@3.2.0",
"resolutions": {
"@types/react": "^17.0.9",
"@types/react-dom": "^17.0.9"
}
}