@@ -12,10 +12,10 @@ description: |
12
12
ReScript is a soundly typed language with an optimizing compiler focused on the JS platform.
13
13
It's focused on type safety, performance and JS interop. It used to be called BuckleScript.
14
14
15
- [ [email protected] ] ( https://www.npmjs.com/package/bs-platform/v/8.4.1 ) is now available for testing, you can try it via
15
+ [ [email protected] ] ( https://www.npmjs.com/package/bs-platform/v/8.4.2 ) is now available for testing, you can try it via
16
16
17
17
```
18
-
18
+
19
19
```
20
20
21
21
The changes are listed [ here] ( https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#841 ) .
@@ -44,11 +44,12 @@ To make things worse, each package comes with an installation process which is a
44
44
package look like freshly built.
45
45
46
46
In this release, we track the installation in the build graph as well, and we calculate the hash of the installation of dependencies and put it in the
47
- dependent's command line flags for building binary artifacts. Such strategy benefits in three aspects:
47
+ dependent's command line flags for building binary artifacts. Such strategy benefits in such aspects:
48
+
48
49
- The calculation of the hash of installation is almost free since it is just one stat, we don't need track all dependencies' artifacts.
49
50
- The introducion of such hashing does not appear in parsing, so that the changes of dependencies will never trigger re-parsing.
50
51
- Once the package installation is a nop, the transitive rebuild graph will be cut off so that we can save some unneeded rebuild.
51
-
52
+ - When people make changes to the depdendencies, if such changes don't change the package interface, it will not trigger the build of its dependents.
52
53
53
54
### Introducing ` pinned-dependencies `
54
55
0 commit comments