Skip to content

Commit f883f2a

Browse files
committed
feat: first release
1 parent 906e622 commit f883f2a

24 files changed

+2970
-2
lines changed

.github/workflows/release.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
- "next"
8+
9+
env:
10+
HUSKY: 0
11+
CI: true
12+
13+
jobs:
14+
release:
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: actions/setup-node@v4
21+
with:
22+
cache: "yarn"
23+
node-version-file: ".nvmrc"
24+
25+
- name: Install Foundry
26+
uses: foundry-rs/foundry-toolchain@v1
27+
28+
- name: Install dependencies
29+
run: |
30+
yarn install --frozen-lockfile
31+
32+
- name: Build
33+
run: |
34+
yarn build
35+
36+
- name: Semantic Release
37+
uses: cycjimmy/semantic-release-action@v4
38+
env:
39+
GITHUB_TOKEN: ${{ github.token }}
40+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.history
2+
.idea
3+
4+
/abi
5+
/artifacts
6+
/build
7+
/cache
8+
/dist
9+
/forge-out
10+
/node_modules
11+
/out
12+
/typechain
13+
/types
14+
coverage*
15+
16+
.env
17+
.env.local
18+
19+
.eslint.local.json
20+
.eslintcache
21+
22+
.verifier*
23+
24+
.DS_Store
25+
*.log

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "lib/forge-std"]
2+
path = lib/forge-std
3+
url = https://github.com/foundry-rs/forge-std

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

.releaserc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"branches": [
3+
{
4+
"name": "main"
5+
},
6+
{
7+
"name": "next",
8+
"channel": "next",
9+
"prerelease": "next"
10+
}
11+
],
12+
"plugins": [
13+
"@semantic-release/commit-analyzer",
14+
"@semantic-release/release-notes-generator",
15+
"@semantic-release/npm",
16+
"@semantic-release/github"
17+
]
18+
}

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"esbenp.prettier-vscode",
4+
"nomicfoundation.hardhat-solidity",
5+
"dbaeumer.vscode-eslint"
6+
]
7+
}

.vscode/settings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"[json]": {
3+
"editor.defaultFormatter": "esbenp.prettier-vscode"
4+
},
5+
"[solidity]": {
6+
"editor.defaultFormatter": "JuanBlanco.solidity"
7+
},
8+
"editor.defaultFormatter": "esbenp.prettier-vscode",
9+
"editor.formatOnSave": true,
10+
"editor.tabSize": 2,
11+
"eslint.validate": ["javascript", "typescript"],
12+
"files.eol": "\n",
13+
"solidity.formatter": "prettier",
14+
"solidity.packageDefaultDependenciesContractsDirectory": "contracts",
15+
"solidity.packageDefaultDependenciesDirectory": "node_modules",
16+
"solidity.remappings": [
17+
"@chainlink/=node_modules/@chainlink/",
18+
"@ensdomains/=node_modules/@ensdomains/",
19+
"@openzeppelin/=node_modules/@openzeppelin/contracts",
20+
"ds-test/=lib/ds-test/src/",
21+
"hardhat/=node_modules/hardhat/"
22+
]
23+
}

0 commit comments

Comments
 (0)