Skip to content

Commit

Permalink
[ksc-release-4.1] chore: remove @kubed/stook and @kubed/stook-devtools (
Browse files Browse the repository at this point in the history
kubesphere#4242)

* chore: remove @kubed/stook and @kubed/stook-devtools

Signed-off-by: donniean <[email protected]>

* fix: remove @kubed/stook to dependencies from peerDependencies in shared

Signed-off-by: donniean <[email protected]>

---------

Signed-off-by: donniean <[email protected]>
Co-authored-by: donniean <[email protected]>
  • Loading branch information
ks-ci-bot and donniean authored Jul 15, 2024
1 parent b3be768 commit df6ddf0
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 42 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion packages/appstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion packages/bootstrap/cli/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ async function devServer(setAlias, checkUpgrade) {
'@kubed/components',
'@kubed/hooks',
'@kubed/icons',
'@kubed/stook',
];
const currentState = await npmCheck({
update: true,
Expand Down
3 changes: 0 additions & 3 deletions packages/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
7 changes: 1 addition & 6 deletions packages/core/src/run.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -31,10 +30,6 @@ export const run = async () => {
await registerInternalExtensions();
await registerLocalExtensions();

if (ENV.isDevelopment) {
devtools.init();
}

initWujie();

await i18n.init();
Expand Down
1 change: 1 addition & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
28 changes: 1 addition & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit df6ddf0

Please sign in to comment.