diff --git a/.eslintignore b/.eslintignore index 9af9000..1c1789c 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,5 @@ node_modules lib src/types -*.d.ts \ No newline at end of file +*.d.ts +src/dev/ \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index d13600f..bc907bc 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,4 +1,5 @@ node_modules lib src/types -README.md \ No newline at end of file +README.md +src/dev \ No newline at end of file diff --git a/package.json b/package.json index d820dfe..06a955d 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,11 @@ "version": "1.0.0", "description": "Gearbox Governance SDK", "main": "./lib/index.js", + "types": "./lib/index.d.ts", + "files": [ + "lib", + "contracts" + ], "scripts": { "clean": "rm -rf lib", "build": "tsc --p tsconfig.build.json", diff --git a/src/index.ts b/src/index.ts index e69de29..de4ea60 100644 --- a/src/index.ts +++ b/src/index.ts @@ -0,0 +1,12 @@ +export * from "./state/contractsRegister"; +export * from "./state/core"; +export * from "./state/creditManagerV3Config"; +export * from "./state/gaugeV3"; +export * from "./state/iConfigurator"; +export * from "./state/linearIRM"; +export * from "./state/poolQuotaKeeperV3"; +export * from "./state/poolV3"; +export * from "./state/poolV3Core"; +export * from "./state/priceOracleV3"; +export * from "./state/updatedValue"; +export * from "./tx-builders/index"; diff --git a/src/tx-builders/index.ts b/src/tx-builders/index.ts new file mode 100644 index 0000000..338154d --- /dev/null +++ b/src/tx-builders/index.ts @@ -0,0 +1,2 @@ +export * from "./credit-configurator/credit-configurator-v2"; +export * from "./price-oracle/price-oracle"; diff --git a/tsconfig.build.json b/tsconfig.build.json index 8c0f74b..fe9c619 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "exclude": ["**/*.spec.ts"] + "exclude": ["**/*.spec.ts", "./src/dev"] } diff --git a/tsconfig.json b/tsconfig.json index 7e45476..253aa7b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,5 +16,5 @@ "outDir": "./lib/" }, "include": ["src", "scripts"], - "exclude": ["node_modules", "lib"] + "exclude": ["node_modules", "lib", "src/dev"] }