Commit 0b62710
authored
chore: update dependencies and improve package configurations (#203)
* chore: update dependencies and improve package configurations
- Updated various package dependencies to their latest versions, including `@biomejs/biome`, `@types/node`, `@typescript-eslint/parser`, and `eslint` packages.
- Enhanced `pnpm` configurations for better dependency management.
- Adjusted `package.json` files across multiple projects to ensure consistency in dependency versions and improve overall project stability.
- Reformatted `package.json` files for better readability by aligning array elements and improving structure.
* chore: update Node.js version in .nvmrc
- Changed the Node.js version in the .nvmrc file from v24 to 24 for consistency with project requirements.
* chore: update Node.js version requirement in package.json
- Changed the Node.js version requirement from ">=18 || >=20" to ">=20" to align with the project's updated compatibility standards.
* chore: update TypeScript and Vite dependencies in package.json
- Updated TypeScript version from "^5.0.0" to "^5.9.3" for improved features and performance.
- Downgraded Vite version from "^8.0.0" to "^7.3.1" to maintain compatibility with existing project configurations.
* chore: standardize Node.js version requirement across packages
- Updated the Node.js version requirement in multiple package.json files from ">=18 || >=20" to ">=20" to ensure consistency and align with the project's compatibility standards.
* chore: update lockfile
* test(electron): update function declaration assertion in executeCdp tests
- Modified the function declaration in the `executeCdp.spec.ts` to use `expect.stringMatching` for improved assertion accuracy, ensuring the function format is correctly validated during tests.
* chore: update Node.js version requirement in package.json files
- Changed the Node.js version requirement from ">=20" to "^20.19.0 || >=22.12.0" in multiple package.json files to ensure compatibility with newer Node.js versions and maintain consistency across the project.
* chore: update package dependencies and versions
- Reintroduced `tsx` dependency in `bundler` and `tauri-plugin` with updated version.
- Downgraded `vitest` version to `^4.0.18` across multiple packages for compatibility.
- Replaced `@puppeteer/browsers` with `@electron/packager` in `electron-service` and updated its version.
- Added new dependencies `deepmerge-ts` and `find-versions` in `electron-service`.
- Removed unnecessary dependencies and ensured consistency in package configurations across various modules.
* chore: replace `find-up` with `find-up-simple` in package dependencies
- Updated `find-up` to `find-up-simple` in `bundler` and `native-utils` package.json files to reflect the new dependency structure.
- Adjusted import statements in relevant TypeScript files to use `find-up-simple` for consistency across the codebase.
- Added `@electron/packager` dependency in `native-utils` with the specified version.
* refactor: move electron-specific `native-utils` functionality into the electron service
* feat(electron-service): export additional utility functions for app build info and binary paths
* test: update imports to use `@wdio/electron-service` for electron utilities
* test: update import for `isOk` utility from `@wdio/native-utils` in electron config
* chore: remove unused dependencies from native-utils
- Deleted `deepmerge-ts` and `find-versions` from `native-utils` package.json and updated the pnpm-lock.yaml accordingly to reflect these changes.
* fix: add electron external to electron-vite configs to prevent bundling
This fixes the 'Electron failed to install correctly' error that occurs
when electron-vite bundles the electron shim code instead of keeping it
as an external import. The bundled code includes a getElectronPath()
function that looks for path.txt at runtime, which doesn't exist in the
packaged app.1 parent 770d890 commit 0b62710
58 files changed
Lines changed: 1826 additions & 1730 deletions
File tree
- docs
- e2e
- test/electron/standalone
- fixtures
- e2e-apps
- electron-builder
- electron-forge
- electron-script
- tauri
- package-tests
- electron-builder-app-cjs
- electron-builder-app-esm
- electron-forge-app-cjs
- electron-forge-app-esm
- electron-script-app-cjs
- electron-script-app-esm
- tauri-app
- packages
- bundler
- src
- electron-cdp-bridge
- electron-service
- src
- config
- test
- __mock__
- commands
- config
- mocks
- native-spy
- native-types
- native-utils
- src
- test
- tauri-plugin
- tauri-service
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments