diff --git a/build/bin/build-components.js b/build/bin/build-components.js index 5eb773e88..40e6c160a 100644 --- a/build/bin/build-components.js +++ b/build/bin/build-components.js @@ -1,6 +1,6 @@ const fs = require('fs-extra'); const path = require('path'); -const compileVue = require('./compile-vue'); +const compiler = require('./sfc-compiler'); const libDir = path.resolve(__dirname, '../../lib'); const srcDir = path.resolve(__dirname, '../../packages'); require('shelljs/global'); @@ -27,7 +27,7 @@ function compileVueFiles(dir) { const outputVuePath = absolutePath + '.js'; const outputJsPath = absolutePath.replace('.vue', '.js'); const output = fs.existsSync(outputJsPath) ? outputVuePath : outputJsPath; - fs.outputFileSync(output, compileVue(source)); + fs.outputFileSync(output, compiler(source)); } }); } diff --git a/build/bin/compile-vue.js b/build/bin/sfc-compiler.js similarity index 100% rename from build/bin/compile-vue.js rename to build/bin/sfc-compiler.js diff --git a/packages/actionsheet/CHANGELOG.md b/packages/actionsheet/CHANGELOG.md deleted file mode 100644 index e88c472b3..000000000 --- a/packages/actionsheet/CHANGELOG.md +++ /dev/null @@ -1,8 +0,0 @@ -## 0.0.2 (2017-01-20) - -* 改了bug A -* 加了功能B - -## 0.0.1 (2017-01-10) - -* 第一版 diff --git a/packages/actionsheet/README.md b/packages/actionsheet/README.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/packages/actionsheet/package.json b/packages/actionsheet/package.json deleted file mode 100644 index 7dbfa2900..000000000 --- a/packages/actionsheet/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "<%= name %>", - "version": "<%= version %>", - "description": "<%= description %>", - "main": "./lib/index.js", - "author": "<%= author %>", - "license": "<%= license %>", - "devDependencies": {}, - "dependencies": {} -} diff --git a/packages/actionsheet/src/actionsheet.vue b/packages/actionsheet/src/actionsheet.vue index a2544e129..cfd6ffb4a 100644 --- a/packages/actionsheet/src/actionsheet.vue +++ b/packages/actionsheet/src/actionsheet.vue @@ -34,9 +34,9 @@