Skip to content

Commit a15b795

Browse files
author
Adam Butterworth
authored
Create 0001-non-usage-of-gatsby.rst (#12)
1 parent 1336ac1 commit a15b795

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

docs/0001-non-usage-of-gatsby.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
1. Non-Usage of Gatsby
2+
----------------------
3+
4+
Status
5+
------
6+
7+
Accepted
8+
9+
Context
10+
-------
11+
12+
This package is responsible for containing common code concerning the transpilation,
13+
building, linting, and testing of React-based microfrontends. Gatsby was considered as a
14+
potential tool for this job.
15+
16+
Decision
17+
--------
18+
19+
We will not use Gatsby in these frontend build tools for two reasons:
20+
21+
- Gatsby is itself a javascript framework. It concerns itself with more than
22+
frontend build tooling, including patterns and tools for the runtime of the frontend app itself.
23+
- Gatsby relies heavily on convention, expecting to find files in particular places.
24+
This makes it difficult/impossible to pull a common configuration of Gatsby into a
25+
package like this one.
26+
27+
Consequences
28+
------------
29+
30+
Gatsby is a great tool for us leverage when appropriate, but it is not the right tool
31+
for the concern of this package.
32+
33+
References
34+
----------
35+
36+
* https://www.gatsbyjs.org/docs/
37+
* https://www.gatsbyjs.org/docs/gatsby-project-structure/

0 commit comments

Comments
 (0)