From 56814ba7402d677995064fb5160114a87074fb50 Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Thu, 2 Mar 2023 15:24:08 +1100 Subject: [PATCH] chore: rename build-utils to avoid potential conflict --- package-lock.json | 53 ++++++++++---------- packages/build-utils/package.json | 2 +- packages/core/package.json | 2 +- packages/core/rollup.config.js | 2 +- packages/create/package.json | 2 +- packages/create/rollup.config.js | 2 +- packages/dns-discovery/package.json | 2 +- packages/dns-discovery/rollup.config.js | 2 +- packages/enr/package.json | 2 +- packages/enr/rollup.config.js | 2 +- packages/message-encryption/package.json | 2 +- packages/message-encryption/rollup.config.js | 2 +- packages/peer-exchange/package.json | 2 +- packages/peer-exchange/rollup.config.js | 2 +- packages/proto/package.json | 2 +- packages/proto/rollup.config.js | 2 +- packages/utils/package.json | 2 +- packages/utils/rollup.config.js | 2 +- 18 files changed, 44 insertions(+), 43 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8c7d22aff3..1a2cbee25d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5611,6 +5611,10 @@ "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==", "dev": true }, + "node_modules/@waku/build-utils": { + "resolved": "packages/build-utils", + "link": true + }, "node_modules/@waku/core": { "resolved": "packages/core", "link": true @@ -7119,10 +7123,6 @@ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, - "node_modules/build-utils": { - "resolved": "packages/build-utils", - "link": true - }, "node_modules/builtin-modules": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", @@ -27976,6 +27976,7 @@ } }, "packages/build-utils": { + "name": "@waku/build-utils", "version": "1.0.0", "license": "MIT OR Apache-2.0", "devDependencies": { @@ -28017,7 +28018,7 @@ "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", @@ -28096,8 +28097,8 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", @@ -28171,8 +28172,8 @@ "@types/chai": "^4.3.4", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", @@ -28216,8 +28217,8 @@ "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", @@ -28301,7 +28302,7 @@ "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", @@ -28353,8 +28354,8 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", @@ -28387,7 +28388,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", @@ -28515,7 +28516,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", @@ -32700,6 +32701,12 @@ "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==", "dev": true }, + "@waku/build-utils": { + "version": "file:packages/build-utils", + "requires": { + "prettier": "^2.8.4" + } + }, "@waku/core": { "version": "file:packages/core", "requires": { @@ -32721,10 +32728,10 @@ "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", "@waku/proto": "*", "@waku/utils": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "debug": "^4.3.4", @@ -32788,11 +32795,11 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/core": "*", "@waku/dns-discovery": "*", "@waku/interfaces": "*", "@waku/peer-exchange": "*", - "build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", @@ -32846,10 +32853,10 @@ "@types/chai": "^4.3.4", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/enr": "*", "@waku/interfaces": "*", "@waku/utils": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "debug": "^4.3.4", @@ -32887,9 +32894,9 @@ "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", "@waku/utils": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "debug": "^4.3.4", @@ -32957,11 +32964,11 @@ "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/core": "*", "@waku/interfaces": "*", "@waku/proto": "*", "@waku/utils": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "debug": "^4.3.4", @@ -33002,10 +33009,10 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/enr": "*", "@waku/interfaces": "*", "@waku/proto": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "debug": "^4.3.4", @@ -33034,7 +33041,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", @@ -33134,7 +33141,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "cspell": "^6.26.3", "debug": "^4.3.4", "eslint": "^8.35.0", @@ -34285,12 +34292,6 @@ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, - "build-utils": { - "version": "file:packages/build-utils", - "requires": { - "prettier": "^2.8.4" - } - }, "builtin-modules": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", diff --git a/packages/build-utils/package.json b/packages/build-utils/package.json index 304f111c77..6fdd60157b 100644 --- a/packages/build-utils/package.json +++ b/packages/build-utils/package.json @@ -1,5 +1,5 @@ { - "name": "build-utils", + "name": "@waku/build-utils", "version": "1.0.0", "description": "Build utilities for js-waku", "main": "index.js", diff --git a/packages/core/package.json b/packages/core/package.json index 690d5366e0..c904df22fd 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -110,7 +110,7 @@ "@types/uuid": "^9.0.0", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", diff --git a/packages/core/rollup.config.js b/packages/core/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/core/rollup.config.js +++ b/packages/core/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" }; diff --git a/packages/create/package.json b/packages/create/package.json index 8ac08f21d3..ff373b6706 100644 --- a/packages/create/package.json +++ b/packages/create/package.json @@ -78,8 +78,8 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", diff --git a/packages/create/rollup.config.js b/packages/create/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/create/rollup.config.js +++ b/packages/create/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" }; diff --git a/packages/dns-discovery/package.json b/packages/dns-discovery/package.json index d2165fa7f2..153066db39 100644 --- a/packages/dns-discovery/package.json +++ b/packages/dns-discovery/package.json @@ -80,8 +80,8 @@ "@types/chai": "^4.3.4", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", diff --git a/packages/dns-discovery/rollup.config.js b/packages/dns-discovery/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/dns-discovery/rollup.config.js +++ b/packages/dns-discovery/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" }; diff --git a/packages/enr/package.json b/packages/enr/package.json index c4e09c6b43..0f6baa5384 100644 --- a/packages/enr/package.json +++ b/packages/enr/package.json @@ -72,8 +72,8 @@ "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", diff --git a/packages/enr/rollup.config.js b/packages/enr/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/enr/rollup.config.js +++ b/packages/enr/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" }; diff --git a/packages/message-encryption/package.json b/packages/message-encryption/package.json index 67ed52b943..60b881e16c 100644 --- a/packages/message-encryption/package.json +++ b/packages/message-encryption/package.json @@ -95,7 +95,7 @@ "@types/mocha": "^10.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", diff --git a/packages/message-encryption/rollup.config.js b/packages/message-encryption/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/message-encryption/rollup.config.js +++ b/packages/message-encryption/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" }; diff --git a/packages/peer-exchange/package.json b/packages/peer-exchange/package.json index 6ea43fb1b0..92f2aee51e 100644 --- a/packages/peer-exchange/package.json +++ b/packages/peer-exchange/package.json @@ -70,8 +70,8 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", + "@waku/build-utils": "*", "@waku/interfaces": "*", - "build-utils": "*", "chai": "^4.3.7", "cspell": "^6.26.3", "eslint": "^8.35.0", diff --git a/packages/peer-exchange/rollup.config.js b/packages/peer-exchange/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/peer-exchange/rollup.config.js +++ b/packages/peer-exchange/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" }; diff --git a/packages/proto/package.json b/packages/proto/package.json index 5b63c89ddc..dbda4c2f24 100644 --- a/packages/proto/package.json +++ b/packages/proto/package.json @@ -54,7 +54,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", diff --git a/packages/proto/rollup.config.js b/packages/proto/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/proto/rollup.config.js +++ b/packages/proto/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" }; diff --git a/packages/utils/package.json b/packages/utils/package.json index 64e294e53b..cc4acb0493 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -65,7 +65,7 @@ "@rollup/plugin-node-resolve": "^15.0.1", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.51.0", - "build-utils": "*", + "@waku/build-utils": "*", "cspell": "^6.26.3", "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", diff --git a/packages/utils/rollup.config.js b/packages/utils/rollup.config.js index 22e75b907b..8af2ba4bd1 100644 --- a/packages/utils/rollup.config.js +++ b/packages/utils/rollup.config.js @@ -1,7 +1,7 @@ import commonjs from "@rollup/plugin-commonjs"; import json from "@rollup/plugin-json"; import { nodeResolve } from "@rollup/plugin-node-resolve"; -import { extractExports } from "build-utils"; +import { extractExports } from "@waku/build-utils"; import * as packageJson from "./package.json" assert { type: "json" };