From 0e85ebab173759e08c1005dceda94736477ef300 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Sun, 9 Jun 2024 14:40:11 +0900 Subject: [PATCH] fix: README is not publish (#775) --- .changeset/gold-kiwis-care.md | 5 +++++ .gitignore | 1 + package.json | 2 +- packages/eslint-plugin-svelte/LICENSE | 21 +++++++++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .changeset/gold-kiwis-care.md create mode 100644 packages/eslint-plugin-svelte/LICENSE diff --git a/.changeset/gold-kiwis-care.md b/.changeset/gold-kiwis-care.md new file mode 100644 index 000000000..367936c72 --- /dev/null +++ b/.changeset/gold-kiwis-care.md @@ -0,0 +1,5 @@ +--- +"eslint-plugin-svelte": patch +--- + +fix: README is not publish diff --git a/.gitignore b/.gitignore index 5f1159039..cf1b233b1 100644 --- a/.gitignore +++ b/.gitignore @@ -112,3 +112,4 @@ docs-svelte-kit/build /docs-svelte-kit/shim/assert.mjs /docs-svelte-kit/src/routes/*.md /docs-svelte-kit/src/routes/**/*.md +packages/eslint-plugin-svelte/README.md diff --git a/package.json b/package.json index 93ee8e463..82376cedf 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "funding": "https://github.com/sponsors/ota-meshi", "packageManager": "pnpm@7.33.7", "scripts": { - "prerelease": "cd packages/eslint-plugin-svelte && pnpm clean && pnpm run build && cd ../..", + "prerelease": "cd packages/eslint-plugin-svelte && pnpm clean && pnpm run build && cd ../.. && cp README.md packages/eslint-plugin-svelte", "release": "changeset publish", "version": "cd packages/eslint-plugin-svelte && env-cmd -e version pnpm run update && cd ../..", "version:ci": "cd packages/eslint-plugin-svelte && env-cmd -e version-ci pnpm run update && cd ../.. && changeset version" diff --git a/packages/eslint-plugin-svelte/LICENSE b/packages/eslint-plugin-svelte/LICENSE new file mode 100644 index 000000000..e32111964 --- /dev/null +++ b/packages/eslint-plugin-svelte/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Yosuke Ota + +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.