From b811c5b55ff9e65e89f2ceaa563e5b946fd4a43d Mon Sep 17 00:00:00 2001 From: Sergey Astapov Date: Wed, 11 Sep 2024 11:21:20 -0700 Subject: [PATCH 1/2] Copy README.md and LICENSE.md to addon folder during release --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 003c5dac..365439d1 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,9 @@ "release-it": "^15.6.0" }, "release-it": { + "hooks": { + "before:init": "cp README.md LICENSE.md addon/" + }, "plugins": { "@release-it-plugins/workspaces": { "publish": false From 671d0660ea984860e86e3571f83d3e7ef64fa876 Mon Sep 17 00:00:00 2001 From: Sergey Astapov Date: Wed, 11 Sep 2024 11:23:54 -0700 Subject: [PATCH 2/2] Update .gitignore in addon/ to ignore README.md and LICENSE.md --- addon/.gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/addon/.gitignore b/addon/.gitignore index de88b84b..27f89dc2 100644 --- a/addon/.gitignore +++ b/addon/.gitignore @@ -25,3 +25,9 @@ /package.json.ember-try .eslintcache + +# The authoritative copies of these live in the monorepo root (because they're +# more useful on github that way), but the build copies them into here so they +# will also appear in published NPM packages. +/README.md +/LICENSE.md