Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating versions #957

Merged
merged 10 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1


orbs:
node: circleci/node@5.2.0
node: circleci/node@7.0.0


executors:
Expand Down Expand Up @@ -40,7 +40,9 @@ commands:
- cargo_fetch:
working_directory: wasm
- node/install-packages:
pkg-manager: yarn
check-cache: always
pkg-manager: yarn-berry
with-cache: false


setup-sdk:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-08-12
toolchain: nightly-2025-01-16
override: true
components: rustfmt, rust-src

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-08-12
toolchain: nightly-2025-01-16
override: true
components: rustfmt, rust-src

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2024-08-12
toolchain: nightly-2025-01-16
override: true
components: rustfmt, rust-src

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ rust/src/program/.DS_Store
.netlify

package-lock.json
.yarn
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: "node-modules"
10 changes: 4 additions & 6 deletions create-leo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"collaborators": [
"The Provable Team"
],
"bin": {
"create-leo-app": "index.js"
},
"bin": "index.js",
"files": [
"index.js",
"template-extension",
Expand All @@ -31,11 +29,11 @@
"node": "^14.18.0 || >=16.0.0"
},
"devDependencies": {
"@types/minimist": "^1.2.2",
"@types/prompts": "^2.4.4",
"@types/minimist": "^1.2.5",
"@types/prompts": "^2.4.9",
"kolorist": "^1.8.0",
"minimist": "^1.2.8",
"prompts": "^2.4.2",
"unbuild": "^1.2.1"
"unbuild": "^3.3.1"
}
}
8 changes: 4 additions & 4 deletions create-leo-app/template-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"build": "rimraf static/js && rollup --config"
},
"devDependencies": {
"@provablehq/sdk": "^0.7.0",
"@web/rollup-plugin-import-meta-assets": "^2.1.0",
"rimraf": "^5.0.1",
"rollup": "^4.0.0"
"@provablehq/sdk": "^0.8.0",
"@web/rollup-plugin-import-meta-assets": "^2.2.1",
"rimraf": "^6.0.1",
"rollup": "^4.32.0"
}
}
18 changes: 9 additions & 9 deletions create-leo-app/template-nextjs-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"lint": "next lint"
},
"dependencies": {
"@provablehq/sdk": "^0.7.0",
"next": "13.5.4",
"react": "^18",
"react-dom": "^18",
"terser-webpack-plugin": "^5.3.9"
"@provablehq/sdk": "^0.8.0",
"next": "15.1.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"terser-webpack-plugin": "^5.3.11"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5"
"@types/node": "^22.12.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"typescript": "^5.7.3"
}
}
8 changes: 4 additions & 4 deletions create-leo-app/template-node-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"dev": "npm run build && node dist/index.js"
},
"dependencies": {
"@provablehq/sdk": "^0.7.0"
"@provablehq/sdk": "^0.8.0"
},
"devDependencies": {
"rimraf": "^5.0.1",
"rollup": "^3.27.2",
"rimraf": "^6.0.1",
"rollup": "^4.32.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.2.2"
"typescript": "^5.7.3"
}
}
2 changes: 1 addition & 1 deletion create-leo-app/template-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"dev": "node index.js"
},
"dependencies": {
"@provablehq/sdk": "^0.7.0"
"@provablehq/sdk": "^0.8.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"dev": "npm run build && node dist/index.js"
},
"dependencies": {
"@provablehq/sdk": "^0.7.0"
"@provablehq/sdk": "^0.8.0"
},
"devDependencies": {
"rimraf": "^5.0.1",
"rollup": "^3.27.2",
"rimraf": "^6.0.1",
"rollup": "^4.32.0",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.2.2"
"typescript": "^5.7.3"
}
}
44 changes: 22 additions & 22 deletions create-leo-app/template-react-leo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,32 @@
},
"dependencies": {
"@provablehq/sdk": "^0.8.0",
"comlink": "^4.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"comlink": "^4.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.4",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.6.0",
"eslint": "^8.45.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"@babel/core": "^7.26.7",
"@babel/preset-env": "^7.26.7",
"@babel/preset-react": "^7.26.3",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint": "^9.19.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"html-webpack-plugin": "^5.6.3",
"raw-loader": "^4.0.2",
"style-loader": "^3.3.1",
"style-loader": "^4.0.0",
"svg-url-loader": "^8.0.0",
"vite": "^4.4.12",
"webpack": "^5.76.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
"vite": "^6.0.11",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0"
}
}
44 changes: 22 additions & 22 deletions create-leo-app/template-react-managed-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,31 @@
"preview": "vite preview"
},
"dependencies": {
"@provablehq/sdk": "^0.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@provablehq/sdk": "^0.8.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.4",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.6.0",
"eslint": "^8.45.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"@babel/core": "^7.26.7",
"@babel/preset-env": "^7.26.7",
"@babel/preset-react": "^7.26.3",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint": "^9.19.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"style-loader": "^3.3.1",
"html-webpack-plugin": "^5.6.3",
"style-loader": "^4.0.0",
"svg-url-loader": "^8.0.0",
"vite": "^4.4.12",
"webpack": "^5.76.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
"vite": "^6.0.11",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0"
}
}
56 changes: 28 additions & 28 deletions create-leo-app/template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,38 @@
"install-leo": "./install.sh"
},
"dependencies": {
"@provablehq/sdk": "^0.7.0",
"comlink": "^4.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"@provablehq/sdk": "^0.8.0",
"comlink": "^4.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.2",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/babel__generator": "^7.6.6",
"@types/node": "^20.8.7",
"@vitejs/plugin-react": "^4.0.4",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.6.0",
"eslint": "^8.45.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"@babel/core": "^7.26.7",
"@babel/preset-env": "^7.26.7",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@types/babel__generator": "^7.6.8",
"@types/node": "^22.12.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^4.3.4",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint": "^9.19.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"html-webpack-plugin": "^5.6.3",
"raw-loader": "^4.0.2",
"style-loader": "^3.3.1",
"style-loader": "^4.0.0",
"svg-url-loader": "^8.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.4.12",
"webpack": "^5.76.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1"
"ts-node": "^10.9.2",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0"
}
}
6 changes: 3 additions & 3 deletions create-leo-app/template-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preview": "vite preview"
},
"devDependencies": {
"@provablehq/sdk": "^0.7.0",
"tslib": "^2.6.2",
"vite": "^4.4.12"
"@provablehq/sdk": "^0.8.0",
"tslib": "^2.8.1",
"vite": "^6.0.11"
}
}
21 changes: 9 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,23 @@
"build:sdk-docs": "jsdoc -c sdk/jsdoc.json",
"build:create-leo-app": "cd create-leo-app && yarn build",
"build:all": "yarn build:wasm && yarn build:sdk && yarn build:create-leo-app",

