rename client/ to frontend/
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details

This commit is contained in:
Ladd Hoffman 2024-04-18 18:49:50 -05:00
parent fa97f0e194
commit db43bd95d8
33 changed files with 4 additions and 4 deletions

View File

@ -142,7 +142,7 @@ Clone this repository to a directory on your machine
### Frontend
1. In a new terminal window, navigate to `dgf-prototype/client`
1. In a new terminal window, navigate to `dgf-prototype/frontend`
1. Install the project

View File

@ -15,7 +15,7 @@ const deployContract = async (name, args = [], isCore = false) => {
contractAddresses[network][name] = contract.target;
const from = `./artifacts/contracts/${isCore ? 'core/' : ''}${name}.sol/${name}.json`;
const to = `../client/src/assets/${name}.json`;
const to = `../frontend/src/assets/${name}.json`;
fs.copyFileSync(from, to);
console.log(`Copied ${fs.realpathSync(from)} to ${fs.realpathSync(to)}`);

View File

@ -1,7 +1,7 @@
const fs = require('fs');
const writeContractAddresses = (contractAddresses) => {
fs.writeFileSync('../client/src/contract-addresses.json', JSON.stringify(contractAddresses, null, 2));
fs.writeFileSync('../frontend/src/contract-addresses.json', JSON.stringify(contractAddresses, null, 2));
console.log('Wrote file', fs.realpathSync('../client/src/contract-addresses.json'));
fs.writeFileSync('./contract-addresses.json', JSON.stringify(contractAddresses, null, 2));

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -1,6 +1,6 @@
import axios from 'axios';
// trailing slash is deliberate, to differentiate this package from the core node module
import { Buffer } from 'buffer/';
import { Buffer } from 'buffer';
import { recoverPersonalSignature } from '@metamask/eth-sig-util';
import objectHash from 'object-hash/dist/object_hash';