Skip to content

Commit

Permalink
Merge pull request #182 from fleekxyz/develop
Browse files Browse the repository at this point in the history
release: developer pre-release v0.0.4
  • Loading branch information
jsonsivar authored Mar 17, 2023
2 parents 7971ae8 + 4682be8 commit e8468b8
Show file tree
Hide file tree
Showing 153 changed files with 8,417 additions and 2,780 deletions.
19 changes: 19 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node_modules
.eslintrc.js

ui/public
ui/dist
ui/.graphclient

contracts/.openzeppelin
contracts/artifacts
contracts/cache
contracts/deployments
contracts/forge-cache
contracts/lib
contracts/out

subgraph/abis
subgraph/build
subgraph/generated
subgraph/examples/query/.graphclient
19 changes: 19 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: [
'./contracts/tsconfig.json',
'./ui/tsconfig.json',
'./subgraph/tsconfig.json',
'./subgraph/tsconfig.tools.json',
],
},
plugins: ['@typescript-eslint', 'prettier'],
root: true,
};
31 changes: 3 additions & 28 deletions .github/workflows/test.yml → .github/workflows/contract.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Tests
name: Contract

on:
pull_request:
branches:
- main
- develop
paths:
- 'contracts/**'

jobs:
test-contracts:
Expand Down Expand Up @@ -42,30 +44,3 @@ jobs:

- name: Run Test
run: yarn test

test-ui:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ui

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: yarn --ignore-scripts

- name: Audit
run: yarn audit --groups dependencies

- name: Build
run: yarn build
1 change: 0 additions & 1 deletion .github/workflows/subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main

jobs:

test-subgraph:
runs-on: ubuntu-latest

Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/ui.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: UI

on:
pull_request:
branches:
- main
- develop
paths:
- 'ui/**'

jobs:
test-ui:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ui

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: yarn --ignore-scripts

- name: Create .graphclient folder
run: yarn graphclient build

- name: Audit
run: yarn audit --groups dependencies

- name: Build
run: yarn build
14 changes: 14 additions & 0 deletions contracts/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
extends: ['../.eslintrc.js'],
rules: {
'no-undef': 'off',
},
overrides: [
{
files: ['**/*.js'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
},
],
};
Loading

0 comments on commit e8468b8

Please sign in to comment.