From 0e962eefe8711c09a122c6f03876292437b32d9a Mon Sep 17 00:00:00 2001 From: Grant Sander Date: Tue, 25 Apr 2023 14:02:00 -0500 Subject: [PATCH 1/2] Copy root README on prepublish --- packages/prism-react-renderer/.gitignore | 1 + packages/prism-react-renderer/package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 packages/prism-react-renderer/.gitignore diff --git a/packages/prism-react-renderer/.gitignore b/packages/prism-react-renderer/.gitignore new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/packages/prism-react-renderer/.gitignore @@ -0,0 +1 @@ +README.md diff --git a/packages/prism-react-renderer/package.json b/packages/prism-react-renderer/package.json index f04138a..4cbce64 100755 --- a/packages/prism-react-renderer/package.json +++ b/packages/prism-react-renderer/package.json @@ -18,7 +18,8 @@ "test": "vitest", "typecheck": "tsc --noEmit", "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'", - "format": "prettier --write 'src/**/*.js'" + "format": "prettier --write 'src/**/*.js'", + "prepublishOnly": "cp ../../README.md ./README.md" }, "peerDependencies": { "react": ">=16.0.0" From efa541cae3fec7660020cba8b277e58946601956 Mon Sep 17 00:00:00 2001 From: Grant Sander Date: Tue, 25 Apr 2023 14:02:19 -0500 Subject: [PATCH 2/2] Add changeset --- .changeset/unlucky-crews-act.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/unlucky-crews-act.md diff --git a/.changeset/unlucky-crews-act.md b/.changeset/unlucky-crews-act.md new file mode 100644 index 0000000..fd85375 --- /dev/null +++ b/.changeset/unlucky-crews-act.md @@ -0,0 +1,5 @@ +--- +"prism-react-renderer": patch +--- + +Add package README