]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
build: copy license file
authorEduardo San Martin Morote <posva13@gmail.com>
Tue, 17 Aug 2021 17:35:11 +0000 (19:35 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Tue, 17 Aug 2021 17:35:11 +0000 (19:35 +0200)
.gitignore
packages/pinia/LICENSE [deleted file]
scripts/release.mjs

index 410c9921a78c9b12cdfb2f7905e5ae3e0b183b0a..9c2c8ff511e71530e991f3ffc7151518f556bf7d 100644 (file)
@@ -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 (file)
index e8c2f18..0000000
+++ /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.
index dee06d44b0329f33cfb56bcbafaa80fdf54c12f1..1642a3caed0426c0321abbbdf358cf79d0dca598 100644 (file)
@@ -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...')