Skip to content
Permalink
Browse files

Migrate from Rush to Yarn Workspaces (#73)

* Rush and PNPM don't handle the expected behavior by Gatsby Themes: gatsbyjs/gatsby#13707
* Yarn Workspaces is the recommended path for building Gatsby Themes monorepo: https://www.gatsbyjs.org/blog/2019-05-22-setting-up-yarn-workspaces-for-theme-development/
  • Loading branch information...
adrw committed Jun 13, 2019
1 parent 263d4bf commit 81204b65864cf2ebbc8e848dc5415e67fa89f75e
Showing with 19,650 additions and 19,421 deletions.
  1. +2 −8 .circleci/config.yml
  2. +1 −1 @westegg/gatsby-theme-core/package.json
  3. +3 −0 @westegg/gatsby-theme-digital-garden/gatsby-config.js
  4. +15 −0 @westegg/gatsby-theme-digital-garden/package.json
  5. +10 −0 @westegg/package.json
  6. +0 −12 common/config/rush/.npmrc
  7. +0 −189 common/config/rush/command-line.json
  8. +0 −43 common/config/rush/common-versions.json
  9. +0 −17,859 common/config/rush/npm-shrinkwrap.json
  10. +0 −87 common/config/rush/version-policies.json
  11. +0 −52 common/scripts/install-run-rush.js
  12. +0 −399 common/scripts/install-run.js
  13. BIN common/temp/projects/core.tgz
  14. +0 −72 common/temp/projects/core/package.json
  15. BIN common/temp/projects/dev.tgz
  16. +0 −13 common/temp/projects/dev/package.json
  17. BIN common/temp/projects/gatsby-theme-core.tgz
  18. +0 −29 common/temp/projects/gatsby-theme-core/package.json
  19. BIN common/temp/projects/theme-blueprint.tgz
  20. +0 −72 common/temp/projects/theme-blueprint/package.json
  21. BIN common/temp/projects/theme-cafe.tgz
  22. +0 −71 common/temp/projects/theme-cafe/package.json
  23. BIN common/temp/projects/theme-jasper.tgz
  24. +0 −77 common/temp/projects/theme-jasper/package.json
  25. BIN common/temp/projects/westegg-blueprint.tgz
  26. +0 −43 common/temp/projects/westegg-blueprint/package.json
  27. BIN common/temp/projects/westegg-cafe.tgz
  28. +0 −43 common/temp/projects/westegg-cafe/package.json
  29. BIN common/temp/projects/westegg-core.tgz
  30. +0 −18 common/temp/projects/westegg-core/package.json
  31. BIN common/temp/projects/westegg-jasper.tgz
  32. +0 −9 common/temp/projects/westegg-jasper/package.json
  33. +10 −0 package.json
  34. +0 −324 rush.json
  35. +10 −0 starters/package.json
  36. +9 −0 starters/westegg-digital-garden/.cache/.eslintrc.json
  37. +5 −0 starters/westegg-digital-garden/.cache/__tests__/.babelrc
  38. +13 −0 starters/westegg-digital-garden/.cache/__tests__/__snapshots__/static-entry.js.snap
  39. +59 −0 starters/westegg-digital-garden/.cache/__tests__/error-overlay-handler.js
  40. +32 −0 starters/westegg-digital-garden/.cache/__tests__/minimal-config.js
  41. +262 −0 starters/westegg-digital-garden/.cache/__tests__/static-entry.js
  42. +23 −0 starters/westegg-digital-garden/.cache/__tests__/strip-prefix.js
  43. +1 −0 starters/westegg-digital-garden/.cache/api-runner-browser-plugins.js
  44. +61 −0 starters/westegg-digital-garden/.cache/api-runner-browser.js
  45. +43 −0 starters/westegg-digital-garden/.cache/api-runner-ssr.js
  46. +192 −0 starters/westegg-digital-garden/.cache/api-ssr-docs.js
  47. +65 −0 starters/westegg-digital-garden/.cache/app.js
  48. +7 −0 starters/westegg-digital-garden/.cache/async-requires.js
  49. +40 −0 starters/westegg-digital-garden/.cache/babelState.json
  50. +15 −0 starters/westegg-digital-garden/.cache/commonjs/api-runner-browser-plugins.js
  51. +60 −0 starters/westegg-digital-garden/.cache/commonjs/api-runner-browser.js
  52. +48 −0 starters/westegg-digital-garden/.cache/commonjs/api-runner-ssr.js
  53. +194 −0 starters/westegg-digital-garden/.cache/commonjs/api-ssr-docs.js
  54. +66 −0 starters/westegg-digital-garden/.cache/commonjs/app.js
  55. +11 −0 starters/westegg-digital-garden/.cache/commonjs/create-react-context.js
  56. +40 −0 starters/westegg-digital-garden/.cache/commonjs/default-html.js
  57. +131 −0 starters/westegg-digital-garden/.cache/commonjs/develop-static-entry.js
  58. +12 −0 starters/westegg-digital-garden/.cache/commonjs/emitter.js
  59. +194 −0 starters/westegg-digital-garden/.cache/commonjs/ensure-resources.js
  60. +45 −0 starters/westegg-digital-garden/.cache/commonjs/error-overlay-handler.js
  61. +83 −0 starters/westegg-digital-garden/.cache/commonjs/gatsby-browser-entry.js
  62. +93 −0 starters/westegg-digital-garden/.cache/commonjs/json-store.js
  63. +394 −0 starters/westegg-digital-garden/.cache/commonjs/loader.js
  64. +216 −0 starters/westegg-digital-garden/.cache/commonjs/navigation.js
  65. +22 −0 starters/westegg-digital-garden/.cache/commonjs/normalize-page-path.js
  66. +57 −0 starters/westegg-digital-garden/.cache/commonjs/page-renderer.js
  67. +77 −0 starters/westegg-digital-garden/.cache/commonjs/prefetch.js
  68. +112 −0 starters/westegg-digital-garden/.cache/commonjs/production-app.js
  69. +33 −0 starters/westegg-digital-garden/.cache/commonjs/public-page-renderer-dev.js
  70. +34 −0 starters/westegg-digital-garden/.cache/commonjs/public-page-renderer-prod.js
  71. +11 −0 starters/westegg-digital-garden/.cache/commonjs/public-page-renderer.js
  72. +3 −0 starters/westegg-digital-garden/.cache/commonjs/react-lifecycles-compat.js
  73. +66 −0 starters/westegg-digital-garden/.cache/commonjs/register-service-worker.js
  74. +110 −0 starters/westegg-digital-garden/.cache/commonjs/root.js
  75. +122 −0 starters/westegg-digital-garden/.cache/commonjs/socketIo.js
  76. +380 −0 starters/westegg-digital-garden/.cache/commonjs/static-entry.js
  77. +15 −0 starters/westegg-digital-garden/.cache/commonjs/strip-prefix.js
  78. +3 −0 starters/westegg-digital-garden/.cache/create-react-context.js
  79. +39 −0 starters/westegg-digital-garden/.cache/default-html.js
  80. +117 −0 starters/westegg-digital-garden/.cache/develop-static-entry.js
  81. +4 −0 starters/westegg-digital-garden/.cache/emitter.js
  82. +186 −0 starters/westegg-digital-garden/.cache/ensure-resources.js
  83. +41 −0 starters/westegg-digital-garden/.cache/error-overlay-handler.js
  84. +98 −0 starters/westegg-digital-garden/.cache/gatsby-browser-entry.js
  85. +99 −0 starters/westegg-digital-garden/.cache/json-store.js
  86. +400 −0 starters/westegg-digital-garden/.cache/loader.js
  87. +1 −0 starters/westegg-digital-garden/.cache/match-paths.json
  88. +186 −0 starters/westegg-digital-garden/.cache/navigation.js
  89. +12 −0 starters/westegg-digital-garden/.cache/normalize-page-path.js
  90. +46 −0 starters/westegg-digital-garden/.cache/page-renderer.js
  91. +1 −0 starters/westegg-digital-garden/.cache/pages.json
  92. +77 −0 starters/westegg-digital-garden/.cache/prefetch.js
  93. +119 −0 starters/westegg-digital-garden/.cache/production-app.js
  94. +21 −0 starters/westegg-digital-garden/.cache/public-page-renderer-dev.js
  95. +23 −0 starters/westegg-digital-garden/.cache/public-page-renderer-prod.js
  96. +9 −0 starters/westegg-digital-garden/.cache/public-page-renderer.js
  97. +1 −0 starters/westegg-digital-garden/.cache/react-lifecycles-compat.js
  98. +1 −0 starters/westegg-digital-garden/.cache/redirects.json
  99. BIN starters/westegg-digital-garden/.cache/redux.state
  100. +64 −0 starters/westegg-digital-garden/.cache/register-service-worker.js
  101. +97 −0 starters/westegg-digital-garden/.cache/root.js
  102. +111 −0 starters/westegg-digital-garden/.cache/socketIo.js
  103. +412 −0 starters/westegg-digital-garden/.cache/static-entry.js
  104. +9 −0 starters/westegg-digital-garden/.cache/strip-prefix.js
  105. +10 −0 starters/westegg-digital-garden/.cache/sync-requires.js
  106. +21 −0 starters/westegg-digital-garden/.cache/test-require-error.js
  107. +16 −0 starters/westegg-digital-garden/package.json
  108. +2 −0 starters/westegg-digital-garden/public/app-63eca3485686c9781c44.js
  109. +1 −0 starters/westegg-digital-garden/public/app-63eca3485686c9781c44.js.map
  110. +1 −0 starters/westegg-digital-garden/public/chunk-map.json
  111. +2 −0 starters/westegg-digital-garden/public/webpack-runtime-f568f9f17cfe7d490c32.js
  112. +1 −0 starters/westegg-digital-garden/public/webpack-runtime-f568f9f17cfe7d490c32.js.map
  113. +1 −0 starters/westegg-digital-garden/public/webpack.stats.json
  114. +13,911 −0 yarn.lock
@@ -6,15 +6,9 @@ jobs:
- image: circleci/node:10.15
steps:
- checkout
- run:
name: Updating...
command: node common/scripts/install-run-rush.js update --full
- run:
name: Checking for inconsistent dependency versions
command: node common/scripts/install-run-rush.js check
- run:
name: Installing...
command: node common/scripts/install-run-rush.js install
command: yarn install
- run:
name: Building...
command: node common/scripts/install-run-rush.js rebuild --verbose -p 1
command: yarn build
@@ -29,7 +29,7 @@
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@misk/test": "^0.1.5-29",
"@misk/test": "^0.1.5-42",
"gatsby": "^2.3.4",
"react": "^16.8.4",
"react-dom": "^16.8.4"
@@ -0,0 +1,3 @@
module.exports = {
plugins: [],
}
@@ -0,0 +1,15 @@
{
"name": "@westegg/gatsby-theme-digital-garden",
"description": "",
"version": "0.0.3",
"main": "gatsby-config.js",
"license": "MIT",
"scripts": {
"build": "echo 'no build'"
},
"peerDependencies": {
"gatsby": "^2.2.10",
"react": "^16.8.5",
"react-dom": "^16.8.5"
}
}
@@ -0,0 +1,10 @@
{
"private": true,
"workspaces": [
"gatsby-theme-core",
"gatsby-theme-digital-garden"
],
"scripts": {
"build": "bash -c \"cd gatsby-theme-core && yarn build\" && bash -c \"cd gatsby-theme-digital-garden && yarn build\""
}
}

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 81204b6

Please sign in to comment.
You can’t perform that action at this time.