Commit 8b2af86
CL-7155 | fix dependency placement for rollup plugin and type packages
@rollup/plugin-typescript sat in dependencies but nothing imports it —
src/util/cloud-function/cloud-functions.ts only uses rollup,
@rollup/plugin-node-resolve, @rollup/plugin-commonjs and
@rollup/plugin-json (verified by grepping every rollup import in src).
It also declares a non-optional peer on typescript, which is a
devDependency here only, so an end user installing this plugin would
hit an unmet peer or drag a second typescript tree into a production
install. Removed it.
@types/express and @types/express-serve-static-core are type-only
packages that belong in devDependencies, not dependencies. Moved them.
Regenerated package-lock.json against the Contentstack npm registry and
verified a from-clean rm -rf dist && npm run build still passes.
#claude_code#
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5fb37fc commit 8b2af86
2 files changed
Lines changed: 18 additions & 32 deletions
Some 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 | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
| |||
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
| 40 | + | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments