-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from argentlabs/feat/first-impl
Feat/first impl
- Loading branch information
Showing
36 changed files
with
2,606 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### Issue / feature description | ||
|
||
`Quick description of the issue or the feature that is implemented in the pr ie: add new transitions between screens` | ||
|
||
### Changes | ||
|
||
`quick list regarding the related changes within the pr` | ||
|
||
ie: | ||
|
||
- add new transaction transformer | ||
- add new ui | ||
|
||
### Checklist | ||
|
||
- [ ] Rebased to the last commit of the target branch (or merged) | ||
- [ ] Code self-reviewed | ||
- [ ] Code self-tested | ||
- [ ] Tests updated (if needed) | ||
- [ ] All tests are passing locally | ||
|
||
Please keep your pull request as small as possible. If you need to make multiple changes, please create separate pull requests for each change. Create a draft pull request if you need early feedback. This will mark the pull request as a work in progress and prevent it from being reviewed or merged until you are ready. | ||
|
||
Please move drafts to the ready for review (regular PR) when you are ready to start the review process and other developers will pick it up from there. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Build and run tests | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: pnpm/action-setup@v4 | ||
name: Install pnpm | ||
with: | ||
# version: 9 | ||
run_install: false | ||
|
||
- name: Get pnpm store directory | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||
- uses: actions/cache@v4 | ||
name: Setup pnpm cache | ||
with: | ||
path: ${{ env.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
- name: Install dependencies | ||
run: pnpm install | ||
- name: Build demo-dapp-starknet | ||
run: pnpm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pnpm lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
extends: ["@commitlint/config-conventional"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,33 +2,46 @@ | |
"name": "demo-dapp-starknet", | ||
"version": "0.1.0", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "20.x" | ||
}, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"test": "playwright test", | ||
"test:headed": "playwright test --headed", | ||
"test:ui": "playwright test --ui" | ||
"test:ui": "playwright test --ui", | ||
"prepare": "husky" | ||
}, | ||
"dependencies": { | ||
"@starknet-react/chains": "^3.0.6", | ||
"@starknet-react/core": "^3.4.1", | ||
"@starknet-react/chains": "^3.1.0", | ||
"@starknet-react/core": "^3.5.0", | ||
"next": "15.0.2", | ||
"react": "19.0.0-rc-02c0e824-20241028", | ||
"react-dom": "19.0.0-rc-02c0e824-20241028", | ||
"starknet": "^6.11.0", | ||
"starknetkit": "^2.3.3" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^19.5.0", | ||
"@commitlint/config-conventional": "^19.5.0", | ||
"@playwright/test": "^1.48.2", | ||
"@starknet-io/types-js": "^0.7.7", | ||
"@types/node": "^20", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18", | ||
"eslint": "^8", | ||
"eslint-config-next": "15.0.2", | ||
"husky": "^9.1.6", | ||
"lint-staged": "^15.2.10", | ||
"prettier": "^3.3.3", | ||
"typescript": "^5" | ||
}, | ||
"lint-staged": { | ||
"*.{js,jsx,ts,tsx,css,md,yml,json}": "prettier --write", | ||
"*.{ts,tsx}": "eslint --cache --ext .ts,.tsx" | ||
} | ||
} |
Oops, something went wrong.