From 7e40e14d1afeb7d7bc1e860b9dcb395e3d7658fe Mon Sep 17 00:00:00 2001 From: Rohit Ranjan Date: Thu, 2 Nov 2023 11:31:18 +0530 Subject: [PATCH] update plugin version --- api/cairo_compilers/build.sh | 24 ---------------------- plugin/package.json | 2 +- plugin/src/features/CairoVersion/index.tsx | 2 +- 3 files changed, 2 insertions(+), 26 deletions(-) delete mode 100755 api/cairo_compilers/build.sh diff --git a/api/cairo_compilers/build.sh b/api/cairo_compilers/build.sh deleted file mode 100755 index aa59d781..00000000 --- a/api/cairo_compilers/build.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -echo "Building cairo compilers" - -directories=$(ls -d */) - -for dir in $directories -do - echo "Building $dir" - - if [[ ! -f "$dir/Cargo.toml" ]]; then - echo "Invalid cairo version provided $dir" - exit 1 - fi - - cd "$dir" || exit 1 - - cargo build --bin starknet-compile --release - cargo build --bin starknet-sierra-compile --release - - cd .. - - echo "Done building $dir" -done \ No newline at end of file diff --git a/plugin/package.json b/plugin/package.json index fa66ee50..aadd033f 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -1,6 +1,6 @@ { "name": "starknet-remix-plugin", - "version": "0.1.0", + "version": "0.2.5", "private": true, "dependencies": { "@radix-ui/react-accordion": "^1.1.2", diff --git a/plugin/src/features/CairoVersion/index.tsx b/plugin/src/features/CairoVersion/index.tsx index 7bb0aca0..3c5ad99c 100644 --- a/plugin/src/features/CairoVersion/index.tsx +++ b/plugin/src/features/CairoVersion/index.tsx @@ -13,7 +13,7 @@ const CairoVersion: React.FC = () => { const { remixClient } = useRemixClient() const envViteVersion: string | undefined = import.meta.env.VITE_VERSION - const pluginVersion = envViteVersion !== undefined ? `v${envViteVersion}` : 'v0.2.0' + const pluginVersion = envViteVersion !== undefined ? `v${envViteVersion}` : 'v0.2.5' // Hard-coded versions for the example const [getVersions, setVersions] = useState([])