Skip to content
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
20 changes: 4 additions & 16 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Get node version
id: node
run: |
echo "version=$(node -v)" >> $GITHUB_OUTPUT
- name: Get node_modules cache
uses: actions/cache@v4
id: node_modules
with:
path: |
**/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }}
- name: Setup yarn
run: npm install -g yarn
- name: Setup pnpm
run: npm install -g pnpm
- name: Install Dependencies
if: steps.node_modules.outputs.cache-hit != 'true'
run: yarn install
- run: yarn build
run: pnpm install --frozen-lockfile
- run: pnpm build
env:
CI: false
- name: Configure AWS Credentials
Expand Down
23 changes: 6 additions & 17 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,17 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: development
ref: ${{ github.ref }}
clean: true
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Get node version
id: node
run: |
echo "version=$(node -v)" >> $GITHUB_OUTPUT
- name: Get node_modules cache
uses: actions/cache@v4
id: node_modules
with:
path: |
**/node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/yarn.lock') }}-${{ steps.node.outputs.version }}
- name: Setup yarn
run: npm install -g yarn
- name: Setup pnpm
run: npm install -g pnpm
- name: Install Dependencies
if: steps.node_modules.outputs.cache-hit != 'true'
run: yarn install
- run: yarn build
run: pnpm install --frozen-lockfile
- run: pnpm build
env:
CI: false
- name: Configure AWS Credentials
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,19 @@ For _development_ you will need to have the following:

### Step 1. Install modules

From a terminal, navigate to the project folder and run `npm install` or `yarn install`.
From a terminal, navigate to the project folder and run `npm install` or `pnpm install`.

### Step 2. Run the dashboard

To run the project locally run `npm run start` or `yarn start` from the project folder. Open http://localhost:3001 to view it in the browser.
To run the project locally run `npm run start` or `pnpm start` from the project folder. Open http://localhost:3001 to view it in the browser.

### Step 3. Build for testing and production use

To build the project run `npm run build` or `yarn build` from the project folder.
To build the project run `npm run build` or `pnpm build` from the project folder.

### Step 4. Preview the build locally

To serve the build run `npm run preview` or `yarn preview` from the project folder.
To serve the build run `npm run preview` or `pnpm preview` from the project folder.

<!-- ROADMAP -->

Expand Down
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,32 @@
"@fortawesome/fontawesome-svg-core": "6.7.2",
"@fortawesome/free-solid-svg-icons": "6.7.2",
"@fortawesome/react-fontawesome": "0.2.0",
"@multiversx/sdk-core": "^15.x",
"@multiversx/sdk-dapp": "^5.x",
"@multiversx/sdk-core": "15.1.1",
"@multiversx/sdk-dapp": "5.1.4",
"@multiversx/sdk-dapp-sc-explorer": "0.0.5-beta.0",
"@multiversx/sdk-dapp-ui": "^0.x",
"@multiversx/sdk-dapp-utils": "^3.x",
"@multiversx/sdk-dapp-ui": "0.0.27",
"@multiversx/sdk-dapp-utils": "3.0.1",
"@multiversx/sdk-native-auth-server": "2.1.0",
"@uiw/react-textarea-code-editor": "2.1.9",
"axios": "^1.11.0",
"bignumber.js": "9.1.1",
"classnames": "2.3.2",
"axios": "1.11.0",
"bignumber.js": "9.3.1",
"classnames": "2.5.1",
"formik": "2.4.6",
"lodash.debounce": "4.0.8",
"react": "18.2.0",
"react-bootstrap": "2.8.0",
"react-dom": "18.2.0",
"react-dropzone": "11.5.1",
"react-markdown": "10.1.0",
"react-router-dom": "6.17.0",
"react-select": "5.7.0",
"react-router-dom": "6.23.1",
"react-select": "5.8.3",
"yup": "0.32.11"
},
"devDependencies": {
"@svgr/rollup": "8.1.0",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/jest-dom": "6.8.0",
"@testing-library/react": "13.4.0",
"@types/hast": "3.0.4",
"@types/jest": "29.5.7",
"@types/lodash.debounce": "4.0.9",
"@types/react": "19.1.9",
Expand All @@ -56,21 +57,19 @@
"@wdio/local-runner": "8.16.2",
"@wdio/mocha-framework": "8.16.0",
"@wdio/spec-reporter": "8.15.10",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint": "8.57.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-sort-exports": "0.9.1",
"jest": "29.7.0",
"jsdom": "22.1.0",
"msw": "0.49.2",
"prettier": "3.0.0",
"sass": "1.89.2",
"ts-node": "10.9.1",
"typescript": "5.9.2",
"typescript": "5.8.3",
"vite": "5.4.19",
"vite-plugin-node-polyfills": "0.22.0",
"vite-plugin-svgr": "4.3.0",
Expand Down
Loading