question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make syncpack configurable from the 'config' option in package.json

See original GitHub issue

Description

Currently, when configuring syncpack from package.json, it is only configurable with the syncpack option directly in the root of the package.json file. For compatibility with the config option, it would be great if syncpack also checked for the config inside the config option.

Suggested Solution

Have syncpack check for the configuration inside config:

{
  ...
  "config" : {
    "syncpack" : {
      // syncpack configuration
    }
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bombillazocommented, Oct 28, 2022

Thank you!

1reaction
JamieMasoncommented, Oct 28, 2022

Released in 8.3.8, thanks a lot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

syncpack/README.md at master - GitHub
syncpack. Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm ... configuration file (if present), you can use the --config option....
Read more >
syncpack/README.md - UNPKG
3, > Manage multiple package.json files, such as in Lerna Monorepos and Yarn/Pnpm Workspaces ... 19, - [ Configuration File](#-configuration-file).
Read more >
How do I set "Configuration" options for "npm pack" commands?
Navigate to the folder where you want create the package(.tgz ... destination/to/create/package && npm pack path/to/package.json/directory.
Read more >
Common Configuration - electron-builder
Common Configuration. electron-builder configuration can be defined. in the package.json file of your project using the build key on the top level:.
Read more >
Configuration | Lerna
json . Lerna.json. useWorkspaces & packages​. Since Lerna was created, all major package managers (npm, yarn, and pnpm) have ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found