Skip to content

Commit cacba54

Browse files
committed
chore: clean up pkg json and ci
1 parent 6f5e84a commit cacba54

File tree

2 files changed

+37
-34
lines changed

2 files changed

+37
-34
lines changed

.github/workflows/ci.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
on:
2-
- push
3-
- pull_request
2+
workflow_dispatch:
3+
push:
4+
branches:
5+
- "main"
6+
pull_request:
47

58
jobs:
69
lint:

package.json

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
{
22
"name": "@rhinestone/registry",
3+
"version": "1.0.0",
34
"description": "Attestation Registry for securely using Smart Account Modules",
45
"license": "GPL-3.0",
5-
"version": "1.0.0",
66
"author": {
77
"name": "Rhinestone",
88
"url": "https://rhinestone.wtf"
99
},
10-
"bugs": {
11-
"url": "https://github.com/rhinestonewtf/registry/issues"
10+
"scripts": {
11+
"build": "forge build",
12+
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
13+
"build:smt": "FOUNDRY_PROFILE=smt forge build",
14+
"clean": "rm -rf artifacts broadcast cache docs out out-optimized out-svg",
15+
"gas:report": "forge test --gas-report --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"",
16+
"gas:snapshot": "forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"",
17+
"gas:snapshot:optimized": "pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fork)?(Fuzz)?_RevertWhen_\\w{1,}?\"",
18+
"lint:sol": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
19+
"prepack": "pnpm install",
20+
"test": "forge test",
21+
"test:lite": "FOUNDRY_PROFILE=lite forge test",
22+
"test:optimized": "pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge test",
23+
"build:docs": "forge doc && cd ./docs && rm -rf ./src/src/DataTypes.sol; mdbook build && cd ..",
24+
"natspec": "natspec-smells",
25+
"spellcheck": "cspell '**'"
1226
},
1327
"dependencies": {
1428
"@openzeppelin/contracts": "5.0.1"
@@ -20,43 +34,29 @@
2034
"forge-std": "github:foundry-rs/forge-std#v1.7.6",
2135
"solady": "github:vectorized/solady#9deb9ed36a27261a8745db5b7cd7f4cdc3b1cd4e",
2236
"solhint": "^4.5.2",
23-
"solmate": "github:transmissions11/solmate#c892309933b25c03d32b1b0d674df7ae292ba925"
37+
"solmate": "github:transmissions11/solmate#c892309933b25c03d32b1b0d674df7ae292ba925",
38+
"@rhinestone/erc4337-validation": "github:rhinestonewtf/erc4337-validation"
2439
},
2540
"files": [
26-
"artifacts",
2741
"src",
28-
"test/utils",
29-
"CHANGELOG.md",
30-
"LICENSE-GPL.md"
42+
"foundry.toml",
43+
"remappings.txt"
3144
],
3245
"homepage": "https://github.com/rhinestonewtf/registry/#readme",
46+
"repository": {
47+
"type": "git",
48+
"url": "https://github.com/rhinestonewtf/registry.git"
49+
},
50+
"bugs": {
51+
"url": "https://github.com/rhinestonewtf/registry/issues"
52+
},
3353
"keywords": [
34-
"blockchain",
35-
"ethereum",
36-
"foundry",
37-
"smart-contracts",
38-
"solidity",
39-
"web3"
54+
"account abstraction",
55+
"smart account modules",
56+
"registry",
57+
"smart account security"
4058
],
4159
"publishConfig": {
4260
"access": "public"
43-
},
44-
"repository": "github:rhinestonewtf/registry",
45-
"scripts": {
46-
"build": "forge build",
47-
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
48-
"build:smt": "FOUNDRY_PROFILE=smt forge build",
49-
"clean": "rm -rf artifacts broadcast cache docs out out-optimized out-svg",
50-
"gas:report": "forge test --gas-report --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"",
51-
"gas:snapshot": "forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"",
52-
"gas:snapshot:optimized": "pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fork)?(Fuzz)?_RevertWhen_\\w{1,}?\"",
53-
"lint:sol": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
54-
"prepack": "pnpm install",
55-
"test": "forge test",
56-
"test:lite": "FOUNDRY_PROFILE=lite forge test",
57-
"test:optimized": "pnpm run build:optimized && FOUNDRY_PROFILE=test-optimized forge test",
58-
"build:docs": "forge doc && cd ./docs && rm -rf ./src/src/DataTypes.sol; mdbook build && cd ..",
59-
"natspec": "natspec-smells",
60-
"spellcheck": "cspell '**'"
6161
}
6262
}

0 commit comments

Comments
 (0)