-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(profile-upload): alpha version of image upload
chore(cleanup): fix unfinished renaming chore(types): workaround ipfs-http-client problem ipfs/js-ipfs#3839 chore(types): added more types for the upload feature chore(upload): small code cleanup, do not throw on wrong file input chore(jest): switch to jest chore(ci): fix build chore(ci): fix caching on ci chore(uploader): tests, wip chore(cleanup): wrap up alpha version of image upload
- Loading branch information
Showing
22 changed files
with
26,171 additions
and
11,684 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 |
---|---|---|
@@ -1,40 +1,44 @@ | ||
{ | ||
"version": "0.1", | ||
"$schema": "https://github.com/raw/streetsidesoftware/cspell/master/cspell.schema.json", | ||
"language": "en", | ||
"words": [ | ||
"bitauth", | ||
"bitjson", | ||
"bytecode", | ||
"cimg", | ||
"circleci", | ||
"codecov", | ||
"commitlint", | ||
"dependabot", | ||
"editorconfig", | ||
"esnext", | ||
"execa", | ||
"exponentiate", | ||
"globby", | ||
"ifps", | ||
"ipfs", | ||
"Keccak", | ||
"libauth", | ||
"mkdir", | ||
"prettierignore", | ||
"sandboxed", | ||
"submodules", | ||
"transpiled", | ||
"Typechain", | ||
"typedoc", | ||
"untracked" | ||
], | ||
"flagWords": [], | ||
"ignorePaths": [ | ||
"package.json", | ||
"package-lock.json", | ||
"yarn.lock", | ||
"tsconfig.json", | ||
"node_modules/**" | ||
] | ||
} | ||
"version": "0.2", | ||
"$schema": "https://github.com/raw/streetsidesoftware/cspell/master/cspell.schema.json", | ||
"language": "en", | ||
"words": [ | ||
"bitauth", | ||
"bitjson", | ||
"bytecode", | ||
"cimg", | ||
"circleci", | ||
"codecov", | ||
"commitlint", | ||
"dependabot", | ||
"editorconfig", | ||
"esnext", | ||
"execa", | ||
"exponentiate", | ||
"globby", | ||
"ifps", | ||
"ipfs", | ||
"Keccak", | ||
"libauth", | ||
"mkdir", | ||
"prettierignore", | ||
"sandboxed", | ||
"submodules", | ||
"transpiled", | ||
"Typechain", | ||
"typedoc", | ||
"testenv", | ||
"untracked", | ||
"prepend", | ||
"nomiclabs", | ||
"esbuild" | ||
], | ||
"flagWords": [], | ||
"ignorePaths": [ | ||
"package.json", | ||
"package-lock.json", | ||
"yarn.lock", | ||
"tsconfig.json", | ||
"node_modules/**" | ||
] | ||
} |
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
This file was deleted.
Oops, something went wrong.
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,43 @@ | ||
const { ethers } = require('hardhat/register'); | ||
|
||
module.exports = async () => { | ||
return { | ||
roots: ['<rootDir>'], | ||
transform: { | ||
'^.+\\.tsx?$': [ | ||
'esbuild-jest', | ||
{ | ||
sourcemap: true, | ||
loaders: { | ||
'.spec.ts': 'ts', | ||
}, | ||
}, | ||
], | ||
}, | ||
globals: { | ||
ethers, | ||
}, | ||
collectCoverageFrom: ['src/**/*.ts'], | ||
coveragePathIgnorePatterns: [ | ||
'node_modules', | ||
'interfaces', | ||
'<rootDir>/src/index.ts', | ||
'.mock.ts', | ||
], | ||
coverageDirectory: '<rootDir>/coverage/', | ||
coverageThreshold: { | ||
global: { | ||
branches: 40, | ||
functions: 30, | ||
lines: 50, | ||
statements: 50, | ||
}, | ||
}, | ||
logHeapUsage: true, | ||
testEnvironment: 'node', | ||
setupFilesAfterEnv: ['./jest.setup.ts'], | ||
maxWorkers: '50%', | ||
maxConcurrency: 10, | ||
reporters: ['default'], | ||
}; | ||
}; |
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,4 @@ | ||
import { waffleJest } from '@ethereum-waffle/jest'; | ||
|
||
jest.setTimeout(10000); | ||
expect.extend(waffleJest); |
Oops, something went wrong.