From d74058b47c395bac9bd9f7be31cc063e8c5f1b73 Mon Sep 17 00:00:00 2001 From: Mikey Stengel Date: Thu, 24 Oct 2024 13:42:26 +0200 Subject: [PATCH] fix(ci): Publishing script to npm for editor web component --- package.json | 2 +- packages/editor-web-component/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 875400d339..bd8d0a19cc 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "e2e-localhost": "cd e2e-tests && yarn e2e-localhost", "e2e-workers": "cd e2e-tests && yarn e2e-workers", "editor-web-component:build": "yarn workspace @serlo/editor-web-component build", - "editor-web-component:publish": "yarn workspace @serlo/editor-web-component run npm publish", + "editor-web-component:publish": "yarn workspace @serlo/editor-web-component run publish:package", "editor-web-component:publish-local": "yarn workspace @serlo/editor-web-component yalc:publish", "editor:build": "yarn workspace @serlo/editor build", "editor:publish": "yarn workspace @serlo/editor run publish:package", diff --git a/packages/editor-web-component/package.json b/packages/editor-web-component/package.json index db22a09a36..864baf2253 100644 --- a/packages/editor-web-component/package.json +++ b/packages/editor-web-component/package.json @@ -36,6 +36,7 @@ "lint": "npm-run-all lint:eslint lint:prettier", "lint:eslint": "yarn _eslint", "lint:prettier": "yarn _prettier --check", + "publish:package": "npm publish", "yalc:publish": "yarn build && yalc publish --push --sig" }, "resolutions": {