From 10d769a0c7d9db11436c2644c62f934c80fde63d Mon Sep 17 00:00:00 2001 From: Jimmy Cheung <50635800+chejimmy@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:04:15 -0800 Subject: [PATCH] fix: helpers package resolution --- package-lock.json | 2 -- packages/react-components/package.json | 1 - packages/react-components/playwright.config.ts | 7 +++---- packages/scene-composer/package.json | 1 - packages/scene-composer/playwright.config.ts | 4 +++- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 97b690ded..f033cd8b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36976,7 +36976,6 @@ "@iot-app-kit/charts-core": "^2.1.2", "@iot-app-kit/core": "12.2.0", "@iot-app-kit/core-util": "12.2.0", - "@iot-app-kit/helpers": "*", "@iot-app-kit/source-iottwinmaker": "12.2.0", "@tanstack/react-query": "^5.32.1", "autosize": "^6.0.1", @@ -37230,7 +37229,6 @@ "@fortawesome/free-solid-svg-icons": "^6.4.2", "@fortawesome/react-fontawesome": "^0.2.0", "@iot-app-kit/core": "12.2.0", - "@iot-app-kit/helpers": "*", "@iot-app-kit/react-components": "12.2.0", "@iot-app-kit/source-iottwinmaker": "12.2.0", "@matterport/r3f": "0.2.7", diff --git a/packages/react-components/package.json b/packages/react-components/package.json index 4d43ebd6d..d79f4e4fe 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -120,7 +120,6 @@ "@iot-app-kit/charts-core": "^2.1.2", "@iot-app-kit/core": "12.2.0", "@iot-app-kit/core-util": "12.2.0", - "@iot-app-kit/helpers": "*", "@iot-app-kit/source-iottwinmaker": "12.2.0", "@tanstack/react-query": "^5.32.1", "autosize": "^6.0.1", diff --git a/packages/react-components/playwright.config.ts b/packages/react-components/playwright.config.ts index 69adbd0a1..36861479b 100644 --- a/packages/react-components/playwright.config.ts +++ b/packages/react-components/playwright.config.ts @@ -1,9 +1,8 @@ -import { - MINUTE_IN_MS, - SECOND_IN_MS, -} from '@iot-app-kit/helpers/constants/time'; import { defineConfig, devices } from '@playwright/test'; +const SECOND_IN_MS = 1000; +const MINUTE_IN_MS = 60_000; + /** * See https://playwright.dev/docs/test-configuration. */ diff --git a/packages/scene-composer/package.json b/packages/scene-composer/package.json index 5eb072cc2..5b3e8bc5f 100644 --- a/packages/scene-composer/package.json +++ b/packages/scene-composer/package.json @@ -157,7 +157,6 @@ "@fortawesome/free-solid-svg-icons": "^6.4.2", "@fortawesome/react-fontawesome": "^0.2.0", "@iot-app-kit/core": "12.2.0", - "@iot-app-kit/helpers": "*", "@iot-app-kit/react-components": "12.2.0", "@iot-app-kit/source-iottwinmaker": "12.2.0", "@matterport/r3f": "0.2.7", diff --git a/packages/scene-composer/playwright.config.ts b/packages/scene-composer/playwright.config.ts index 1c2e5bfa9..0e82091ba 100644 --- a/packages/scene-composer/playwright.config.ts +++ b/packages/scene-composer/playwright.config.ts @@ -1,6 +1,8 @@ -import { MINUTE_IN_MS, SECOND_IN_MS } from '@iot-app-kit/helpers/constants/time'; import { defineConfig, devices } from '@playwright/test'; +const SECOND_IN_MS = 1000; +const MINUTE_IN_MS = 60_000; + /** * See https://playwright.dev/docs/test-configuration. */