Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/legal-bananas-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nomicfoundation/hardhat-zod-utils": patch
---

Fix typo in default error message [#8028](https://github.com/NomicFoundation/hardhat/pull/8028)
5 changes: 5 additions & 0 deletions .changeset/mean-sloths-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"hardhat": patch
---

Fix typo in assertion message [#8028](https://github.com/NomicFoundation/hardhat/pull/8028)
5 changes: 0 additions & 5 deletions .cspell.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
}
}`;
const vars = { owner: context.repo.owner, repo: context.repo.repo, number: Number(number) };
const qres = await github.graphql(query, vars);
const pr = qres.repository.pullRequest;
const res = await github.graphql(query, vars);
const pr = res.repository.pullRequest;
if (pr.isDraft) return { already: true };

// 2) Convert to draft
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ jobs:
steps:
- uses: actions/checkout@v5

- uses: streetsidesoftware/cspell-action@v7
- uses: pnpm/action-setup@v4
Comment thread
alcuadrado marked this conversation as resolved.

- uses: actions/setup-node@v4
with:
incremental_files_only: ${{ github.event_name == 'pull_request' }}
config: cspell.yaml
report: typos
node-version: 24
cache: pnpm

- run: pnpm install --frozen-lockfile --prefer-offline

- run: pnpm spellcheck
35 changes: 35 additions & 0 deletions cspell.config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { defineConfig } from "cspell";

export default defineConfig({
version: "0.2",
language: "en",
files: [
"*.{js,ts,md,json,yml,yaml,mjs,cjs,mts,cts}",
"{.github,scripts,v-next}/**/*.{js,ts,md,json,yml,yaml,mjs,cjs,mts,cts}",
],
ignoreRandomStrings: true,
allowCompoundWords: true,
dictionaryDefinitions: [
{
name: "project-dictionary",
path: "./cspell.dictionary.txt",
addWords: true,
},
],
dictionaries: ["project-dictionary"],
ignorePaths: [
"pnpm-lock.yaml",
"node_modules",
"v-next/*/node_modules",
"v-next/*/dist",
"v-next/*/CHANGELOG.md",
".github/config/regression-tests.yml",
"v-next/hardhat-vendored/{src,test}/**/*",
"**/vendored/**/*",
"**/vendor/**/*",
"**/coverage/html/**/*",
"**/artifacts/**/*.json",
"**/artifacts/**/*.d.ts",
"**/build-info/**/*",
],
});
147 changes: 147 additions & 0 deletions cspell.dictionary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
abicoder
Abicoder
accum
addy
anonymization
APDU
arrayified
authorizationify
behaviour
besu
Besu
blinenums
BRDA
bunx
cbor
CBOR
cbranch
Ccip
chainid
CHAINID
choco
concisify
createx
cstat
cwrap
Dedominici
dedup
defi
Defi
dessant
distros
DISTROS
dorny
dsari
dtolnay
elif
enero
esac
esbuild
EXLOCK
fgrep
fqns
Fqns
FQNs
gcda
hdkey
hdpath
heco
hexlify
hoodi
Hoodi
Impls
initialise
Initialisation
interruptor
Interruptor
Ints
journaled
Journaled
Jsons
kanej
keccak
Keccak
klass
Ksync
ledgerhq
libudev
linea
Linea
linearization
linenums
Listify
moreutils
mprv
msvc
myfun
mykey
mylib
mylock
napi
niño
NFKC
Nomic
nomiclabs
normalise
NOTOK
Numberish
onuncaughtexception
perché
perché
popd
PREVRANDAO
pushd
randao
Randao
recompiles
reconciliable
reconiliation
reserialized
sarasa
schaable
sokol
solcjs
SOLCJS
sourcify
Sourcify
SOURCIFY
ssfi
Ssfi
stringifying
substituters
supath
synthetix
Synthetix
triaging
tset
txts
ufixed
Uints
Uncontended
unidici
unmined
unpad
unpadded
unparseable
Unpayable
unreconciliable
unrs
Unstarted
UNSTARTED
verbosities
Vercel
VERCEL
viem
Viem
VIEM
visualising
WAAIT
withargs
wordz
xdai
yalc
Yalc
zkevm
zksync
zoey
zora
4 changes: 0 additions & 4 deletions cspell.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"packageManager": "pnpm@10.28.2",
"devDependencies": {
"@changesets/cli": "^2.16.0",
"cspell": "9.7.0",
"typescript": "~5.8.0"
},
"scripts": {
Expand All @@ -18,7 +19,8 @@
"lint": "pnpm run --recursive --if-present lint",
"prelint:fix": "pnpm build",
"lint:fix": "pnpm run --recursive --if-present lint:fix",
"version-for-release": "pnpm changeset version && node scripts/bump-peers.mjs apply && pnpm -w install --lockfile-only"
"version-for-release": "pnpm changeset version && node scripts/bump-peers.mjs apply && pnpm -w install --lockfile-only",
"spellcheck": "cspell --no-progress || (echo \"\\n\\n==== cspell failed ===\\n\\nIf you think a word is correctly spelled, please add it to cspell.dictionary.txt\\nTo ignore a word use the comments 'cSpell:ignore wooord' or 'cspell:disable-next-line'\"; exit 1)"
},
"pnpm": {
"onlyBuiltDependencies": [
Expand Down
Loading