ic-mops 0.34.4 → 0.36.0

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.
Files changed (54) hide show
  1. package/cli.ts +11 -45
  2. package/commands/add.ts +7 -5
  3. package/commands/bench-replica.ts +99 -0
  4. package/commands/bench.ts +57 -90
  5. package/commands/install-all.ts +4 -4
  6. package/commands/remove.ts +4 -4
  7. package/commands/sync.ts +5 -5
  8. package/commands/update.ts +3 -3
  9. package/declarations/main/main.did +67 -78
  10. package/declarations/main/main.did.d.ts +72 -83
  11. package/declarations/main/main.did.js +12 -23
  12. package/dist/bin/mops.d.ts +2 -0
  13. package/dist/bin/mops.js +2 -0
  14. package/dist/cli.js +11 -44
  15. package/dist/commands/add.d.ts +2 -2
  16. package/dist/commands/add.js +6 -3
  17. package/dist/commands/bench-replica.d.ts +32 -0
  18. package/dist/commands/bench-replica.js +87 -0
  19. package/dist/commands/bench.d.ts +9 -8
  20. package/dist/commands/bench.js +44 -76
  21. package/dist/commands/install-all.d.ts +2 -2
  22. package/dist/commands/install-all.js +3 -3
  23. package/dist/commands/remove.d.ts +2 -2
  24. package/dist/commands/remove.js +3 -2
  25. package/dist/commands/sync.d.ts +2 -2
  26. package/dist/commands/sync.js +4 -4
  27. package/dist/commands/toolchain/moc.d.ts +4 -0
  28. package/dist/commands/toolchain/moc.js +36 -0
  29. package/dist/commands/toolchain/mocv.d.ts +1 -0
  30. package/dist/commands/toolchain/mocv.js +272 -0
  31. package/dist/commands/toolchain/toolchain-utils.d.ts +3 -0
  32. package/dist/commands/toolchain/toolchain-utils.js +56 -0
  33. package/dist/commands/toolchain/wasmtime.d.ts +4 -0
  34. package/dist/commands/toolchain/wasmtime.js +23 -0
  35. package/dist/commands/update.d.ts +2 -2
  36. package/dist/commands/update.js +2 -2
  37. package/dist/declarations/main/main.did +67 -78
  38. package/dist/declarations/main/main.did.d.ts +72 -83
  39. package/dist/declarations/main/main.did.js +12 -23
  40. package/dist/integrity.d.ts +2 -2
  41. package/dist/integrity.js +4 -4
  42. package/dist/moc-wrapper.d.ts +2 -0
  43. package/dist/moc-wrapper.js +8 -0
  44. package/dist/out/cli.d.ts +2 -0
  45. package/dist/out/cli.js +115242 -0
  46. package/dist/package.json +12 -4
  47. package/dist/templates/cli.d.ts +2 -0
  48. package/dist/templates/cli.js +3660 -0
  49. package/integrity.ts +5 -5
  50. package/package.json +12 -4
  51. package/dist/helpers/download-package-files.d.ts +0 -12
  52. package/dist/helpers/download-package-files.js +0 -62
  53. package/dist/helpers/resolve-version.d.ts +0 -1
  54. package/dist/helpers/resolve-version.js +0 -11
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "0.34.4",
3
+ "version": "0.36.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "dist/cli.js"
@@ -19,7 +19,7 @@
19
19
  "author": "Zen Voich <zen.voich@gmail.com>",
20
20
  "license": "MIT",
21
21
  "engines": {
22
- "node": ">=16.0.0"
22
+ "node": ">=18.0.0"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsc",
@@ -37,6 +37,7 @@
37
37
  "@dfinity/identity": "^0.18.1",
38
38
  "@dfinity/identity-secp256k1": "^0.18.1",
39
39
  "@dfinity/principal": "^0.18.1",
40
+ "@hadronous/pic": "0.2.0",
40
41
  "@iarna/toml": "^2.2.5",
41
42
  "@noble/hashes": "1.3.2",
42
43
  "as-table": "^1.0.55",
@@ -55,7 +56,7 @@
55
56
  "glob": "^10.3.3",
56
57
  "globby": "^13.2.2",
57
58
  "got": "13.0.0",
58
- "log-update": "^5.0.1",
59
+ "log-update": "6.0.0",
59
60
  "markdown-table": "3.0.3",
60
61
  "mdast-util-from-markdown": "^2.0.0",
61
62
  "mdast-util-to-markdown": "^2.1.0",
@@ -65,6 +66,7 @@
65
66
  "pem-file": "^1.0.1",
66
67
  "prompts": "^2.4.2",
67
68
  "stream-to-promise": "^3.0.0",
69
+ "string-width": "7.0.0",
68
70
  "tar": "^6.1.15"
69
71
  },
70
72
  "devDependencies": {
@@ -78,7 +80,13 @@
78
80
  "@types/stream-to-promise": "^2.2.1",
79
81
  "@types/tar": "^6.1.5",
80
82
  "esbuild": "^0.18.16",
81
- "tsx": "^3.12.7",
83
+ "tsx": "4.6.2",
82
84
  "typescript": "^5.1.6"
85
+ },
86
+ "overrides": {
87
+ "@dfinity/agent": "^0.18.1",
88
+ "@dfinity/identity": "^0.18.1",
89
+ "@dfinity/principal": "^0.18.1",
90
+ "@dfinity/candid": "^0.18.1"
83
91
  }
84
92
  }
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};