diff --git a/package-lock.json b/package-lock.json index 2625c8f42f..f35f03e3a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,7 +70,7 @@ "packages/_settingsViewer", "packages/_settingsViewerNext", "packages/client", - "tools/*" + "tools/package-json-dependency-updater" ], "nohoist": [ "@internal/docs", @@ -10161,15 +10161,6 @@ } } }, - "node_modules/mobx-react-devtools": { - "version": "6.1.1", - "dev": true, - "license": "MIT", - "peerDependencies": { - "mobx": "^4.3.1 || ^5.0.0", - "mobx-react": "^4.0.0 || ^5.0.0" - } - }, "node_modules/mobx-react-lite": { "version": "3.4.3", "dev": true, @@ -16025,7 +16016,7 @@ "dependencies": { "@cspell/cspell-bundled-dicts": "^7.3.6", "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", + "@internal/common-utils": "file:../__utils", "cspell-gitignore": "^7.3.6", "cspell-glob": "^7.3.6", "cspell-lib": "^7.3.6", @@ -16059,7 +16050,7 @@ "license": "MIT", "dependencies": { "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", + "@internal/common-utils": "file:../__utils", "cspell-lib": "^7.3.6", "regexp-worker": "^2.0.2", "vscode-languageserver": "^8.1.0", @@ -16083,7 +16074,7 @@ "version": "2.0.0", "license": "MIT", "devDependencies": { - "@internal/locale-resolver": "*", + "@internal/locale-resolver": "file:../__locale-resolver", "@material-ui/core": "^4.12.4", "@material-ui/icons": "^4.11.3", "@types/clone-deep": "^4.0.2", @@ -16096,7 +16087,6 @@ "html-webpack-plugin": "^5.5.3", "mobx": "^6.10.2", "mobx-react": "^7.6.0", - "mobx-react-devtools": "^6.1.1", "mobx-react-lite": "^3.4.3", "path-browserify": "^1.0.1", "react": "^17.0.2", @@ -16129,8 +16119,8 @@ "license": "MIT", "dependencies": { "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", - "code-spell-checker-server": "*", + "@internal/common-utils": "file:../__utils", + "code-spell-checker-server": "file:../_server", "comment-json": "^4.2.3", "kefir": "^3.8.8", "vscode-languageclient": "^8.1.0", @@ -16141,10 +16131,10 @@ "build": "build.mjs" }, "devDependencies": { - "@internal/cspell-helper": "*", - "@internal/locale-resolver": "*", - "@internal/settings-viewer-next": "*", - "@internal/settings-webview": "*", + "@internal/cspell-helper": "file:../__cspell-helper", + "@internal/locale-resolver": "file:../__locale-resolver", + "@internal/settings-viewer-next": "file:../_settingsViewerNext", + "@internal/settings-webview": "file:../_settingsViewer", "@types/jest": "^29.5.5", "@types/jest-when": "^3.5.3", "@types/kefir": "^3.8.8", @@ -17823,7 +17813,7 @@ "version": "file:packages/_serverPatternMatcher", "requires": { "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", + "@internal/common-utils": "file:../__utils", "cspell-lib": "^7.3.6", "regexp-worker": "^2.0.2", "ts-loader": "^9.4.4", @@ -17840,7 +17830,7 @@ "@internal/settings-webview": { "version": "file:packages/_settingsViewer", "requires": { - "@internal/locale-resolver": "*", + "@internal/locale-resolver": "file:../__locale-resolver", "@material-ui/core": "^4.12.4", "@material-ui/icons": "^4.11.3", "@types/clone-deep": "^4.0.2", @@ -17853,7 +17843,6 @@ "html-webpack-plugin": "^5.5.3", "mobx": "^6.10.2", "mobx-react": "^7.6.0", - "mobx-react-devtools": "^6.1.1", "mobx-react-lite": "^3.4.3", "path-browserify": "^1.0.1", "react": "^17.0.2", @@ -19866,16 +19855,16 @@ "version": "file:packages/client", "requires": { "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", - "@internal/cspell-helper": "*", - "@internal/locale-resolver": "*", - "@internal/settings-viewer-next": "*", - "@internal/settings-webview": "*", + "@internal/common-utils": "file:../__utils", + "@internal/cspell-helper": "file:../__cspell-helper", + "@internal/locale-resolver": "file:../__locale-resolver", + "@internal/settings-viewer-next": "file:../_settingsViewerNext", + "@internal/settings-webview": "file:../_settingsViewer", "@types/jest": "^29.5.5", "@types/jest-when": "^3.5.3", "@types/kefir": "^3.8.8", "@types/source-map-support": "^0.5.7", - "code-spell-checker-server": "*", + "code-spell-checker-server": "file:../_server", "comment-json": "^4.2.3", "cross-env": "^7.0.3", "cspell-lib": "^7.3.6", @@ -19927,7 +19916,7 @@ "requires": { "@cspell/cspell-bundled-dicts": "^7.3.6", "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", + "@internal/common-utils": "file:../__utils", "@types/yargs": "17.0.24", "cspell-gitignore": "^7.3.6", "cspell-glob": "^7.3.6", @@ -23760,11 +23749,6 @@ "mobx-react-lite": "^3.4.0" } }, - "mobx-react-devtools": { - "version": "6.1.1", - "dev": true, - "requires": {} - }, "mobx-react-lite": { "version": "3.4.3", "dev": true, diff --git a/package.json b/package.json index 72eb3203e5..d9ea308745 100644 --- a/package.json +++ b/package.json @@ -2534,7 +2534,7 @@ "packages/_settingsViewer", "packages/_settingsViewerNext", "packages/client", - "tools/*" + "tools/package-json-dependency-updater" ], "nohoist": [ "@internal/docs", @@ -2569,7 +2569,7 @@ "lint-docs-ci": "prettier -c \"docs/**/*.{md,markdown,yaml,yml,json,html,htm,js,ts}\"", "test-client-integration": "npm --workspace=@internal/integration-tests run test-integration", "test": "npm --workspaces run test", - "update-packages": "npm upgrade && npm i && npx npm-check-updates --root -ws --target minor", + "update-packages": "npx npm-check-updates --root -ws --target semver -u && npm i", "preinstall": "npx only-allow npm" }, "devDependencies": { diff --git a/packages/_server/package.json b/packages/_server/package.json index 5421f9a5cb..deb44ca801 100644 --- a/packages/_server/package.json +++ b/packages/_server/package.json @@ -47,7 +47,7 @@ "dependencies": { "@cspell/cspell-bundled-dicts": "^7.3.6", "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", + "@internal/common-utils": "file:../__utils", "cspell-gitignore": "^7.3.6", "cspell-glob": "^7.3.6", "cspell-lib": "^7.3.6", diff --git a/packages/_serverPatternMatcher/package.json b/packages/_serverPatternMatcher/package.json index d753219ce0..0e5795bcf5 100644 --- a/packages/_serverPatternMatcher/package.json +++ b/packages/_serverPatternMatcher/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@cspell/cspell-types": "^7.3.6", - "@internal/common-utils": "*", + "@internal/common-utils": "file:../__utils", "cspell-lib": "^7.3.6", "regexp-worker": "^2.0.2", "vscode-languageserver-textdocument": "^1.0.8", diff --git a/packages/_settingsViewer/package.json b/packages/_settingsViewer/package.json index 1b9e0c0c96..c51f2a545d 100644 --- a/packages/_settingsViewer/package.json +++ b/packages/_settingsViewer/package.json @@ -19,7 +19,7 @@ "author": "Jason Dent", "license": "MIT", "devDependencies": { - "@internal/locale-resolver": "*", + "@internal/locale-resolver": "file:../__locale-resolver", "@material-ui/core": "^4.12.4", "@material-ui/icons": "^4.11.3", "@types/clone-deep": "^4.0.2", @@ -30,7 +30,6 @@ "clone-deep": "^4.0.1", "eslint-plugin-react": "^7.33.2", "html-webpack-plugin": "^5.5.3", - "mobx-react-devtools": "^6.1.1", "mobx-react-lite": "^3.4.3", "mobx-react": "^7.6.0", "mobx": "^6.10.2", diff --git a/packages/_settingsViewer/src/viewer/components/SettingsViewer.tsx b/packages/_settingsViewer/src/viewer/components/SettingsViewer.tsx index a05201dae9..6b6f3ca4a7 100644 --- a/packages/_settingsViewer/src/viewer/components/SettingsViewer.tsx +++ b/packages/_settingsViewer/src/viewer/components/SettingsViewer.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; import { observer } from 'mobx-react'; -// import DevTools from 'mobx-react-devtools'; import { AppState, Tab as AppTab } from '../AppState'; import { PanelConfig } from './panelConfig'; import { isConfigTarget } from '../../api/settings/settingsHelper'; diff --git a/packages/client/package.json b/packages/client/package.json index d8341cbf26..6af45b406f 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -39,18 +39,18 @@ "watch:tsc": "npm run build:tsc -- --watch" }, "devDependencies": { - "@internal/cspell-helper": "*", - "@internal/locale-resolver": "*", - "@internal/settings-viewer-next": "*", - "@internal/settings-webview": "*", - "@types/jest-when": "^3.5.3", + "@internal/cspell-helper": "file:../__cspell-helper", + "@internal/locale-resolver": "file:../__locale-resolver", + "@internal/settings-viewer-next": "file:../_settingsViewerNext", + "@internal/settings-webview": "file:../_settingsViewer", "@types/jest": "^29.5.5", + "@types/jest-when": "^3.5.3", "@types/kefir": "^3.8.8", "@types/source-map-support": "^0.5.7", "cross-env": "^7.0.3", "cspell-lib": "^7.3.6", - "jest-when": "^3.6.0", "jest": "^29.7.0", + "jest-when": "^3.6.0", "lorem-ipsum": "^2.0.8", "rfdc": "^1.3.0", "source-map-support": "^0.5.21", @@ -61,10 +61,10 @@ }, "dependencies": { "@cspell/cspell-types": "^7.3.6", + "@internal/common-utils": "file:../__utils", + "code-spell-checker-server": "file:../_server", "comment-json": "^4.2.3", - "@internal/common-utils": "*", "kefir": "^3.8.8", - "code-spell-checker-server": "*", "vscode-languageclient": "^8.1.0", "vscode-uri": "^3.0.7", "yaml": "^2.3.2"