diff --git a/package.json b/package.json index b6df134c2fc..2de7ed2e01b 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,6 @@ "@kubed/hooks": "^0.0.14", "@kubed/icons": "^0.0.19", "@kubed/log-viewer": "^0.0.17", - "@kubed/stook": "^0.0.4", "classnames": "^2.2.6", "dayjs": "^1.10.7", "lerna": "^7.1.4", @@ -77,7 +76,6 @@ "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5", "@babel/runtime": "^7.15.4", - "@kubed/stook-devtools": "^0.0.1", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.1", "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-json": "^6.0.0", diff --git a/packages/appstore/package.json b/packages/appstore/package.json index 1f4ee46582f..6ff4fd4dcee 100644 --- a/packages/appstore/package.json +++ b/packages/appstore/package.json @@ -16,7 +16,6 @@ "@kubed/components": "^0.0.87", "@kubed/hooks": "^0.0.14", "@kubed/icons": "^0.0.19", - "@kubed/stook": "^0.0.4", "react-markdown": "^7.1.1" }, "gitHead": "6380079918d574a833739b35ee51b0d2f72985ee" diff --git a/packages/bootstrap/cli/webpack.js b/packages/bootstrap/cli/webpack.js index 67fcf778add..3d441242360 100644 --- a/packages/bootstrap/cli/webpack.js +++ b/packages/bootstrap/cli/webpack.js @@ -28,7 +28,6 @@ async function devServer(setAlias, checkUpgrade) { '@kubed/components', '@kubed/hooks', '@kubed/icons', - '@kubed/stook', ]; const currentState = await npmCheck({ update: true, diff --git a/packages/bootstrap/package.json b/packages/bootstrap/package.json index 2a29eab083a..fa4680bf9c9 100644 --- a/packages/bootstrap/package.json +++ b/packages/bootstrap/package.json @@ -20,9 +20,6 @@ "mustache": "^4.2.0", "npm-checky": "^1.0.4" }, - "devDependencies": { - "@kubed/stook-devtools": "^0.0.1" - }, "engines": { "node": ">= 16.0.0" }, diff --git a/packages/core/package.json b/packages/core/package.json index ca70ee5195d..eee4f88d0f8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -33,8 +33,7 @@ "@kubed/components": "^0.0.87", "@kubed/hooks": "^0.0.14", "@kubed/icons": "^0.0.19", - "@kubed/log-viewer": "^0.0.17", - "@kubed/stook": "^0.0.4" + "@kubed/log-viewer": "^0.0.17" }, "gitHead": "f5ad04cf99d7ae5229f4ff770a24af2182d38ab8" } diff --git a/packages/core/src/run.tsx b/packages/core/src/run.tsx index 992223d2cea..157d7f749ca 100644 --- a/packages/core/src/run.tsx +++ b/packages/core/src/run.tsx @@ -2,9 +2,8 @@ import 'systemjs'; import React, { Suspense } from 'react'; import ReactDOM from 'react-dom'; import { Loading } from '@kubed/components'; -import { devtools } from '@kubed/stook-devtools'; -import { CacheStoreProvider, ENV } from '@ks-console/shared'; +import { CacheStoreProvider } from '@ks-console/shared'; import Context from './utils/Context'; import { registerInternalExtensions } from './utils/extensions.internal'; import { registerLocalExtensions } from './utils/extensions.local'; @@ -31,10 +30,6 @@ export const run = async () => { await registerInternalExtensions(); await registerLocalExtensions(); - if (ENV.isDevelopment) { - devtools.init(); - } - initWujie(); await i18n.init(); diff --git a/packages/shared/package.json b/packages/shared/package.json index b9d283fe028..b00d10c7ead 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -7,6 +7,7 @@ "types": "lib/index.d.ts", "files": ["cjs", "esm", "lib"], "dependencies": { + "@kubed/stook": "^0.0.4", "async-validator": "4.2.5", "axios": "^0.24.0", "debounce-promise": "^3.1.2", diff --git a/yarn.lock b/yarn.lock index 809ff45275a..fcaef9c72dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1435,13 +1435,6 @@ dependencies: regenerator-runtime "^0.13.10" -"@babel/runtime@^7.9.2": - version "7.16.5" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.5.tgz#7f3e34bf8bdbbadf03fbb7b1ea0d929569c9487a" - integrity sha512-TXWihFIS3Pyv5hzR7j6ihmeLkZfrXGxAr5UfSl8CHf+6q/wpiYDkUau0czckpYG8QmnCIuPpdLtuA9VmuGGyMA== - dependencies: - regenerator-runtime "^0.13.4" - "@babel/template@^7.12.7", "@babel/template@^7.22.15": version "7.22.15" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" @@ -1881,13 +1874,6 @@ react-virtualized "^9.22.3" styled-components "^5.3.0" -"@kubed/stook-devtools@^0.0.1": - version "0.0.1" - resolved "https://registry.yarnpkg.com/@kubed/stook-devtools/-/stook-devtools-0.0.1.tgz#b044c9ebe025f5b1688c36e7bf46b8b570ae257a" - integrity sha512-krg38THxuzEfK2UrThHOkPhmLl903UyywHGxHwBDC4D2AYIqApgILyNXGSZVNDj8wKNlUFpmWkqBbXV8smv84g== - dependencies: - redux "^4.1.0" - "@kubed/stook@^0.0.4": version "0.0.4" resolved "https://registry.yarnpkg.com/@kubed/stook/-/stook-0.0.4.tgz#7d3a8db1b2bb8e6c8f8ccf09c45dc91f22fd0960" @@ -7951,16 +7937,11 @@ ignore@^5.1.4, ignore@^5.1.8: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" integrity sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw== -immer@^9.0.16: +immer@^9.0.16, immer@^9.0.5: version "9.0.21" resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176" integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA== -immer@^9.0.5: - version "9.0.6" - resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.6.tgz#7a96bf2674d06c8143e327cbf73539388ddf1a73" - integrity sha512-G95ivKpy+EvVAnAab4fVa4YGYn24J1SpEktnJX7JJ45Bd7xqME/SCplFzYFmTbrkwZbQ4xJK1xMTUYBkN6pWsQ== - immutable@^4.0.0: version "4.2.3" resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.2.3.tgz#a203cdda37a5a30bc351b982a1794c1930198815" @@ -12932,13 +12913,6 @@ reduce-css-calc@^2.1.8: css-unit-converter "^1.1.1" postcss-value-parser "^3.3.0" -redux@^4.1.0: - version "4.1.2" - resolved "https://registry.yarnpkg.com/redux/-/redux-4.1.2.tgz#140f35426d99bb4729af760afcf79eaaac407104" - integrity sha512-SH8PglcebESbd/shgf6mii6EIoRM0zrQyjcuQ+ojmfxjTtE0z9Y8pa62iA/OJ58qjP6j27uyW4kUF4jl/jd6sw== - dependencies: - "@babel/runtime" "^7.9.2" - refractor@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/refractor/-/refractor-3.6.0.tgz#ac318f5a0715ead790fcfb0c71f4dd83d977935a"