Skip to content

Commit

Permalink
fix-o1js-ui-version (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
45930 authored Feb 9, 2025
1 parent 9f69ed6 commit 085eb24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## Unreleased

## [0.22.5](https://github.com/o1-labs/zkapp-cli/compare/v0.22.4...v0.22.5) - 2025-02-07

## [0.22.4](https://github.com/o1-labs/zkapp-cli/compare/v0.22.3...v0.22.4) - 2025-01-29

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zkapp-cli",
"version": "0.22.4",
"version": "0.22.5",
"description": "CLI to create zkApps (zero-knowledge apps) for Mina Protocol",
"homepage": "https://github.com/o1-labs/zkapp-cli/",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/project.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async function project({ name, ui }) {
// Add dependencies object if none is found in the package.json because generated
// SvelteKit projects do not have dependencies included.
if (!pkgJson.dependencies) pkgJson['dependencies'] = {};
pkgJson.dependencies.o1js = '^1.*';
pkgJson.dependencies.o1js = '^2.*';
fs.writeJSONSync(path.join('ui', 'package.json'), pkgJson, { spaces: 2 });

// Use `install`, not `ci`, b/c these won't have package-lock.json yet.
Expand Down

0 comments on commit 085eb24

Please sign in to comment.