ic-mops 1.7.0 → 1.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Mops CLI Changelog
2
2
 
3
+ ## 1.7.1
4
+ - Fix `mops install` for local dependencies
5
+
3
6
  ## 1.7.0
4
7
  - Add support for `actor class` detection to run replica tests in `mops test` command
5
8
 
package/bundle/cli.tgz CHANGED
Binary file
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "bin/mops.js",
@@ -82,7 +82,7 @@ export async function resolvePackages({ conflicts = 'ignore' } = {}) {
82
82
  localNestedDir = path.resolve(configDir, pkgDetails.path).replaceAll('{MOPS_ENV}', process.env.MOPS_ENV || 'local');
83
83
  let mopsToml = path.join(localNestedDir, 'mops.toml');
84
84
  if (existsSync(mopsToml)) {
85
- nestedConfig = readConfig();
85
+ nestedConfig = readConfig(mopsToml);
86
86
  }
87
87
  }
88
88
  else if (version) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "dist/bin/mops.js",
@@ -103,7 +103,7 @@ export async function resolvePackages({conflicts = 'ignore' as 'warning' | 'erro
103
103
  localNestedDir = path.resolve(configDir, pkgDetails.path).replaceAll('{MOPS_ENV}', process.env.MOPS_ENV || 'local');
104
104
  let mopsToml = path.join(localNestedDir, 'mops.toml');
105
105
  if (existsSync(mopsToml)) {
106
- nestedConfig = readConfig();
106
+ nestedConfig = readConfig(mopsToml);
107
107
  }
108
108
  }
109
109
  else if (version) {