1
1
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 05:18:29 +00:00

Use bundled version of spectral (#35573)

To reduce the risk of npm supply chain attacks and to speed up
dependency installation, I've
[bundled](https://github.com/silverwind/spectral-cli-bundle) the
spectral package into a zero-dependency module. The upstream package is
pretty dead currently, so I expect to keep up with their updates.

The package
[exports](de05948c53/package.json (L9))
a `spectral` bin script, so `pnpm exec spectral` continues to work
as-is.

In total, this removes 86 dependencies from the npm dependency tree.
This commit is contained in:
silverwind
2025-10-04 00:25:09 +02:00
committed by GitHub
parent 17c8aa6587
commit 6589326e96
2 changed files with 15 additions and 814 deletions

827
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff