Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
02c5ee2
- Update next.js dependency from 14.0.4 to 14.2.33
kasumi-1 Oct 1, 2025
6a6306b
Update to next.js 15
kasumi-1 Oct 1, 2025
637551e
Remove empty yarn.lock file
kasumi-1 Oct 3, 2025
9ccec7a
Add comprehensive test suite and CI workflow for website
kasumi-1 Oct 3, 2025
207f01c
Add contract test workflow and update token tests
kasumi-1 Oct 3, 2025
78c0a53
Reorganize test files and update import paths
kasumi-1 Oct 3, 2025
b24b53f
Add comprehensive test suite with Vitest and mock data fixtures
kasumi-1 Oct 3, 2025
b9bc664
Migrate from Apollo Client to URQL for GraphQL queries
kasumi-1 Oct 3, 2025
08ead0d
Remove unused Rollup dependency for Darwin ARM64
kasumi-1 Oct 3, 2025
6470a35
Update dependencies and fix media handling in chat components
kasumi-1 Oct 3, 2025
50c23b2
Remove MUI dependencies and replace with custom components
kasumi-1 Oct 3, 2025
d8b17e0
Remove unused dependencies from package.json
kasumi-1 Oct 4, 2025
b54df45
Remove unused Radix UI and Urql dependencies
kasumi-1 Oct 4, 2025
5deaa5f
Add unified coverage workflow for contract and website
kasumi-1 Oct 4, 2025
c8da27d
Add Dependabot configuration for npm and GitHub Actions dependencies
kasumi-1 Oct 4, 2025
f39a8af
Add Lighthouse CI workflow and configuration
kasumi-1 Oct 4, 2025
51c2522
Simplify coverage workflow script
kasumi-1 Oct 4, 2025
b0b7831
Remove main branch from Lighthouse CI workflow
kasumi-1 Oct 4, 2025
b8af31c
Update coverage script to include MarketplaceV3 and MarketplaceDataV1
kasumi-1 Oct 4, 2025
bf8babc
Add solidity coverage config and update jest setup for website
kasumi-1 Oct 4, 2025
1d41069
bump lockfile
kasumi-1 Oct 5, 2025
aabf063
Add test result reporting and improve coverage workflow
kasumi-1 Oct 5, 2025
3779789
Migrate from Jest to Vitest for testing framework
kasumi-1 Oct 5, 2025
883852b
Migrate test mocks from Apollo to URQL and standardize test assertions
kasumi-1 Oct 5, 2025
2d1e678
Add badges and star history to README
kasumi-1 Oct 5, 2025
2e74b41
Refactor test suite and improve mock implementations
kasumi-1 Oct 5, 2025
ebcfa28
Add @effectiveacceleration/contracts to transpilePackages
kasumi-1 Oct 5, 2025
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
39 changes: 39 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
## Description
<!-- Describe your changes in detail -->

## Type of Change
<!-- Mark the relevant option with an "x" -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation update
- [ ] Test coverage improvement
- [ ] Refactoring (no functional changes)

## Testing
<!-- Describe the tests you ran and how to reproduce them -->

- [ ] Tests pass locally (`npm test`)
- [ ] Coverage is maintained or improved (`npm run test:coverage`)
- [ ] No new warnings in build (`npm run build`)

## Checklist
<!-- Mark completed items with an "x" -->

- [ ] My code follows the project's style guidelines
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Coverage report shows adequate coverage for new code

## Screenshots (if applicable)
<!-- Add screenshots to help explain your changes -->

## Related Issues
<!-- Link related issues here using #issue_number -->

Closes #
42 changes: 42 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2
updates:
# Contract dependencies
- package-ecosystem: "npm"
directory: "/contract"
schedule:
interval: "weekly"
open-pull-requests-limit: 5

# Website dependencies
- package-ecosystem: "npm"
directory: "/website"
schedule:
interval: "weekly"
open-pull-requests-limit: 5

# Subsquid dependencies
- package-ecosystem: "npm"
directory: "/subsquid"
schedule:
interval: "weekly"
open-pull-requests-limit: 5

# Notifications dependencies
- package-ecosystem: "npm"
directory: "/notifications"
schedule:
interval: "weekly"
open-pull-requests-limit: 5

