Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Add --npmrcpath parameter - #445

Merged
azlam-abdulsalam merged 3 commits into
developfrom
npmrc-parameter
Mar 17, 2021
Merged

azlam-abdulsalam merged 3 commits into
developfrom
npmrc-parameter

Conversation

@aly76

@aly76 aly76 commented Mar 17, 2021 •

Copy link
Copy Markdown
Contributor
  • Add --npmrcpath parameter
  • Make --scope parameter required
  • Fix artifact name capitalisation in Prepare for NPM
  • Parse --scope parameter
    • Remove '@' symbols and convert to lower case

@aly76
aly76 requested a review from azlam-abdulsalam March 17, 2021 01:28

if (!fs.existsSync("package.json")) {
// package json is required in the same directory as .npmrc
fs.writeFileSync("package.json", "{}");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesnt it need atleast 1 attribute?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to create npm compatible packages.

2 participants