Commit f9ab0379 authored by Kristofer Selbekk's avatar Kristofer Selbekk
Browse files

Move publishing components to npm to its own file

parent 0651a476
5 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file,!5360Docusaurus,!5347Port user guide over
Showing with 32 additions and 3 deletions
+32 -3
---
id: publishing-components-to-npm
title: Publishing components to npm
sidebar_label: Publishing to npm
---
Create React App doesn't provide any built-in functionality to publish a component to npm. If you're ready to extract a component from your project so other people can use it, we recommend moving it to a separate directory outside of your project and then using a tool like [nwb](https://github.com/insin/nwb#react-components-and-libraries) to prepare it for publishing.
......@@ -7,15 +7,35 @@
"docs": {
"available-scripts": {
"title": "Available Scripts",
"sidebar_label": "Scripts"
"sidebar_label": "Available scripts"
},
"debugging-tests": {
"title": "Debugging Tests",
"sidebar_label": "Debugging tests"
},
"deployment": {
"title": "Deployment",
"sidebar_label": "Deployment"
},
"getting-started": {
"title": "Getting started",
"sidebar_label": "Getting started"
},
"publishing-components-to-npm": {
"title": "Publishing components to npm",
"sidebar_label": "Publishing to npm"
},
"README": {
"title": "README"
},
"running-tests": {
"title": "Running Tests",
"sidebar_label": "Running tests"
},
"troubleshooting": {
"title": "Troubleshooting",
"sidebar_label": "Troubleshooting"
},
"user-guide": {
"title": "User guide",
"sidebar_label": "User guide"
......@@ -28,7 +48,10 @@
},
"categories": {
"Getting Started": "Getting Started",
"User Guide": "User Guide"
"User Guide": "User Guide",
"Testing": "Testing",
"Deployment": "Deployment",
"Support": "Support"
}
},
"pages-strings": {
......
......@@ -3,7 +3,7 @@
"Getting Started": ["getting-started"],
"User Guide": ["user-guide", "available-scripts"],
"Testing": ["running-tests", "debugging-tests"],
"Deployment": ["deployment"],
"Deployment": ["publishing-components-to-npm", "deployment"],
"Support": ["troubleshooting"]
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment