Skip to content

[v2]: Add option to skip dependency install when initializing new Docusaurus project #3450

Description

@facultymatt

🚀 Feature

When initializing a new Docusaurus project, a user might wish to skip the dependency install and handle it later on their own. This would be done by passing a flag such as npx @docusaurus/init@next init [name] [template] --skip-install . This is supported in other React ecosystem libraries such as Storybook, and there is an open issue on Create React App for this feature, too: react/create-react-app#7568

Have you read the Contributing Guidelines on issues?

Yes

Motivation

This feature would be especially useful when installing Docusarus as one of many packages in a project and wanting to install all dependencies at one time at the end to help avoid conflicts and speed up each individual install. A Lerna project or Yarn Workspace comes to mind.

Pitch

Run npx @docusaurus/init@next init [name] [template] --skip-install and get work done faster!

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.hacktoberfesthelp wantedAsking for outside help and/or contributions to this particular issue or PR.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions