From 4b7151512aff6aaceb0e0922ae4b7303482ae87f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20S=C3=A1ros?= Date: Mon, 16 Oct 2023 20:15:43 +0200 Subject: [PATCH] WIP(babel-plugin-transform-imports,ui-karma-config): add globby comments --- packages/__examples__/package.json | 3 +++ packages/babel-plugin-transform-imports/package.json | 3 +++ packages/ui-karma-config/package.json | 3 +++ 3 files changed, 9 insertions(+) diff --git a/packages/__examples__/package.json b/packages/__examples__/package.json index 710112723e..19b80bbc8f 100644 --- a/packages/__examples__/package.json +++ b/packages/__examples__/package.json @@ -50,6 +50,9 @@ "react-docgen": "6.0.0-alpha.3", "webpack": "^5.89.0" }, + "//dependency-comments": { + "globby": "since 12.0.0 globby is pure ESM, it cannot be require()'d" + }, "resolutions": { "@storybook/react/webpack": "^5" } diff --git a/packages/babel-plugin-transform-imports/package.json b/packages/babel-plugin-transform-imports/package.json index ff60042a4e..9c994d4a86 100644 --- a/packages/babel-plugin-transform-imports/package.json +++ b/packages/babel-plugin-transform-imports/package.json @@ -18,6 +18,9 @@ "dependencies": { "globby": "^11.1.0" }, + "//dependency-comments": { + "globby": "since 12.0.0 globby is pure ESM, it cannot be require()'d" + }, "publishConfig": { "access": "public" } diff --git a/packages/ui-karma-config/package.json b/packages/ui-karma-config/package.json index f5e548f423..47f3c279c8 100644 --- a/packages/ui-karma-config/package.json +++ b/packages/ui-karma-config/package.json @@ -33,6 +33,9 @@ "karma-webpack": "^5.0.0", "process": "^0.11.10" }, + "//dependency-comments": { + "globby": "since 12.0.0 globby is pure ESM, it cannot be require()'d" + }, "peerDependencies": { "mocha": "^10", "webpack": "^5"