Back at 1pm dotcom, we're going to create a new organization to do so, we need to make sure that we
are already logged into NPM.
Well, then find my little profile icon on a top right hand side and then click on ADD organization.
Once a year will be prompted to add in a name for our organization.
In my case, I'm going to use the name James Note.
Again, this name is unique.
So you are not going to be able to use jazz note.
You're going to have to figure out some other name for your organization.
Totally up to you.
What you use can use any name you want.
It just has to be unique.
Once you enter that Namen, then going to create a free organization so you do not have to pay any money
here, even if it appears that you do, you're going to want to find the option to create a free organization.
I'm going to click on CREATE.
I do not want to invite anyone else to my organization, so I click on Skip and that's it.
I've now created this organization and I can publish packages or school packages into it.
So I've now got my Seelie that I'm going to rename to Jazz Note, local API to Jazz Note local API and
Jazz note to local API.
Now, one thing to be aware of here is that once you are creating a scope package, the second part
of that scope name.
So in other words, local client right here does not need to be unique.
So you can use local client.
It is only the organization name that needs to be unique.
Now that we've come up with this entire new naming scheme up for all of our different packages, let's
go update our different package, JSON files to make use of these names.
It's going to first begin.
Inside my Seelie package, JSON file of my name, I've already got j ust note right there.
Next up, I'll go into my local API package that on file I'm going to rename this one to at J ust note
Lochley API.
And again, you should not have just note right there.
One hundred percent clear.
It's going to whatever organization name you just came up with.
And then finally, inside of local clients, we'll do the same thing.
OK, looks good.
Now, I wish I could say that that is all we have to do, but unfortunately you might recall that in
several locations across these different projects, we have put together little ties or links.
So inside of my Seelie or now I'm calling it Jazz Note inside my Seelie package JSON file, I have listed
inside of your a package name of local API, but that package doesn't actually exist anymore.
It is now named Just Notes Local API.
So unfortunately we have to now go through our three different packages and rename every use of local
API, local client and all that stuff across these three different packages.
We're going have to do a little bit of a refactor here.
Not only do we have to update some package JSON files, we also have to update some different import
statements and things like that as well.
Now, fortunately, I've already put together a list of all the names we need to do.
Let's kick off a very small refactor in the next video.