Skip to content

Commit

Permalink
chore(examples): Remove Gatsby example (#2636)
Browse files Browse the repository at this point in the history
* chore(examples): Remove gatsby example

* chore(examples): Force the use of compatible version of @babel/core
  • Loading branch information
darekplawecki authored Aug 8, 2024
1 parent 48f777a commit 7310c39
Show file tree
Hide file tree
Showing 31 changed files with 8 additions and 22,370 deletions.
6 changes: 0 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ workflows:
example-name: react-cra
requires:
- build
- run-e2e-tests:
name: e2e-react-gatsby
example-name: react-gatsby
requires:
- build
- run-e2e-tests:
name: e2e-angular
example-name: angular
Expand All @@ -138,7 +133,6 @@ workflows:
- build
- build-docs
- e2e-react-cra
- e2e-react-gatsby
- e2e-static-html
- e2e-angular
filters:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ dist-storybook
*.log*
*-debug.log*
*-error.log*
/examples/react-gatsby/yarn.lock
/examples/react-cra/yarn.lock
/examples/angular/yarn.lock

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Let's chat about features, ideas, what you're doing with Elements, on [GitHub Di

Stoplight Elements comes with a few example integration projects, showing you how to utilize Elements with different frameworks.
- **[react-cra](./examples/react-cra)** - An example app built using Create React App utilizing Stoplight Elements.
- **[react-gatsby](./examples/react-gatsby)** - An example Gatsby site utilizing Stoplight Elements.
- **[angular](./examples/angular)** - An angular app utilizing the Web Components distribution of Elements.
- **[bootstrap](./examples/bootstrap)** - A single HTML page utilizing the Web Components distribution via a global script tag.

Expand Down
15 changes: 0 additions & 15 deletions docs/getting-started/dev-portal/gatsby.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/getting-started/dev-portal/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Ready to get started using Elements? Check out these guides for using Elements i

- [Usage with HTML](html.md)
- [Usage with ReactJS](react.md)
- [Usage with GatsbyJS](gatsby.md)
- [Usage with AngularJS](angular.md)

Once you're done and your docs are live, send a note to [@stoplightio](https://twitter.com/stoplightio) and Stoplight can help you share them with the world.
2 changes: 1 addition & 1 deletion docs/getting-started/dev-portal/search-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Once you've [installed](https://github.com/stoplightio/elements) the `elements-d

## Usage in React

If you'd like to use this for React (and React-based tools like Gatsby) then use the `Search` React component. Here is an example of one way to implement it:
If you'd like to use this for React then use the `Search` React component. Here is an example of one way to implement it:

<!-- title: Search.tsx -->

Expand Down
15 changes: 0 additions & 15 deletions docs/getting-started/elements/gatsby.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/getting-started/elements/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Ready to get started using Elements? Check out these guides for using Elements i

- [Usage with HTML](html.md)
- [Usage with ReactJS](react.md)
- [Usage with GatsbyJS](gatsby.md)
- [Usage with AngularJS](angular.md)

Once you're done and your docs are live, send a note to [@stoplightio](https://twitter.com/stoplightio) and Stoplight can help you share them with the world.
2 changes: 0 additions & 2 deletions docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Learn how to integrate Elements with any of these popular frameworks.
- [Introduction](getting-started/elements/introduction.md)
- [Usage with HTML](getting-started/elements/html.md)
- [Usage with ReactJS](getting-started/elements/react.md)
- [Usage with GatsbyJS](getting-started/elements/gatsby.md)
- [Usage with AngularJS](getting-started/elements/angular.md)

## Getting started with Elements Dev Portal
Expand All @@ -28,7 +27,6 @@ Learn how to integrate Elements Dev Portal with any of these popular frameworks.
- [Introduction](getting-started/dev-portal/introduction.md)
- [Usage with HTML](getting-started/dev-portal/html.md)
- [Usage with ReactJS](getting-started/dev-portal/react.md)
- [Usage with GatsbyJS](getting-started/dev-portal/gatsby.md)

## Free Hosted Docs

Expand Down
3 changes: 3 additions & 0 deletions examples/react-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"serve": "^13.0.2",
"typescript": "^4.3.5"
},
"resolutions": {
"@babel/core": "^7.16.0"
},
"browserslist": {
"production": [
">0.2%",
Expand Down
5 changes: 0 additions & 5 deletions examples/react-gatsby/.gitignore

This file was deleted.

24 changes: 0 additions & 24 deletions examples/react-gatsby/LICENSE

This file was deleted.

18 changes: 0 additions & 18 deletions examples/react-gatsby/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions examples/react-gatsby/gatsby-config.js

This file was deleted.

33 changes: 0 additions & 33 deletions examples/react-gatsby/gatsby-node.js

This file was deleted.

Loading

0 comments on commit 7310c39

Please sign in to comment.