From 8c4be579d2c5bea4a9b602caefd8feaba5019a9e Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Thu, 20 Oct 2022 10:48:58 +0200 Subject: [PATCH 1/2] stop running `publish-docs` on postpublish This is currently broken, see https://github.com/getsentry/sentry-javascript/issues/3871 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b83d13febc0a..fde2d0dcbc31 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "link:yarn": "lerna exec --parallel yarn link", "lint": "lerna run --parallel lint", "lint:eslint": "lerna run --parallel lint:eslint", - "postpublish": "make publish-docs && lerna run --stream --concurrency 1 postpublish", + "postpublish": "lerna run --stream --concurrency 1 postpublish", "test": "lerna run --ignore @sentry-internal/browser-integration-tests --ignore @sentry-internal/node-integration-tests --stream --concurrency 1 --sort test", "test-ci": "ts-node ./scripts/test.ts" }, From cd2020356c585d46039bff823649d092e71fca85 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Thu, 20 Oct 2022 10:49:36 +0200 Subject: [PATCH 2/2] remove unused Makefile Make commands are currently not used. Once/if we bring typedoc back, we can also bring this back (one way or another). --- Makefile | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 4bcb974e71c4..000000000000 --- a/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -prepare-release: - yarn - yarn clean - yarn build - yarn lint - yarn test -.PHONY: prepare-release - -build-docs: - rm -rf ./docs - yarn typedoc --options ./typedoc.js -.PHONY: build-docs - -publish-docs: build-docs - rm -rf /tmp/sentry-js-docs | true - mkdir /tmp/sentry-js-docs - cp -r ./docs /tmp/sentry-js-docs/docs - cd /tmp/sentry-js-docs && \ - git clone --single-branch --branch gh-pages git@github.com:getsentry/sentry-javascript.git && \ - cp -r /tmp/sentry-js-docs/docs/* /tmp/sentry-js-docs/sentry-javascript/ && \ - cd /tmp/sentry-js-docs/sentry-javascript && \ - git add --all && \ - git commit -m "meta: Update docs" && \ - git push origin gh-pages -.PHONY: publish-docs