From bd8df7ef15e0cefbcbca9507cbde267d3dec6d0c Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Tue, 25 Jan 2022 23:11:56 -0700 Subject: [PATCH 1/4] Ignore docs when publishing --- docusaurus/website/package.json | 1 + tasks/publish.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docusaurus/website/package.json b/docusaurus/website/package.json index 19853fa57e3..a04e21f61f6 100644 --- a/docusaurus/website/package.json +++ b/docusaurus/website/package.json @@ -1,4 +1,5 @@ { + "name": "cra-docs", "scripts": { "start": "docusaurus start", "build": "docusaurus build", diff --git a/tasks/publish.sh b/tasks/publish.sh index 0fed73e0078..06a3711a847 100755 --- a/tasks/publish.sh +++ b/tasks/publish.sh @@ -42,4 +42,4 @@ if [ -z $CI ]; then fi # Go! -NPM_CONFIG_OTP="$otp" ./node_modules/.bin/lerna publish "$@" +NPM_CONFIG_OTP="$otp" ./node_modules/.bin/lerna publish --ignore cra-docs "$@" From a21503e7f457d197306bffedbbb66fa9d3a8c029 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Tue, 25 Jan 2022 23:34:32 -0700 Subject: [PATCH 2/4] Add version to docs package --- docusaurus/website/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/docusaurus/website/package.json b/docusaurus/website/package.json index a04e21f61f6..042eb9b433f 100644 --- a/docusaurus/website/package.json +++ b/docusaurus/website/package.json @@ -1,5 +1,6 @@ { "name": "cra-docs", + "verson": "1.0.0", "scripts": { "start": "docusaurus start", "build": "docusaurus build", From 95b2d24a42ded37d116081b0268ec89b09916eec Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Wed, 26 Jan 2022 13:55:22 -0700 Subject: [PATCH 3/4] Add private instead of version to docs package --- docusaurus/website/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/website/package.json b/docusaurus/website/package.json index 042eb9b433f..1231bd05df5 100644 --- a/docusaurus/website/package.json +++ b/docusaurus/website/package.json @@ -1,6 +1,6 @@ { "name": "cra-docs", - "verson": "1.0.0", + "private": true, "scripts": { "start": "docusaurus start", "build": "docusaurus build", From d0e87bac6ac0252ba3e0e63a93f31499d4286a32 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Wed, 26 Jan 2022 16:35:58 -0700 Subject: [PATCH 4/4] Don't explicitly ignore docs package --- tasks/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/publish.sh b/tasks/publish.sh index 06a3711a847..0fed73e0078 100755 --- a/tasks/publish.sh +++ b/tasks/publish.sh @@ -42,4 +42,4 @@ if [ -z $CI ]; then fi # Go! -NPM_CONFIG_OTP="$otp" ./node_modules/.bin/lerna publish --ignore cra-docs "$@" +NPM_CONFIG_OTP="$otp" ./node_modules/.bin/lerna publish "$@"