ic-mops 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/mops.js +2 -2
- package/package.json +1 -1
- package/templates/mops-test.yml +1 -1
package/README.md
CHANGED
|
@@ -50,6 +50,11 @@ You can also add packages from GitHub like this
|
|
|
50
50
|
mops add https://github.com/dfinity/motoko-base
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
+
For GitHub-packages you can specify branch, tag, or commit hash by adding `#<branch/tag/hash>`
|
|
54
|
+
```
|
|
55
|
+
mops add https://github.com/dfinity/motoko-base#moc-0.9.1
|
|
56
|
+
```
|
|
57
|
+
|
|
53
58
|
You can also add local packages like this (put source files inside `src` directory)
|
|
54
59
|
```
|
|
55
60
|
mops add ./shared
|
package/mops.js
CHANGED
|
@@ -41,14 +41,14 @@ export function getNetwork() {
|
|
|
41
41
|
else if (network === 'staging') {
|
|
42
42
|
return {
|
|
43
43
|
network,
|
|
44
|
-
host: 'https://
|
|
44
|
+
host: 'https://icp-api.io',
|
|
45
45
|
canisterId: '2d2zu-vaaaa-aaaak-qb6pq-cai',
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
else if (network === 'ic') {
|
|
49
49
|
return {
|
|
50
50
|
network,
|
|
51
|
-
host: 'https://
|
|
51
|
+
host: 'https://icp-api.io',
|
|
52
52
|
canisterId: 'oknww-riaaa-aaaam-qaf6a-cai',
|
|
53
53
|
};
|
|
54
54
|
}
|
package/package.json
CHANGED