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
44d56278
Unverified
Commit
44d56278
authored
Sep 03, 2021
by
Annie Ke
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init: new regenesis-surgery package
parent
35aa1ff1
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
101 additions
and
0 deletions
+101
-0
.eslintrc.js
packages/regenesis-surgery/.eslintrc.js
+3
-0
.gitignore
packages/regenesis-surgery/.gitignore
+2
-0
.lintstagedrc.yml
packages/regenesis-surgery/.lintstagedrc.yml
+2
-0
.prettierrc.js
packages/regenesis-surgery/.prettierrc.js
+3
-0
LICENSE
packages/regenesis-surgery/LICENSE
+22
-0
README.md
packages/regenesis-surgery/README.md
+28
-0
package.json
packages/regenesis-surgery/package.json
+26
-0
tsconfig.build.json
packages/regenesis-surgery/tsconfig.build.json
+12
-0
tsconfig.json
packages/regenesis-surgery/tsconfig.json
+3
-0
No files found.
packages/regenesis-surgery/.eslintrc.js
0 → 100644
View file @
44d56278
module
.
exports
=
{
extends
:
'
../../.eslintrc.js
'
,
}
packages/regenesis-surgery/.gitignore
0 → 100644
View file @
44d56278
node_modules/
build/
\ No newline at end of file
packages/regenesis-surgery/.lintstagedrc.yml
0 → 100644
View file @
44d56278
"
*.{ts,js}"
:
-
eslint
packages/regenesis-surgery/.prettierrc.js
0 → 100644
View file @
44d56278
module
.
exports
=
{
...
require
(
'
../../.prettierrc.js
'
),
};
\ No newline at end of file
packages/regenesis-surgery/LICENSE
0 → 100644
View file @
44d56278
(The MIT License)
Copyright 2020-2021 Optimism
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
packages/regenesis-surgery/README.md
0 → 100644
View file @
44d56278
# @eth-optimism/regenesis-surgery
## What is this?
`regenesis-surgery`
contains a series of scripts and tests necessary to perform a regenesis on Optimistic Ethereum.
## Getting started
### Building and usage
After cloning and switching to the repository, install dependencies:
```
bash
$
yarn
```
Use the following commands to build, use, test, and lint:
```
bash
$
yarn build
$
yarn start
$
yarn
test
$
yarn lint
```
### Configuration
We're using
`dotenv`
for our configuration.
packages/regenesis-surgery/package.json
0 → 100644
View file @
44d56278
{
"name"
:
"@eth-optimism/regenesis-surgery"
,
"version"
:
"0.1.0"
,
"private"
:
true
,
"author"
:
"Optimism PBC"
,
"license"
:
"MIT"
,
"scripts"
:
{
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint ."
,
"build"
:
"tsc -p tsconfig.build.json"
,
"pre-commit"
:
"lint-staged"
},
"devDependencies"
:
{
"@types/node"
:
"^15.12.2"
,
"ts-mocha"
:
"^8.0.0"
,
"ts-node"
:
"^10.0.0"
,
"typescript"
:
"^4.3.2"
},
"dependencies"
:
{
"@eth-optimism/contracts"
:
"^0.4.10"
,
"dotenv"
:
"^10.0.0"
,
"ethers"
:
"^5.4.5"
}
}
packages/regenesis-surgery/tsconfig.build.json
0 → 100644
View file @
44d56278
{
"extends"
:
"../../tsconfig.build.json"
,
"compilerOptions"
:
{
"rootDir"
:
"./src"
,
"outDir"
:
"./dist"
},
"include"
:
[
"src/**/*"
]
}
packages/regenesis-surgery/tsconfig.json
0 → 100644
View file @
44d56278
{
"extends"
:
"../../tsconfig.json"
}
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