From bad5279b33f3beb0679d2690e2464d0fd5f3b70e Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 29 Dec 2020 00:53:15 -0500 Subject: [PATCH] chore(plugin-vue): prepare for release --- packages/plugin-vue/LICENSE | 21 +++++++++++++++++++++ packages/plugin-vue/package.json | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 packages/plugin-vue/LICENSE diff --git a/packages/plugin-vue/LICENSE b/packages/plugin-vue/LICENSE new file mode 100644 index 00000000..b3d494d1 --- /dev/null +++ b/packages/plugin-vue/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019-present, Yuxi (Evan) You and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/plugin-vue/package.json b/packages/plugin-vue/package.json index 4dabc065..464723d6 100644 --- a/packages/plugin-vue/package.json +++ b/packages/plugin-vue/package.json @@ -11,7 +11,8 @@ "dev": "tsc -p . -w --incremental", "build": "rimraf dist && run-s build-bundle build-types", "build-bundle": "esbuild src/index.ts --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --outfile=dist/index.js", - "build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp" + "build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp", + "prepublishOnly": "yarn build" }, "engines": { "node": ">=12.0.0"