From 2383dfd7102f2aa6bc84a869a38f81e492259fa6 Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Thu, 6 Oct 2022 17:00:56 +0800 Subject: [PATCH] update --- package-lock.json | 3 +++ studio/next.config.js | 2 +- studio/package.json | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index dc19fa4f6b2..8e1502e3b26 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36526,6 +36526,7 @@ "analytics-node": "^3.5.0", "awesome-debounce-promise": "^2.1.0", "clipboard": "^2.0.8", + "common": "*", "config": "*", "configcat-js": "^5.6.0", "crypto-js": "^4.1.1", @@ -36611,6 +36612,7 @@ "@types/zxcvbn": "^4.4.1", "autoprefixer": "10.4.2", "babel-loader": "^8.2.3", + "common": "*", "config": "*", "jest": "^27.4.0", "jest-canvas-mock": "^2.3.1", @@ -61221,6 +61223,7 @@ "awesome-debounce-promise": "^2.1.0", "babel-loader": "^8.2.3", "clipboard": "^2.0.8", + "common": "*", "config": "*", "configcat-js": "^5.6.0", "crypto-js": "^4.1.1", diff --git a/studio/next.config.js b/studio/next.config.js index a9705cfdc68..c4701c8599f 100644 --- a/studio/next.config.js +++ b/studio/next.config.js @@ -5,7 +5,7 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({ }) // this is required to use shared packages in the packages directory -const withTM = require('next-transpile-modules')(['ui']) +const withTM = require('next-transpile-modules')(['ui', 'common']) // This file sets a custom webpack configuration to use your Next.js app // with Sentry. diff --git a/studio/package.json b/studio/package.json index f9bebf5bf12..59fa41f50b3 100644 --- a/studio/package.json +++ b/studio/package.json @@ -14,7 +14,6 @@ "prettier:write": "prettier --write ." }, "dependencies": { - "config": "*", "@headlessui/react": "^1.4.1", "@monaco-editor/react": "^4.3.1", "@next/bundle-analyzer": "^12.0.4", @@ -33,6 +32,8 @@ "analytics-node": "^3.5.0", "awesome-debounce-promise": "^2.1.0", "clipboard": "^2.0.8", + "config": "*", + "common": "*", "configcat-js": "^5.6.0", "crypto-js": "^4.1.1", "dayjs": "^1.11.0", @@ -85,7 +86,6 @@ "zxcvbn": "^4.4.2" }, "devDependencies": { - "config": "*", "@babel/core": "^7.17.5", "@storybook/addon-actions": "^6.4.19", "@storybook/addon-essentials": "^6.4.19", @@ -118,6 +118,8 @@ "@types/zxcvbn": "^4.4.1", "autoprefixer": "10.4.2", "babel-loader": "^8.2.3", + "common": "*", + "config": "*", "jest": "^27.4.0", "jest-canvas-mock": "^2.3.1", "postcss": "^8.4.6",