"deploy:wasm": "cd wasm && npm publish --access=public",
"deploy:sdk": "cd sdk && npm publish --access=public",
"deploy:create-leo-app": "cd create-leo-app && npm publish --access=public",
"deploy": "yarn build:all && yarn deploy:wasm && yarn deploy:sdk && yarn deploy:create-leo-app",

"start:website": "cd website && yarn dev",
"test:wasm": "cd wasm && yarn test",
"test:sdk": "cd sdk && yarn test",
"test": "yarn test:wasm && yarn test:sdk",

"change-version": "node scripts/change-version.js",
"deploy:wasm": "cd wasm && npm publish --access=public",
"deploy:sdk": "cd sdk && npm publish --access=public",
"deploy:create-leo-app": "cd create-leo-app && npm publish --access=public",
"deploy": "yarn build:all && yarn deploy:wasm && yarn deploy:sdk && yarn deploy:create-leo-app",
"lint": "prettier . --check",
"pretty": "prettier . --write",
"start:website": "cd website && yarn dev"
"pretty": "prettier . --write"
},
"optionalDependencies": {
"glob": "^11.0.0"
"glob": "^11.0.1"
},
"devDependencies": {
"prettier": "3.0.3",
"wasm-pack": "^0.12.1"
"prettier": "3.4.2",
"wasm-pack": "^0.13.1"
}
}
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2024-08-12"
channel = "nightly-2025-01-16"
components = [ "rust-std", "rust-src" ]
targets = [ "wasm32-unknown-unknown" ]
Loading
Loading