Skip to content

Development setup #1334

Closed Answered by axelboc
jarrah42 asked this question in Q&A
Dec 21, 2022 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

This is done by pnpm publishConfig field in the package.json. The fields in publishConfig replace the actual fields in the package.json when publishing the package, hence the change you noticed.

A quick-and-dirty fix may be to manually replicate this behaviour by editing the package.json of the h5web packages of your local h5web setup (that is replacing the fields in package.json by their values of publishConfig).

@loichuder is spot on. If you'd like to automate this instead of having to edit the package.json files manually, you could try using pnpm's pack command:

  1. pnpm packages
  2. cd packages/lib
  3. pnpm pack --pack-destination <dir>
  4. This creates a tarball with the exact same content as t…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@axelboc
Comment options

@axelboc
Comment options

@axelboc
Comment options

@jarrah42
Comment options

@axelboc
Comment options

Answer selected by axelboc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants