diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c4cfabb..b9f8847 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,9 +18,9 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 - # Step 3: Install dependencies + # Step 3: Install latest version of poolzfinance/reacthelper - name: Install dependencies - run: npm install + run: npm install @poolzfinance/reacthelper # Step 4: Build the project (generate JSON files and copy index.html) - name: Build project diff --git a/package.json b/package.json index 16e647f..5eb9594 100644 --- a/package.json +++ b/package.json @@ -19,13 +19,4 @@ "url": "https://github.com/The-Poolz/chain-settings/issues" }, "homepage": "https://github.com/The-Poolz/chain-settings#readme", - "dependencies": { - "@poolzfinance/reacthelper": "^2.1.10" - }, - "devDependencies": { - "gh-pages": "^6.2.0", - "ts-node": "^10.9.2", - "typescript": "^5.7.2", - "undici": "^6.21.0" - } } \ No newline at end of file diff --git a/view/index.html b/view/index.html index 32b45bf..5de1db8 100644 --- a/view/index.html +++ b/view/index.html @@ -21,7 +21,7 @@

JSON Viewer

function fetchJSON() { const chainId = document.getElementById("chainIdInput").value; - const url = `static-data/${chainId}.json`; + const url = `dist/${chainId}.json`; fetch(url) .then(response => {