Skip to content

Commit 6e1328f

Browse files
authored
Scaffolding for xc-admin (new crosschain admin tool) (#457)
* First commit * Add typescript * Add tsconfig
1 parent 2a0350b commit 6e1328f

File tree

6 files changed

+50
-0
lines changed

6 files changed

+50
-0
lines changed

xc-admin/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

xc-admin/lerna.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3+
"useWorkspaces": true,
4+
"version": "0.0.0"
5+
}

xc-admin/package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "xc-admin",
3+
"private": true,
4+
"workspaces": [
5+
"packages/*"
6+
],
7+
"devDependencies": {
8+
"lerna": "^6.3.0"
9+
}
10+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "xc-admin-common",
3+
"version": "0.0.0",
4+
"description": "",
5+
"author": "",
6+
"homepage": "https://github.com/pyth-network/pyth-crosschain",
7+
"license": "ISC",
8+
"main": "src/index.ts",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/pyth-network/pyth-crosschain.git"
12+
},
13+
"bugs": {
14+
"url": "https://github.com/pyth-network/pyth-crosschain/issues"
15+
},
16+
"dependencies": {
17+
"typescript": "^4.9.4"
18+
}
19+
}

xc-admin/packages/xc-admin-common/src/index.ts

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"compilerOptions": {
3+
"declaration": true,
4+
"target": "es2016",
5+
"module": "commonjs",
6+
"outDir": "lib",
7+
"esModuleInterop": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"strict": true,
10+
"skipLibCheck": true,
11+
"resolveJsonModule": true,
12+
"noErrorTruncation": true
13+
},
14+
"include": ["src/**/*.ts"]
15+
}

0 commit comments

Comments
 (0)