Skip to content

Commit

Permalink
Renamed to gatsby-theme-networked-thought
Browse files Browse the repository at this point in the history
  • Loading branch information
ekampf committed Feb 6, 2021
1 parent 41780a0 commit 3d74eb9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ yarn workspace example develop
```text
.
├── README.md
├── @ekampf/gatsby-theme-ekampf-digital-garden
├── @ekampf/gatsby-theme-networked-thought
│   ├── README.md
│   ├── gatsby-config.js
│   ├── index.js
Expand All @@ -34,14 +34,14 @@ yarn workspace example develop
3 directories, 10 files
```

### `@ekampf/gatsby-theme-ekampf-digital-garden`
### `@ekampf/gatsby-theme-networked-thought`

This directory is the theme package itself. You should rename this at
some point to be `gatsby-theme-{my-theme-name}`. Also change the
`package.json` name field and the corresponding dependency in the
example directory's `package.json`/`gatsby-config.js` to match the chosen name.

- `@ekampf/gatsby-theme-ekampf-digital-garden/`
- `@ekampf/gatsby-theme-networked-thought/`
- `gatsby-config.js`: An empty gatsby-config that you can use as a starting point for building functionality into your theme.
- `index.js`: Since themes also function as plugins, this is an empty file that
gatsby needs to use this theme as a plugin.
Expand Down
2 changes: 1 addition & 1 deletion example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gatsby Theme Minimal Example

A usage of
[@ekampf/gatsby-theme-ekampf-digital-garden](https://github.com/ChristopherBiscardi/@ekampf/gatsby-theme-ekampf-digital-garden)
[@ekampf/gatsby-theme-networked-thought](https://github.com/ChristopherBiscardi/@ekampf/gatsby-theme-networked-thought)
that does nothing but use the theme. As a result you will see `Error: Missing resources for /` when navigating to `http://localhost:8000`. To get
rid of that, create a page in `src/pages/index.js`.
2 changes: 1 addition & 1 deletion example/gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
plugins: [
{
resolve: `@ekampf/gatsby-theme-ekampf-digital-garden`,
resolve: `@ekampf/gatsby-theme-networked-thought`,
options: {
rootPath: "/aalalals",
},
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "gatsby build"
},
"dependencies": {
"@ekampf/gatsby-theme-ekampf-digital-garden": "*",
"@ekampf/gatsby-theme-networked-thought": "*",
"gatsby": "^2.32.3",
"react": "^17.0.1",
"react-dom": "^17.0.1"
Expand Down
6 changes: 3 additions & 3 deletions theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
mkdir my-site
cd my-site
yarn init
# install @ekampf/gatsby-theme-ekampf-digital-garden and it's dependencies
yarn add gatsby react react-dom @ekampf/gatsby-theme-ekampf-digital-garden
# install @ekampf/gatsby-theme-networked-thought and it's dependencies
yarn add gatsby react react-dom @ekampf/gatsby-theme-networked-thought
```

Then add the theme to your `gatsby-config.js`. We'll use the long-form
Expand All @@ -17,7 +17,7 @@ here for educational purposes.
module.exports = {
plugins: [
{
resolve: "@ekampf/gatsby-theme-ekampf-digital-garden",
resolve: "@ekampf/gatsby-theme-networked-thought",
options: {},
},
],
Expand Down
2 changes: 1 addition & 1 deletion theme/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@ekampf/gatsby-theme-ekampf-digital-garden",
"name": "@ekampf/gatsby-theme-networked-thought",
"version": "0.0.1",
"main": "index.js",
"author": "Eran Kampf (@ekampf)",
Expand Down

0 comments on commit 3d74eb9

Please sign in to comment.