Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
3fdccd9e
Commit
3fdccd9e
authored
Jun 01, 2022
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contracts: clean up package
parent
565ad927
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
28 deletions
+19
-28
.depcheckrc
packages/contracts/.depcheckrc
+10
-0
hardhat.config.ts
packages/contracts/hardhat.config.ts
+1
-1
package.json
packages/contracts/package.json
+2
-13
tsconfig.build.json
packages/contracts/tsconfig.build.json
+0
-12
tsconfig.json
packages/contracts/tsconfig.json
+6
-2
No files found.
packages/contracts/.depcheckrc
View file @
3fdccd9e
...
@@ -7,4 +7,14 @@ ignores: [
...
@@ -7,4 +7,14 @@ ignores: [
"prettier-plugin-solidity",
"prettier-plugin-solidity",
"solhint-plugin-prettier",
"solhint-plugin-prettier",
"ts-generator",
"ts-generator",
"@babel/eslint-parser",
"@typescript-eslint/parser",
"eslint-plugin-import",
"eslint-plugin-unicorn",
"eslint-plugin-jsdoc",
"eslint-plugin-prefer-arrow",
"eslint-plugin-react",
"@typescript-eslint/eslint-plugin",
"eslint-config-prettier",
"eslint-plugin-prettier"
]
]
packages/contracts/hardhat.config.ts
View file @
3fdccd9e
...
@@ -22,7 +22,7 @@ const enableGasReport = !!process.env.ENABLE_GAS_REPORT
...
@@ -22,7 +22,7 @@ const enableGasReport = !!process.env.ENABLE_GAS_REPORT
const
privateKey
=
process
.
env
.
PRIVATE_KEY
||
'
0x
'
+
'
11
'
.
repeat
(
32
)
// this is to avoid hardhat error
const
privateKey
=
process
.
env
.
PRIVATE_KEY
||
'
0x
'
+
'
11
'
.
repeat
(
32
)
// this is to avoid hardhat error
const
deploy
=
process
.
env
.
DEPLOY_DIRECTORY
||
'
deploy
'
const
deploy
=
process
.
env
.
DEPLOY_DIRECTORY
||
'
deploy
'
const
config
:
HardhatUserConfig
=
{
const
config
:
HardhatUserConfig
|
any
=
{
networks
:
{
networks
:
{
hardhat
:
{
hardhat
:
{
live
:
false
,
live
:
false
,
...
...
packages/contracts/package.json
View file @
3fdccd9e
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
],
],
"scripts"
:
{
"scripts"
:
{
"build"
:
"yarn build:contracts && yarn autogen:artifacts && yarn build:typescript"
,
"build"
:
"yarn build:contracts && yarn autogen:artifacts && yarn build:typescript"
,
"build:typescript"
:
"tsc -p ./tsconfig.
build.
json"
,
"build:typescript"
:
"tsc -p ./tsconfig.json"
,
"build:contracts"
:
"hardhat compile --show-stack-traces"
,
"build:contracts"
:
"hardhat compile --show-stack-traces"
,
"autogen:markdown"
:
"ts-node scripts/generate-markdown.ts"
,
"autogen:markdown"
:
"ts-node scripts/generate-markdown.ts"
,
"autogen:artifacts"
:
"ts-node scripts/generate-artifacts.ts && ts-node scripts/generate-deployed-artifacts.ts"
,
"autogen:artifacts"
:
"ts-node scripts/generate-artifacts.ts && ts-node scripts/generate-deployed-artifacts.ts"
,
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
"lint:contracts:fix"
:
"yarn prettier --write 'contracts/**/*.sol'"
,
"lint:contracts:fix"
:
"yarn prettier --write 'contracts/**/*.sol'"
,
"lint:fix"
:
"yarn lint:contracts:fix && yarn lint:ts:fix"
,
"lint:fix"
:
"yarn lint:contracts:fix && yarn lint:ts:fix"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"clean"
:
"rm -rf ./dist ./artifacts ./cache ./coverage ./tsconfig.
build.
tsbuildinfo"
,
"clean"
:
"rm -rf ./dist ./artifacts ./cache ./coverage ./tsconfig.tsbuildinfo"
,
"prepublishOnly"
:
"yarn copyfiles -u 1 -e
\"
**/test-*/**/*
\"
\"
contracts/**/*
\"
./"
,
"prepublishOnly"
:
"yarn copyfiles -u 1 -e
\"
**/test-*/**/*
\"
\"
contracts/**/*
\"
./"
,
"postpublish"
:
"rimraf chugsplash L1 L2 libraries standards"
,
"postpublish"
:
"rimraf chugsplash L1 L2 libraries standards"
,
"prepack"
:
"yarn prepublishOnly"
,
"prepack"
:
"yarn prepublishOnly"
,
...
@@ -82,21 +82,10 @@
...
@@ -82,21 +82,10 @@
"@types/mkdirp"
:
"^1.0.1"
,
"@types/mkdirp"
:
"^1.0.1"
,
"@types/mocha"
:
"^8.2.2"
,
"@types/mocha"
:
"^8.2.2"
,
"@types/node"
:
"^17.0.21"
,
"@types/node"
:
"^17.0.21"
,
"@typescript-eslint/eslint-plugin"
:
"^4.26.0"
,
"@typescript-eslint/parser"
:
"^4.26.0"
,
"babel-eslint"
:
"^10.1.0"
,
"chai"
:
"^4.3.4"
,
"chai"
:
"^4.3.4"
,
"copyfiles"
:
"^2.3.0"
,
"copyfiles"
:
"^2.3.0"
,
"directory-tree"
:
"^2.2.7"
,
"directory-tree"
:
"^2.2.7"
,
"dotenv"
:
"^10.0.0"
,
"dotenv"
:
"^10.0.0"
,
"eslint"
:
"^7.27.0"
,
"eslint-config-prettier"
:
"^8.3.0"
,
"eslint-plugin-import"
:
"^2.23.4"
,
"eslint-plugin-jsdoc"
:
"^35.1.2"
,
"eslint-plugin-prefer-arrow"
:
"^1.2.3"
,
"eslint-plugin-prettier"
:
"^3.4.0"
,
"eslint-plugin-react"
:
"^7.24.0"
,
"eslint-plugin-unicorn"
:
"^32.0.1"
,
"ethereum-waffle"
:
"^3.3.0"
,
"ethereum-waffle"
:
"^3.3.0"
,
"ethers"
:
"^5.6.8"
,
"ethers"
:
"^5.6.8"
,
"glob"
:
"^7.1.6"
,
"glob"
:
"^7.1.6"
,
...
...
packages/contracts/tsconfig.build.json
deleted
100644 → 0
View file @
565ad927
{
"extends"
:
"../../tsconfig.build.json"
,
"compilerOptions"
:
{
"rootDir"
:
"./src"
,
"outDir"
:
"./dist"
},
"include"
:
[
"src/**/*"
]
}
packages/contracts/tsconfig.json
View file @
3fdccd9e
{
{
"extends"
:
"../../tsconfig.json"
,
"extends"
:
"../../tsconfig.json"
,
"compilerOptions"
:
{
"compilerOptions"
:
{
"resolveJsonModule"
:
true
,
"rootDir"
:
"./src"
,
}
"outDir"
:
"./dist"
},
"include"
:
[
"src/**/*"
]
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment