From 7075f107808b75ea3d99e25e54d6994b0b136aba Mon Sep 17 00:00:00 2001 From: Sasha <118575614+weboko@users.noreply.github.com> Date: Mon, 3 Apr 2023 12:52:27 +0200 Subject: [PATCH] fix diplay workspace name (#1291) Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com> --- .eslintrc.json | 2 +- ci/publish.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6153f20bc..dda52a61d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -53,7 +53,7 @@ }, "overrides": [ { - "files": ["*.spec.ts", "**/test_utils/*.ts"], + "files": ["*.spec.ts", "**/test_utils/*.ts", "*.js", "*.cjs"], "rules": { "@typescript-eslint/no-non-null-assertion": "off", "no-console": "off" diff --git a/ci/publish.js b/ci/publish.js index ea1579008..009a0af6c 100644 --- a/ci/publish.js +++ b/ci/publish.js @@ -1,8 +1,8 @@ +import cp from "child_process"; import fs from "fs"; import path from "path"; -import cp from "child_process"; -import { promisify } from "util"; import { fileURLToPath } from "url"; +import { promisify } from "util"; const PACKAGE_JSON = "package.json"; // hack to get __dirname @@ -45,7 +45,7 @@ async function run() { `npm publish --workspace ${info.workspace} --tag latest --access public` ); console.info( - `Successfully published ${info.name} with version ${info.version}.` + `Successfully published ${info.workspace} with version ${info.version}.` ); } catch (err) { console.error(