diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-16 05:13:07 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-23 06:39:03 +0800 |
commit | dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606 (patch) | |
tree | 8e711a77d49f8eac85570086d1d8eff7b1af99b9 /packages/forwarder-helper/src | |
parent | e915d72202f66155e74e22cf7df66d37e726f38f (diff) | |
download | dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.gz dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.bz2 dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.lz dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.xz dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.tar.zst dexon-sol-tools-dd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606.zip |
Initial skeleton of forwarder-helper package
Diffstat (limited to 'packages/forwarder-helper/src')
6 files changed, 22 insertions, 0 deletions
diff --git a/packages/forwarder-helper/src/forwarder_helper_impl.ts b/packages/forwarder-helper/src/forwarder_helper_impl.ts new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/packages/forwarder-helper/src/forwarder_helper_impl.ts diff --git a/packages/forwarder-helper/src/globals.d.ts b/packages/forwarder-helper/src/globals.d.ts new file mode 100644 index 000000000..94e63a32d --- /dev/null +++ b/packages/forwarder-helper/src/globals.d.ts @@ -0,0 +1,6 @@ +declare module '*.json' { + const json: any; + /* tslint:disable */ + export default json; + /* tslint:enable */ +} diff --git a/packages/forwarder-helper/src/index.ts b/packages/forwarder-helper/src/index.ts new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/packages/forwarder-helper/src/index.ts diff --git a/packages/forwarder-helper/src/monorepo_scripts/postpublish.ts b/packages/forwarder-helper/src/monorepo_scripts/postpublish.ts new file mode 100644 index 000000000..dcb99d0f7 --- /dev/null +++ b/packages/forwarder-helper/src/monorepo_scripts/postpublish.ts @@ -0,0 +1,8 @@ +import { postpublishUtils } from '@0xproject/monorepo-scripts'; + +import * as packageJSON from '../package.json'; +import * as tsConfigJSON from '../tsconfig.json'; + +const cwd = `${__dirname}/..`; +// tslint:disable-next-line:no-floating-promises +postpublishUtils.runAsync(packageJSON, tsConfigJSON, cwd); diff --git a/packages/forwarder-helper/src/monorepo_scripts/stage_docs.ts b/packages/forwarder-helper/src/monorepo_scripts/stage_docs.ts new file mode 100644 index 000000000..e732ac8eb --- /dev/null +++ b/packages/forwarder-helper/src/monorepo_scripts/stage_docs.ts @@ -0,0 +1,8 @@ +import { postpublishUtils } from '@0xproject/monorepo-scripts'; + +import * as packageJSON from '../package.json'; +import * as tsConfigJSON from '../tsconfig.json'; + +const cwd = `${__dirname}/..`; +// tslint:disable-next-line:no-floating-promises +postpublishUtils.publishDocsToStagingAsync(packageJSON, tsConfigJSON, cwd); diff --git a/packages/forwarder-helper/src/types.ts b/packages/forwarder-helper/src/types.ts new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/packages/forwarder-helper/src/types.ts |