Commit 39c08b2
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
* sync1 parent 4efa62e commit 39c08b2
File tree
11 files changed
+438
-2226
lines changed- packages/compass
- src
- app
- utils
- main
11 files changed
+438
-2226
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
9 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | 245 | | |
247 | 246 | | |
248 | 247 | | |
| |||
260 | 259 | | |
261 | 260 | | |
262 | 261 | | |
263 | | - | |
264 | 262 | | |
265 | | - | |
266 | 263 | | |
267 | 264 | | |
268 | 265 | | |
269 | 266 | | |
270 | 267 | | |
271 | 268 | | |
272 | | - | |
273 | 269 | | |
274 | 270 | | |
275 | 271 | | |
| |||
0 commit comments