]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: add package dependency graph
authorEvan You <yyx990803@gmail.com>
Fri, 13 Dec 2019 02:22:29 +0000 (21:22 -0500)
committerEvan You <yyx990803@gmail.com>
Fri, 13 Dec 2019 02:22:29 +0000 (21:22 -0500)
.github/contributing.md

index 930e1a21f298b3a59bb4ab1ab5f5903b33c7430a..7ddf25c197f65acd67d275b37b1e367f21d67c64 100644 (file)
@@ -173,6 +173,30 @@ This is made possible via several configurations:
 
 ### Package Dependencies
 
+```
+
+                                    +---------------------+
+                                    |                     |
+                                    |  @vue/compiler-sfc  |
+                                    |                     |
+                                    +-----+--------+------+
+                                          |        |
+                                          v        v
+                      +---------------------+    +----------------------+
+                      |                     |    |                      |
+        +------------>|  @vue/compiler-dom  +--->|  @vue/compiler-core  |
+        |             |                     |    |                      |
+   +----+----+        +---------------------+    +----------------------+
+   |         |
+   |   vue   |
+   |         |
+   +----+----+        +---------------------+    +----------------------+    +-------------------+
+        |             |                     |    |                      |    |                   |
+        +------------>|  @vue/runtime-dom   +--->|  @vue/runtime-core   +--->|  @vue/reactivity  |
+                      |                     |    |                      |    |                   |
+                      +---------------------+    +----------------------+    +-------------------+
+```
+
 There are some rules to follow when importing across package boundaries:
 
 - Never use direct relative paths when importing items from another package - export it in the source package and import it at the package level.