From fed24f6ff3bae1cf8893015f6aa4163e1ee16016 Mon Sep 17 00:00:00 2001 From: Lawrence Wang Date: Fri, 10 Jan 2020 16:52:15 -0800 Subject: [PATCH] dai-plugin-governance-v0.8.1 --- .../dai-plugin-governance/babel.config.js | 23 +------------------ packages/dai-plugin-governance/package.json | 5 ++-- 2 files changed, 4 insertions(+), 24 deletions(-) mode change 100644 => 120000 packages/dai-plugin-governance/babel.config.js diff --git a/packages/dai-plugin-governance/babel.config.js b/packages/dai-plugin-governance/babel.config.js deleted file mode 100644 index 374dbaa2f..000000000 --- a/packages/dai-plugin-governance/babel.config.js +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = function(api) { - api.cache(true); - - const presets = ['@babel/preset-env']; - const plugins = [ - ['@babel/plugin-proposal-decorators', { legacy: true }], - '@babel/plugin-proposal-function-sent', - '@babel/plugin-proposal-export-namespace-from', - '@babel/plugin-proposal-numeric-separator', - '@babel/plugin-proposal-throw-expressions', - '@babel/plugin-proposal-class-properties', - '@babel/plugin-transform-runtime' - ]; - - const babelrcRoots = ['.', './lib/*']; - - return { - presets, - plugins, - babelrcRoots - }; -}; diff --git a/packages/dai-plugin-governance/babel.config.js b/packages/dai-plugin-governance/babel.config.js new file mode 120000 index 000000000..426aaf31b --- /dev/null +++ b/packages/dai-plugin-governance/babel.config.js @@ -0,0 +1 @@ +../../babel.config.js \ No newline at end of file diff --git a/packages/dai-plugin-governance/package.json b/packages/dai-plugin-governance/package.json index a4679e4a9..a63f1b02b 100644 --- a/packages/dai-plugin-governance/package.json +++ b/packages/dai-plugin-governance/package.json @@ -1,7 +1,7 @@ { "name": "@makerdao/dai-plugin-governance", "description": "A dai.js plugin for adding MKR governance support to dapps.", - "version": "0.8.0", + "version": "0.8.1", "license": "MIT", "repository": { "type": "git", @@ -16,7 +16,8 @@ "web3-utils": "^1.0.0-beta.36" }, "scripts": { - "build": "./scripts/build.sh", + "build": "../../scripts/build.sh", + "prepublishOnly": "yarn build", "testchain": "../../scripts/run-testchain.sh", "test": "yarn testchain --ci jest --runInBand --config ./test/config/jestTestchainConfigOriginal.json", "test:integration": "jest --runInBand --config ./test/config/jestIntegrationConfig.json"