Skip to content

Commit

Permalink
Move theme to packages dir and use lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorblades committed Feb 5, 2019
1 parent 5a85ea6 commit 7081832
Show file tree
Hide file tree
Showing 28 changed files with 63 additions and 47 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
.cache
.env
public
node_modules
node_modules
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "ui"]
path = ui
path = packages/gatsby-theme-apollo/ui
url = https://github.com/apollographql/ui
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"packages": [
"packages/*"
],
"version": "independent"
}
44 changes: 3 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,7 @@
{
"name": "gatsby-theme-apollo",
"version": "0.0.48",
"main": "index.js",
"scripts": {
"develop": "gatsby develop",
"start": "npm run develop",
"build": "gatsby build",
"serve": "gatsby serve"
},
"dependencies": {
"@emotion/core": "^10.0.6",
"@emotion/styled": "^10.0.6",
"@svgr/webpack": "^4.1.0",
"detab": "^2.0.1",
"emotion": "^10.0.2",
"gatsby": "^2.0.91",
"gatsby-plugin-emotion": "^4.0.1",
"gatsby-plugin-react-helmet": "^3.0.2",
"gatsby-plugin-svgr": "^2.0.1",
"gatsby-plugin-typography": "^2.2.2",
"gray-matter": "^4.0.1",
"js-yaml": "^3.12.1",
"polished": "^2.3.3",
"prismjs": "^1.15.0",
"prop-types": "^15.6.2",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-helmet": "^5.2.0",
"react-icons": "^3.3.0",
"react-typography": "^0.16.13",
"recompose": "^0.30.0",
"remark": "^10.0.1",
"remark-react": "^5.0.1",
"remark-slug": "^5.1.1",
"simple-git": "^1.107.0",
"typography": "^0.16.17",
"unist-builder": "^1.0.3"
},
"name": "root",
"private": true,
"devDependencies": {
"@trevorblades/eslint-config": "^6.19.2",
"babel-eslint": "^10.0.1",
"eslint": "^5.9.0"
"lerna": "^3.10.7"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
45 changes: 45 additions & 0 deletions packages/gatsby-theme-apollo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "gatsby-theme-apollo",
"version": "0.0.48",
"main": "index.js",
"scripts": {
"develop": "gatsby develop",
"start": "npm run develop",
"build": "gatsby build",
"serve": "gatsby serve"
},
"dependencies": {
"@emotion/core": "^10.0.6",
"@emotion/styled": "^10.0.6",
"@svgr/webpack": "^4.1.0",
"detab": "^2.0.1",
"emotion": "^10.0.2",
"gatsby": "^2.0.91",
"gatsby-plugin-emotion": "^4.0.1",
"gatsby-plugin-react-helmet": "^3.0.2",
"gatsby-plugin-svgr": "^2.0.1",
"gatsby-plugin-typography": "^2.2.2",
"gray-matter": "^4.0.1",
"js-yaml": "^3.12.1",
"polished": "^2.3.3",
"prismjs": "^1.15.0",
"prop-types": "^15.6.2",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-helmet": "^5.2.0",
"react-icons": "^3.3.0",
"react-typography": "^0.16.13",
"recompose": "^0.30.0",
"remark": "^10.0.1",
"remark-react": "^5.0.1",
"remark-slug": "^5.1.1",
"simple-git": "^1.107.0",
"typography": "^0.16.17",
"unist-builder": "^1.0.3"
},
"devDependencies": {
"@trevorblades/eslint-config": "^6.19.2",
"babel-eslint": "^10.0.1",
"eslint": "^5.9.0"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/gatsby-theme-apollo/ui/logo-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions packages/gatsby-theme-apollo/ui/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion ui
Submodule ui deleted from 508353

0 comments on commit 7081832

Please sign in to comment.