# IPFS Service dependencies
- package-ecosystem: "npm"
directory: "/ipfs-service"
schedule:
interval: "weekly"
open-pull-requests-limit: 5

# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
74 changes: 74 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Coverage

on:
push:
pull_request:

jobs:
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
package: [contract, website]

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: ${{ matrix.package }}/package-lock.json

- name: Install dependencies
run: cd ${{ matrix.package }} && npm ci

- name: Run coverage
run: cd ${{ matrix.package }} && npm run test:coverage

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: (!cancelled())
with:
files: |
${{ matrix.package }}/test-results/**/*.xml
${{ matrix.package }}/test-results/**/*.trx
${{ matrix.package }}/test-results/**/*.json
check_name: Test Results (${{ matrix.package }})
continue-on-error: true

- name: Determine lcov path
id: lcov-path
run: |
if [ -f "${{ matrix.package }}/lcov.info" ]; then
echo "path=${{ matrix.package }}/lcov.info" >> $GITHUB_OUTPUT
elif [ -f "${{ matrix.package }}/coverage/lcov.info" ]; then
echo "path=${{ matrix.package }}/coverage/lcov.info" >> $GITHUB_OUTPUT
else
echo "path=${{ matrix.package }}/lcov.info" >> $GITHUB_OUTPUT
fi

- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{ matrix.package }}
parallel: true
file: ${{ steps.lcov-path.outputs.path }}
continue-on-error: true

finish:
needs: coverage
if: always()
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
carryforward: true
43 changes: 43 additions & 0 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Lighthouse CI

on:
pull_request:
push:
branches:
- master

jobs:
lighthouse:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: website/package-lock.json

- name: Install dependencies
run: cd website && npm ci

- name: Build site
run: cd website && npm run build

- name: Start server
run: |
cd website
npm start &
npx wait-on http://localhost:3000 --timeout 60000

- name: Run Lighthouse CI
uses: treosh/lighthouse-ci-action@v12
with:
urls: |
http://localhost:3000
uploadArtifacts: false
temporaryPublicStorage: true
configPath: ./website/lighthouserc.js
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Effective Acceleration

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Solidity](https://img.shields.io/badge/Solidity-0.8.28-blue)](https://soliditylang.org)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-blue)](https://www.typescriptlang.org/)
[![Coverage Status](https://coveralls.io/repos/github/semperai/effectiveacceleration.ai/badge.svg?branch=master)](https://coveralls.io/github/semperai/effectiveacceleration.ai?branch=master)
![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/semperai/effectiveacceleration.ai?utm_source=oss&utm_medium=github&utm_campaign=semperai%2Feffectiveacceleration.ai&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)

Peer-to-peer decentralized marketplace - https://effectiveacceleration.ai

## Project Layout
Expand Down Expand Up @@ -27,3 +33,7 @@ View the full documentation at https://docs.effectiveacceleration.ai/
## License

MIT

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=semperai/effectiveacceleration.ai&type=Date)](https://star-history.com/#semperai/effectiveacceleration.ai&Date)
3 changes: 3 additions & 0 deletions contract/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ yarn-error.log
/coverage
/coverage.json
/dist

# test results
/test-results
12 changes: 12 additions & 0 deletions contract/.solcover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
skipFiles: [
'EACCToken.sol',
'MarketplaceV1.sol',
'MarketplaceV2.sol',
'MockSablierLockup.sol',
'TreasurySplit.sol',
'unicrow/',
'interfaces/',
'libraries/',
]
};
2 changes: 1 addition & 1 deletion contract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can find more tasks in the `./tasks/index.ts` file.
To run the project locally, you need to install the dependencies:

```bash
yarn install
npm install
npx hardhat node
npx hardhat --network localhost run scripts/000-deploy-marketplace.ts
```
6 changes: 6 additions & 0 deletions contract/hardhat.config.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ if (!MNEMONIC) {

export function configWithPkey(privateKey: string): HardhatUserConfig {
return {
mocha: {
reporter: process.env.CI ? 'mocha-junit-reporter' : 'spec',
reporterOptions: {
mochaFile: 'test-results/junit.xml'
}
},
solidity: {
compilers: [
{
Expand Down
Loading
Loading