Skip to content

Commit 39c08b2

Browse files
authored
chore: refactor renderer init (#6925)
* refactor: remove ampersand-view dependency and update renderer process startup structure - Removed references to `ampersand-view` from `package.json` and `package-lock.json`. - Updated entry point in `webpack.config.js` to use `index.ts` instead of `index.tsx`. - Cleaned up type definitions by removing the `ampersand-view` module declaration. - Refactored `setup-hadron-distribution.ts` to improve clarity and organization. - Introduced a new `application.tsx` file to manage application lifecycle and rendering. - Added global error handling and DNS configuration in `index.ts`. - Removed obsolete `menu-renderer.js` file. - Migrated stateful imports to regular exported functions (eg. CSP in `csp.ts`). * chore: added disclaimer * remove unused properties * drop license override for removed package * remove unnecessary license overrides * more cleanup * move csp * sync package-lock * fix conflicts * sync
1 parent 4efa62e commit 39c08b2

File tree

11 files changed

+438
-2226
lines changed

11 files changed

+438
-2226
lines changed

package-lock.json

Lines changed: 0 additions & 1836 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compass/licenses.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"ignoredOrgs": ["@mongodb-js", "@leafygreen-ui", "@mongosh"],
33
"ignoredPackages": [],
4-
"licenseOverrides": {
5-
6-
7-
8-
}
4+
"licenseOverrides": {}
95
}

packages/compass/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@
242242
"@mongodb-js/webpack-config-compass": "^1.6.10",
243243
"@segment/analytics-node": "^1.1.4",
244244
"@types/minimatch": "^5.1.2",
245-
"ampersand-view": "^9.0.0",
246245
"bson": "^6.10.3",
247246
"chai": "^4.3.4",
248247
"chalk": "^4.1.2",
@@ -260,16 +259,13 @@
260259
"hadron-app-registry": "^9.4.10",
261260
"hadron-build": "^25.7.12",
262261
"hadron-ipc": "^3.4.9",
263-
"local-links": "^1.4.0",
264262
"make-fetch-happen": "^10.2.1",
265-
"marky": "^1.2.1",
266263
"minimatch": "^10.0.1",
267264
"mongodb": "^6.16.0",
268265
"mongodb-build-info": "^1.7.2",
269266
"mongodb-cloud-info": "^2.1.7",
270267
"mongodb-connection-string-url": "^3.0.1",
271268
"mongodb-data-service": "^22.27.1",
272-
"mongodb-instance-model": "^12.31.0",
273269
"mongodb-log-writer": "^2.3.4",
274270
"mongodb-ns": "^2.4.2",
275271
"react": "^17.0.2",

0 commit comments

Comments
 (0)