-
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add testing framework for three.js examples (#517)
* Add initial files * Get it working * Update docs * Just update patch file * Update README * CI * Switch to npm * Consolidate * Whitelist files * Narrow * Format * Rename format * Use lint-staged * working-directory * Remove broken examples * Update patch * Update * Update docs * Remove example * Update patch
- Loading branch information
1 parent
15e0d2d
commit 0fb9482
Showing
40 changed files
with
19,504 additions
and
5,449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
yarn pretty-quick pretty-quick | ||
yarn prettier:check | ||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.pnp.* | ||
.yarn/* | ||
examples-testing/examples |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Update patch | ||
|
||
- `git apply changes.patch` | ||
- Make changes | ||
- `yarn run type-check` | ||
- `git diff > ../changes.patch` | ||
- Reset changes | ||
- Move patch file | ||
|
||
# Update sources | ||
|
||
- Delete all examples | ||
- `node index.js` | ||
- Commit changes | ||
- `git apply --reject changes.patch` | ||
- Fix conflicts | ||
- `yarn run type-check` | ||
- `git diff > ../changes.patch` | ||
- Reset changes | ||
- Move patch file | ||
- Commit changes |
Oops, something went wrong.