Skip to content

Commit 5207240

Browse files
gregrewebclaude
authored
chore: drop legacy cookbook package (#497)
* chore: drop legacy cookbook package, replaced by cookbook-v2 cookbook-v2 (Vite + TypeScript + Tailwind) covers all the same examples. The old cookbook was based on Create React App which is unmaintained. Also remove the surge.sh deploy step from .travis.yml and update docs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: update yarn.lock after dropping cookbook package Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: add @babel/core to root devDependencies @babel/cli requires @babel/core as a peer dep. Previously the old cookbook package provided it transitively; now it must be declared explicitly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: greweb <greweb@protonmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bf37248 commit 5207240

243 files changed

Lines changed: 2550 additions & 37184 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@ if you need to regenerate the snapshots:
3636
yarn run test-rewrite-snapshots
3737
```
3838

39-
Finally, Please check that ALL examples of the cookbook are working correctly.
39+
Finally, please check that all examples of the cookbook are working correctly.
4040

4141
## Cookbook
4242

4343
**Run it**
4444

4545
```sh
46-
cd packages/cookbook
47-
yarn start
46+
yarn cookbook-v2
4847
```
4948

5049
## License

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ This universal library must be coupled with one of the concrete implementations:
1313

1414
## Links
1515

16-
- **[Cookbook, examples, API](https://gl-react-cookbook.surge.sh)**
17-
- [Expo Cookbook](https://expo.io/@gre/gl-react)
16+
- **[Cookbook examples](packages/cookbook-v2/)** (`yarn cookbook-v2` to run locally)
17+
- [Expo Cookbook](packages/cookbook-expo/)
1818
- [JSFiddle hello gl example](https://jsfiddle.net/greweb/cup5feke/)
1919
- [![Join the chat at https://gitter.im/gl-react/Lobby](https://badges.gitter.im/gl-react/Lobby.svg)](https://gitter.im/gl-react/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2020

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
},
2929
"devDependencies": {
3030
"@babel/cli": "^7.26.0",
31+
"@babel/core": "^7.26.0",
3132
"@babel/preset-env": "^7.26.0",
3233
"@babel/preset-react": "^7.26.0",
3334
"@babel/preset-typescript": "^7.26.0",

packages/cookbook/.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/cookbook/behind-asteroids/package.json

Lines changed: 0 additions & 55 deletions
This file was deleted.

packages/cookbook/behind-asteroids/scripts/compileglslfiles.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/cookbook/behind-asteroids/scripts/concat.sh

Lines changed: 0 additions & 47 deletions
This file was deleted.

packages/cookbook/behind-asteroids/scripts/wrapjs.sh

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)