From: Eduardo San Martin Morote Date: Tue, 17 Aug 2021 17:35:11 +0000 (+0200) Subject: build: copy license file X-Git-Tag: @pinia/nuxt@0.0.1~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c995aa11369e486fb9a0afb333de5b7bd521a698;p=thirdparty%2Fvuejs%2Fpinia.git build: copy license file --- diff --git a/.gitignore b/.gitignore index 410c9921..9c2c8ff5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ package-lock.json temp test-dts/tsconfig.tsbuildinfo .env +packages/*/LICENSE diff --git a/packages/pinia/LICENSE b/packages/pinia/LICENSE deleted file mode 100644 index e8c2f182..00000000 --- a/packages/pinia/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2019 Eduardo San Martin Morote - -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/scripts/release.mjs b/scripts/release.mjs index dee06d44..1642a3ca 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -169,6 +169,10 @@ async function main() { await runIfNotDry(`yarn`, ['prettier', '--write', 'CHANGELOG.md'], { cwd: pkg.path, }) + await fs.copyFile( + resolve(__dirname, '../LICENSE'), + resolve(pkg.path, 'LICENSE') + ) } step('\nBuilding all packages...')