You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -557,7 +557,7 @@ As you might expect, this works also in the case of adding local packages:
557
557
```yaml
558
558
workspace:
559
559
registry: 41.2.0
560
-
extra_packages:
560
+
extraPackages:
561
561
facebook:
562
562
path: ../my-purescript-facebook
563
563
```
@@ -596,7 +596,7 @@ will try to put together a new build plan with the latest package versions publi
596
596
If instead you are using package sets, then `spago upgrade` will bump your package set version to the latest package set available for your compiler version.
597
597
598
598
You can pass the `--package-set` flag if you'd rather upgrade to a specific package set version.
599
-
You can of course just edit the `workspace.package_set` field in the `spago.yaml` file.
599
+
You can of course just edit the `workspace.packageSet` field in the `spago.yaml` file.
600
600
601
601
### Custom package sets
602
602
@@ -606,21 +606,21 @@ Spago will be happy to use a package set from a local path:
606
606
607
607
```yaml
608
608
workspace:
609
-
package_set:
609
+
packageSet:
610
610
path: ../my-custom-package-set.json
611
611
```
612
612
613
613
Otherwise you can point Spago to any URL on the internet:
...and it will try to fetch the content, parse it as JSON and conform it to one of the possible package set schemas.
622
622
623
-
The first one is what Spago calls a `RemotePackageSet`, which contains some metadata, and a map of packages in the shapes (2), (3) and (4) described for `extra_packages` in the [configuration format section](#the-configuration-file).
623
+
The first one is what Spago calls a `RemotePackageSet`, which contains some metadata, and a map of packages in the shapes (2), (3) and (4) described for `extraPackages` in the [configuration format section](#the-configuration-file).
624
624
625
625
This package set could look something like this:
626
626
@@ -643,7 +643,7 @@ This package set could look something like this:
643
643
}
644
644
```
645
645
646
-
The second format possible is what Spago calls a `LegacyPackageSet`, and it's simply a map from package names to the location of the package, described as the (4) option for how to specify `extra_packages` in the [configuration format section](#the-configuration-file).
646
+
The second format possible is what Spago calls a `LegacyPackageSet`, and it's simply a map from package names to the location of the package, described as the (4) option for how to specify `extraPackages` in the [configuration format section](#the-configuration-file).
647
647
648
648
Something like this:
649
649
@@ -746,7 +746,7 @@ Where:
746
746
747
747
```yaml
748
748
workspace:
749
-
package_set:
749
+
packageSet:
750
750
registry: 41.2.0
751
751
```
752
752
@@ -853,9 +853,9 @@ Then the `client/spago.yaml` might look like this:
853
853
854
854
```yaml
855
855
workspace:
856
-
package_set:
856
+
packageSet:
857
857
registry: 41.2.0
858
-
extra_packages:
858
+
extraPackages:
859
859
common:
860
860
path: ../common
861
861
package:
@@ -870,11 +870,11 @@ And the `server/spago.yaml` might look like this:
@@ -1130,7 +1130,7 @@ Packages on which your project depends on can come from a few different sources:
1130
1130
- local packages - i.e. packages that are on your filesystem but external to your repository
1131
1131
- remote packages - i.e. packages that are not on your filesystem, but somewhere on the internet
1132
1132
1133
-
The bulk of the packages in your build will come from the Registry (often via a package set), but you are able to add local and remote packages to your build as well, by adding them to the `workspace.extra_packages` section of your `spago.yaml` file.
1133
+
The bulk of the packages in your build will come from the Registry (often via a package set), but you are able to add local and remote packages to your build as well, by adding them to the `workspace.extraPackages` section of your `spago.yaml` file.
1134
1134
1135
1135
See [here](#add-a-package-to-the-package-set) and [here](#the-configuration-file) for more info about how to add these "extra packages".
1136
1136
@@ -1198,9 +1198,9 @@ Or it can be more complex, e.g.:
0 commit comments