mirror of https://github.com/waku-org/js-waku.git
fix diplay workspace name (#1291)
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
This commit is contained in:
parent
3722ae7487
commit
7075f10780
|
@ -53,7 +53,7 @@
|
||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": ["*.spec.ts", "**/test_utils/*.ts"],
|
"files": ["*.spec.ts", "**/test_utils/*.ts", "*.js", "*.cjs"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"@typescript-eslint/no-non-null-assertion": "off",
|
"@typescript-eslint/no-non-null-assertion": "off",
|
||||||
"no-console": "off"
|
"no-console": "off"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
import cp from "child_process";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import cp from "child_process";
|
|
||||||
import { promisify } from "util";
|
|
||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
|
import { promisify } from "util";
|
||||||
|
|
||||||
const PACKAGE_JSON = "package.json";
|
const PACKAGE_JSON = "package.json";
|
||||||
// hack to get __dirname
|
// hack to get __dirname
|
||||||
|
@ -45,7 +45,7 @@ async function run() {
|
||||||
`npm publish --workspace ${info.workspace} --tag latest --access public`
|
`npm publish --workspace ${info.workspace} --tag latest --access public`
|
||||||
);
|
);
|
||||||
console.info(
|
console.info(
|
||||||
`Successfully published ${info.name} with version ${info.version}.`
|
`Successfully published ${info.workspace} with version ${info.version}.`
|
||||||
);
|
);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(
|
console.error(
|
||||||
|
|
Loading…
Reference in New Issue