From c5ba32effcb7645b5cc5d20f66a2b0c25ec905ec Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 3 Nov 2024 12:08:24 -0500 Subject: [PATCH] [skip ci] Add copynotes package.json script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3ddba780b1..cbac328f70 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "configdocs": "rm -rf website/docs/config && mkdir website/docs/config && yarn tsx docs/generateConfigDocs.ts", "statedocs": "rm -rf website/docs/models && mkdir website/docs/models && yarn tsx docs/generateStateModelDocs.ts", "autogen": "yarn statedocs && yarn configdocs && yarn prettier --write website", - "releasenotes": "npx prettier --prose-wrap never website/blog/$(ls -Art website/blog/ | tail -n 1)|sed -e '/## Downloads/,+7d'|tail -n +7" + "releasenotes": "yarn prettier --prose-wrap never website/blog/$(ls -Art website/blog/ | tail -n 1)|sed -e '/## Downloads/,+7d'|tail -n +7", + "copynotes": "yarn --silent releasenotes | xclip -selection clipboard" }, "devDependencies": { "@babel/core": "^7.3.4",