Skip to content

ci: strip devDependencies from published package.json - #4442

Merged
mfazekas merged 1 commit into
mainfrom
fix/publish-strip-devdeps
Nov 8, 2026
Merged

mfazekas merged 1 commit into
mainfrom
fix/publish-strip-devdeps

Conversation

@mfazekas

@mfazekas mfazekas commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Description

Snack now rejects packages with non-semver specifiers in any dependency section, including devDependencies (expo/snack#713), so every published @rnmapbox/maps fails on the react-docgen git dependency and the docs "Edit in Snack" links are broken. The publish workflow now builds explicitly, removes devDependencies from package.json, and publishes with --ignore-scripts; locally the packed tarball has the same 1290 files with only package.json differing.

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
  • I added/updated a sample - if a new feature was implemented (/example)

@mfazekas
mfazekas merged commit e7a3a9a into main Nov 8, 2026
28 of 30 checks passed
@mfazekas
mfazekas deleted the fix/publish-strip-devdeps branch November 8, 2026 10:23

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant