ic-mops 1.1.0 → 1.1.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 +4 -0
- package/bin/moc-wrapper.sh +1 -1
- package/bundle/cli.tgz +0 -0
- package/commands/watch/deployer.ts +1 -1
- package/dist/bin/moc-wrapper.sh +1 -1
- package/dist/commands/watch/deployer.js +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Mops CLI Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
- `moc-wrapper` now adds hostname to the moc path cache(`.mops/moc-*` filename) to avoid errors when running in Dev Containers
|
|
5
|
+
- `mops watch` now deploys canisters with the `--yes` flag to skip data loss confirmation
|
|
6
|
+
|
|
3
7
|
## 1.1.0
|
|
4
8
|
- New `mops watch` command to check for syntax errors, show warnings, run tests, generate declarations and deploy canisters ([docs](https://docs.mops.one/cli/mops-watch))
|
|
5
9
|
- New flag `--no-toolchain` in `mops install` command to skip toolchain installation
|
package/bin/moc-wrapper.sh
CHANGED
package/bundle/cli.tgz
CHANGED
|
Binary file
|
|
@@ -113,7 +113,7 @@ export class Deployer {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
// install
|
|
116
|
-
await promisify(execFile)('dfx', ['canister', 'install', '--mode=auto', canister], {cwd: rootDir, signal}).catch((error) => {
|
|
116
|
+
await promisify(execFile)('dfx', ['canister', 'install', '--mode=auto', '--yes', canister], {cwd: rootDir, signal}).catch((error) => {
|
|
117
117
|
if (error.code === 'ABORT_ERR') {
|
|
118
118
|
return {stderr: ''};
|
|
119
119
|
}
|
package/dist/bin/moc-wrapper.sh
CHANGED
|
@@ -89,7 +89,7 @@ export class Deployer {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
// install
|
|
92
|
-
await promisify(execFile)('dfx', ['canister', 'install', '--mode=auto', canister], { cwd: rootDir, signal }).catch((error) => {
|
|
92
|
+
await promisify(execFile)('dfx', ['canister', 'install', '--mode=auto', '--yes', canister], { cwd: rootDir, signal }).catch((error) => {
|
|
93
93
|
if (error.code === 'ABORT_ERR') {
|
|
94
94
|
return { stderr: '' };
|
|
95
95
|
}
|
package/dist/package.json
CHANGED