ic-mops 0.44.2-pre.0 → 0.45.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.
- package/CHANGELOG.md +7 -0
- package/bin/moc-wrapper.sh +2 -1
- package/bundle/bin/moc-wrapper.sh +2 -1
- package/bundle/cli.js +90 -33
- package/bundle/cli.tgz +0 -0
- package/bundle/declarations/bench/bench.did +2 -2
- package/bundle/declarations/bench/bench.did.d.ts +2 -2
- package/bundle/declarations/bench/bench.did.js +2 -2
- package/bundle/declarations/bench/index.js +8 -0
- package/bundle/declarations/main/main.did +5 -0
- package/bundle/declarations/main/main.did.d.ts +5 -0
- package/bundle/declarations/main/main.did.js +5 -0
- package/bundle/package.json +1 -1
- package/cache.ts +2 -1
- package/check-requirements.ts +2 -1
- package/cli.ts +1 -0
- package/commands/available-updates.ts +4 -0
- package/commands/install/install-mops-dep.ts +7 -5
- package/commands/publish.ts +10 -5
- package/commands/remove.ts +5 -4
- package/declarations/bench/bench.did +2 -2
- package/declarations/bench/bench.did.d.ts +2 -2
- package/declarations/bench/bench.did.js +2 -2
- package/declarations/main/main.did +5 -0
- package/declarations/main/main.did.d.ts +5 -0
- package/declarations/main/main.did.js +5 -0
- package/dist/bin/moc-wrapper.sh +2 -1
- package/dist/cache.js +2 -1
- package/dist/check-requirements.js +2 -1
- package/dist/cli.js +1 -0
- package/dist/commands/available-updates.js +3 -0
- package/dist/commands/install/install-mops-dep.js +7 -5
- package/dist/commands/publish.d.ts +1 -0
- package/dist/commands/publish.js +8 -4
- package/dist/commands/remove.js +5 -4
- package/dist/declarations/bench/bench.did +2 -2
- package/dist/declarations/bench/bench.did.d.ts +2 -2
- package/dist/declarations/bench/bench.did.js +2 -2
- package/dist/declarations/main/main.did +5 -0
- package/dist/declarations/main/main.did.d.ts +5 -0
- package/dist/declarations/main/main.did.js +5 -0
- package/dist/helpers/get-dep-name.d.ts +1 -0
- package/dist/helpers/get-dep-name.js +3 -0
- package/dist/helpers/get-package-id.d.ts +1 -0
- package/dist/helpers/get-package-id.js +4 -0
- package/dist/integrity.js +2 -1
- package/dist/mops.js +5 -4
- package/dist/notify-installs.js +5 -2
- package/dist/package.json +34 -34
- package/dist/vessel.js +1 -1
- package/helpers/get-dep-name.ts +3 -0
- package/helpers/get-package-id.ts +5 -0
- package/integrity.ts +2 -1
- package/mops.ts +5 -4
- package/notify-installs.ts +6 -2
- package/package.json +35 -35
- package/pem.ts +0 -0
- package/vessel.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ic-mops",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"mops": "dist/bin/mops.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"bundle:fix": "npx -y rexreplace 'new URL\\(\"\\.\\./templates' 'new URL(\"./templates' bundle/cli.js",
|
|
30
30
|
"bundle:copy": "cp -r commands/bench bundle && cp -r bin declarations templates package.json bundle",
|
|
31
31
|
"bundle:package-json": "tsx bundle-package-json.ts",
|
|
32
|
-
"bundle:tar": "tar -czvf bundle/cli.tgz bundle",
|
|
32
|
+
"bundle:tar": "tar --exclude bundle/cli.tgz -czvf bundle/cli.tgz bundle",
|
|
33
33
|
"copy": "cp -r commands/bench dist/commands && cp -r declarations templates package.json bin dist | true",
|
|
34
34
|
"prepare": "npm run build && npm run copy && npm run fix-dist",
|
|
35
35
|
"fix-dist": "tsx ./fix-dist.ts",
|
|
@@ -39,69 +39,69 @@
|
|
|
39
39
|
"esbuild": "esbuild"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@dfinity/agent": "
|
|
43
|
-
"@dfinity/candid": "
|
|
44
|
-
"@dfinity/identity": "
|
|
45
|
-
"@dfinity/identity-secp256k1": "
|
|
46
|
-
"@dfinity/principal": "
|
|
47
|
-
"@iarna/toml": "2.2.5",
|
|
42
|
+
"@dfinity/agent": "^0.19.3",
|
|
43
|
+
"@dfinity/candid": "^0.19.3",
|
|
44
|
+
"@dfinity/identity": "^0.19.3",
|
|
45
|
+
"@dfinity/identity-secp256k1": "^0.19.3",
|
|
46
|
+
"@dfinity/principal": "^0.19.3",
|
|
47
|
+
"@iarna/toml": "^2.2.5",
|
|
48
48
|
"@noble/hashes": "1.3.2",
|
|
49
|
-
"as-table": "1.0.55",
|
|
49
|
+
"as-table": "^1.0.55",
|
|
50
50
|
"buffer": "6.0.3",
|
|
51
51
|
"cacheable-request": "10.2.12",
|
|
52
|
-
"camelcase": "7.0.1",
|
|
53
|
-
"chalk": "5.3.0",
|
|
52
|
+
"camelcase": "^7.0.1",
|
|
53
|
+
"chalk": "^5.3.0",
|
|
54
54
|
"chokidar": "3.6.0",
|
|
55
55
|
"commander": "12.0.0",
|
|
56
|
-
"debounce": "1.2.1",
|
|
56
|
+
"debounce": "^1.2.1",
|
|
57
57
|
"decomp-tarxz": "0.1.1",
|
|
58
|
-
"decompress": "4.2.1",
|
|
58
|
+
"decompress": "^4.2.1",
|
|
59
59
|
"del": "7.1.0",
|
|
60
60
|
"dhall-to-json-cli": "1.7.6",
|
|
61
61
|
"eslint": "8.57.0",
|
|
62
62
|
"execa": "8.0.1",
|
|
63
63
|
"fs-extra": "11.2.0",
|
|
64
|
-
"get-folder-size": "4.0.0",
|
|
65
|
-
"glob": "10.3.3",
|
|
66
|
-
"globby": "13.2.2",
|
|
64
|
+
"get-folder-size": "^4.0.0",
|
|
65
|
+
"glob": "^10.3.3",
|
|
66
|
+
"globby": "^13.2.2",
|
|
67
67
|
"got": "13.0.0",
|
|
68
68
|
"log-update": "6.0.0",
|
|
69
69
|
"markdown-table": "3.0.3",
|
|
70
|
-
"mdast-util-from-markdown": "2.0.0",
|
|
71
|
-
"mdast-util-to-markdown": "2.1.0",
|
|
72
|
-
"minimatch": "9.0.3",
|
|
73
|
-
"ncp": "2.0.0",
|
|
74
|
-
"node-fetch": "3.3.2",
|
|
70
|
+
"mdast-util-from-markdown": "^2.0.0",
|
|
71
|
+
"mdast-util-to-markdown": "^2.1.0",
|
|
72
|
+
"minimatch": "^9.0.3",
|
|
73
|
+
"ncp": "^2.0.0",
|
|
74
|
+
"node-fetch": "^3.3.2",
|
|
75
75
|
"octokit": "3.1.2",
|
|
76
|
-
"pem-file": "1.0.1",
|
|
76
|
+
"pem-file": "^1.0.1",
|
|
77
77
|
"pic-ic": "0.3.2",
|
|
78
|
-
"prompts": "2.4.2",
|
|
78
|
+
"prompts": "^2.4.2",
|
|
79
79
|
"semver": "7.6.0",
|
|
80
|
-
"stream-to-promise": "3.0.0",
|
|
80
|
+
"stream-to-promise": "^3.0.0",
|
|
81
81
|
"string-width": "7.1.0",
|
|
82
82
|
"tar": "6.2.0"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@tsconfig/strictest": "2.0.2",
|
|
86
|
-
"@types/debounce": "1.2.1",
|
|
87
|
-
"@types/decompress": "4.2.4",
|
|
86
|
+
"@types/debounce": "^1.2.1",
|
|
87
|
+
"@types/decompress": "^4.2.4",
|
|
88
88
|
"@types/fs-extra": "11.0.4",
|
|
89
|
-
"@types/glob": "8.1.0",
|
|
90
|
-
"@types/ncp": "2.0.5",
|
|
89
|
+
"@types/glob": "^8.1.0",
|
|
90
|
+
"@types/ncp": "^2.0.5",
|
|
91
91
|
"@types/node": "20.11.24",
|
|
92
|
-
"@types/prompts": "2.4.4",
|
|
92
|
+
"@types/prompts": "^2.4.4",
|
|
93
93
|
"@types/semver": "7.5.8",
|
|
94
|
-
"@types/stream-to-promise": "2.2.1",
|
|
95
|
-
"@types/tar": "6.1.5",
|
|
94
|
+
"@types/stream-to-promise": "^2.2.1",
|
|
95
|
+
"@types/tar": "^6.1.5",
|
|
96
96
|
"bun": "1.0.35",
|
|
97
97
|
"esbuild": "0.20.1",
|
|
98
98
|
"tsx": "4.7.1",
|
|
99
99
|
"typescript": "5.4.3"
|
|
100
100
|
},
|
|
101
101
|
"overrides": {
|
|
102
|
-
"@dfinity/agent": "
|
|
103
|
-
"@dfinity/identity": "
|
|
104
|
-
"@dfinity/principal": "
|
|
105
|
-
"@dfinity/candid": "
|
|
102
|
+
"@dfinity/agent": "^0.19.3",
|
|
103
|
+
"@dfinity/identity": "^0.19.3",
|
|
104
|
+
"@dfinity/principal": "^0.19.3",
|
|
105
|
+
"@dfinity/candid": "^0.19.3"
|
|
106
106
|
}
|
|
107
107
|
}
|
package/pem.ts
CHANGED
|
File without changes
|
package/vessel.ts
CHANGED
|
@@ -171,7 +171,7 @@ export const installFromGithub = async (name : string, repo : string, {verbose =
|
|
|
171
171
|
await downloadFromGithub(repo, cacheDir, progress);
|
|
172
172
|
}
|
|
173
173
|
catch (err) {
|
|
174
|
-
deleteSync([cacheDir]);
|
|
174
|
+
deleteSync([cacheDir], {force: true});
|
|
175
175
|
process.exit(1);
|
|
176
176
|
}
|
|
177
177
|
}
|