web: audit and update package.json and associated test harness, with upgrade to WebdriverIO 9 (#11596)

* Just cleaning up.

* web: removing sonarjs from yet another branch.

* web: everything except the tests are up-to-date.  There was a lot, it turns out, we simply weren't using.

* web: update package.json to support WebdriverIO 9

This commit:

- Upgrades to WebdriverIO 9.1.2
- Resets our `devDependencies` collection to remove all imports that we either were not using or
  were duplicates of existing dependencies:
  - *Babel*, of all things
  - Storybook addon css user preferences, now native to Storybook 8
  - SonarJS, *again*, sigh.
  - React

- Fixes a bug where ESLint would report missing features in our build scripts
- Fixes a bug where Wdio might not reach a headless browser before timeout
- Replaces Rollup's CSSLit with Vite's CSSLit, which actually works without hacks, for testing.
- Moves the package-lock scanner to its own script, with better reporting and tool verification,
  which also cleans up the package.lock file a little.

* Prettier just havin' all the opinions.
This commit is contained in:
Ken Sternberg
2024-10-03 08:11:05 -07:00
committed by GitHub
parent 5d65fa2aab
commit dec8cfbb39
14 changed files with 3528 additions and 13974 deletions

View File

@ -63,6 +63,7 @@ export default [
},
globals: {
...globals.nodeBuiltin,
...globals.node,
},
},
files: ["scripts/*.mjs", "*.ts", "*.mjs"],