aboutsummaryrefslogtreecommitdiffstats
path: root/packages/forwarder-helper/src
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-08-16 05:13:07 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-08-23 06:39:03 +0800
commitdd9c4b6e5d0f10bdaaae61f40bdf017e83e5f606 (patch)
tree8e711a77d49f8eac85570086d1d8eff7b1af99b9 /packages/forwarder-helper/src
parente915d72202f66155e74e22cf7df66d37e726f38f (diff)
downloaddexon-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')
-rw-r--r--packages/forwarder-helper/src/forwarder_helper_impl.ts0
-rw-r--r--packages/forwarder-helper/src/globals.d.ts6
-rw-r--r--packages/forwarder-helper/src/index.ts0
-rw-r--r--packages/forwarder-helper/src/monorepo_scripts/postpublish.ts8
-rw-r--r--packages/forwarder-helper/src/monorepo_scripts/stage_docs.ts8
-rw-r--r--packages/forwarder-helper/src/types.ts0
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