diff --git a/.changeset/every-spies-exist.md b/.changeset/every-spies-exist.md new file mode 100644 index 00000000..1e58ee95 --- /dev/null +++ b/.changeset/every-spies-exist.md @@ -0,0 +1,5 @@ +--- +"@cartesi/cli": patch +--- + +Replace --force flag to the new --yes to skip confirmation prompts on apps remove action. diff --git a/.changeset/smooth-animals-write.md b/.changeset/smooth-animals-write.md new file mode 100644 index 00000000..77c85c6e --- /dev/null +++ b/.changeset/smooth-animals-write.md @@ -0,0 +1,5 @@ +--- +"@cartesi/cli": patch +--- + +Bump devnet@2.0.0-alpha.11 and cartesi/rollup@2.2.0 npm packages. diff --git a/.changeset/smooth-years-jam.md b/.changeset/smooth-years-jam.md new file mode 100644 index 00000000..4a330823 --- /dev/null +++ b/.changeset/smooth-years-jam.md @@ -0,0 +1,5 @@ +--- +"@cartesi/cli": patch +--- + +Bump CLI default SDK version from alpha.34 to alpha.37. diff --git a/apps/cli/package.json b/apps/cli/package.json index db235f72..e53e7a40 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -41,8 +41,8 @@ "yaml": "^2.8.2" }, "devDependencies": { - "@cartesi/devnet": "2.0.0-alpha.10", - "@cartesi/rollups": "2.1.1", + "@cartesi/devnet": "2.0.0-alpha.11", + "@cartesi/rollups": "2.2.0", "@sunodo/wagmi-plugin-hardhat-deploy": "^0.4.0", "@types/bun": "^1.3.6", "@types/bytes": "^3.1.5", diff --git a/apps/cli/src/config.ts b/apps/cli/src/config.ts index b6f87858..aaf6c8e9 100644 --- a/apps/cli/src/config.ts +++ b/apps/cli/src/config.ts @@ -73,7 +73,7 @@ export class InvalidStringArrayError extends Error { */ const DEFAULT_FORMAT = "ext2"; const DEFAULT_RAM = "128Mi"; -export const DEFAULT_SDK_VERSION = "0.12.0-alpha.34"; +export const DEFAULT_SDK_VERSION = "0.12.0-alpha.37"; export const DEFAULT_SDK_IMAGE = "cartesi/sdk"; export const PREFERRED_PORT = 6751; diff --git a/apps/cli/src/exec/rollups.ts b/apps/cli/src/exec/rollups.ts index 6729f197..aaa79f77 100644 --- a/apps/cli/src/exec/rollups.ts +++ b/apps/cli/src/exec/rollups.ts @@ -549,7 +549,7 @@ export const removeApplication = async (options: { const removeArgs = [application]; if (force) { - removeArgs.push("--force"); + removeArgs.push("--yes"); } return execa("docker", [ diff --git a/bun.lock b/bun.lock index 3fd1573d..7f14ab2b 100644 --- a/bun.lock +++ b/bun.lock @@ -13,7 +13,7 @@ }, "apps/cli": { "name": "@cartesi/cli", - "version": "2.0.0-alpha.28", + "version": "2.0.0-alpha.31", "bin": { "cartesi": "./dist/index.js", }, @@ -44,8 +44,8 @@ "yaml": "^2.8.2", }, "devDependencies": { - "@cartesi/devnet": "2.0.0-alpha.10", - "@cartesi/rollups": "2.1.1", + "@cartesi/devnet": "2.0.0-alpha.11", + "@cartesi/rollups": "2.2.0", "@sunodo/wagmi-plugin-hardhat-deploy": "^0.4.0", "@types/bun": "^1.3.6", "@types/bytes": "^3.1.5", @@ -67,7 +67,7 @@ }, "packages/devnet": { "name": "@cartesi/devnet", - "version": "2.0.0-alpha.10", + "version": "2.0.0-alpha.11", "devDependencies": { "@types/bun": "^1.3.9", "@types/fs-extra": "^11.0.4", @@ -107,7 +107,7 @@ }, "packages/sdk": { "name": "@cartesi/sdk", - "version": "0.12.0-alpha.32", + "version": "0.12.0-alpha.36", }, "packages/tsconfig": { "name": "tsconfig", @@ -149,7 +149,7 @@ "@cartesi/mock-verifying-paymaster": ["@cartesi/mock-verifying-paymaster@workspace:packages/mock-verifying-paymaster"], - "@cartesi/rollups": ["@cartesi/rollups@2.1.1", "", {}, "sha512-1k+8gEp6VL6pGr0hlUTqK1hEIvBmRKUBodU3259e7rpR7ECaTLUV08C+P4efnXrz5Zj2SYWF8QZuFUVMxsMBVA=="], + "@cartesi/rollups": ["@cartesi/rollups@2.2.0", "", {}, "sha512-I4mC6UBvLmz52d+jSHvbWXh9VLSprWYRcT3VoufBypA7P66sXU7XKoOgHiiBzoVp/KX4lL3agv3Fx0rxE+nvWg=="], "@cartesi/sdk": ["@cartesi/sdk@workspace:packages/sdk"], @@ -1451,7 +1451,7 @@ "zod-validation-error": ["zod-validation-error@3.5.4", "", { "peerDependencies": { "zod": "^3.24.4" } }, "sha512-+hEiRIiPobgyuFlEojnqjJnhFvg4r/i3cqgcm67eehZf/WBaK3g6cD02YU9mtdVxZjv8CzCA9n/Rhrs3yAAvAw=="], - "@cartesi/cli/@cartesi/devnet": ["@cartesi/devnet@2.0.0-alpha.10", "", {}, "sha512-hXHrfT5jNorFLX9Sc+04Zlr4hVymT+eLQi+8ZivW49llYOyYYUde32w+SCNu4bIrB6u9x2KdKucQjU0e+fSE5w=="], + "@cartesi/cli/@cartesi/devnet": ["@cartesi/devnet@2.0.0-alpha.11", "", {}, "sha512-IMpYCuLwXa+dIJYcA0IQWfrHiVXAbkDXtf9xzVHGo6iKzR1skhw6x6cv5YqgJrXlJzna2cT3zKG/Nd4VbQTJvg=="], "@cartesi/mock-verifying-paymaster/viem": ["viem@2.18.4", "", { "dependencies": { "@adraffy/ens-normalize": "1.10.0", "@noble/curves": "1.4.0", "@noble/hashes": "1.4.0", "@scure/bip32": "1.4.0", "@scure/bip39": "1.3.0", "abitype": "1.0.5", "isows": "1.0.4", "webauthn-p256": "0.0.5", "ws": "8.17.1" }, "peerDependencies": { "typescript": ">=5.0.4" }, "optionalPeers": ["typescript"] }, "sha512-JGdN+PgBnZMbm7fc9o0SfHvL0CKyfrlhBUtaz27V+PeHO43Kgc9Zd4WyIbM8Brafq4TvVcnriRFW/FVGOzwEJw=="],