@bandress-dumbasses/lame
Advanced tools
Comparing version 0.0.4-1 to 0.0.4
{ | ||
"name": "@bandress-dumbasses/lame", | ||
"version": "0.0.4-1", | ||
"version": "0.0.4", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/brainthinks/lame-test.git", |
@@ -1,3 +0,13 @@ | ||
# LAME | ||
# LAME <!-- omit in toc --> | ||
Informal notes on working with org-scoped projects in the npm registry. | ||
## Table of Contents <!-- omit in toc --> | ||
- [Create a new org-scoped project](#create-a-new-org-scoped-project) | ||
- [Modify an existing project to have an org scope](#modify-an-existing-project-to-have-an-org-scope) | ||
- [References](#references) | ||
## Create a new org-scoped project | ||
@@ -37,3 +47,12 @@ | ||
1. | ||
1. Add the `.npmrc` file that contains the `scope` and `access` configurations | ||
1. Add the `repository` property to the `package.json` file, where the value is the git url | ||
1. e.g. `"repository": "https://github.com/brainthinks/lame-test.git",` | ||
1. Find all instances in the project where the `name` property from the `package.json` is used | ||
1. You may need to change them from `name` to `name.split('/').pop()` | ||
1. Commit and push all changes | ||
1. Version the project: | ||
1. `yarn version --new-version 0.0.1` | ||
1. Publish the project | ||
1. `npm publish` | ||
@@ -40,0 +59,0 @@ ## References |
2397
62