1
00:00:01,589 --> 00:00:06,960
Back at 1pm dotcom, we're going to create a new organization to do so, we need to make sure that we

2
00:00:06,960 --> 00:00:08,550
are already logged into NPM.

3
00:00:09,020 --> 00:00:14,160
Well, then find my little profile icon on a top right hand side and then click on ADD organization.

4
00:00:15,990 --> 00:00:19,230
Once a year will be prompted to add in a name for our organization.

5
00:00:19,620 --> 00:00:21,930
In my case, I'm going to use the name James Note.

6
00:00:22,440 --> 00:00:24,300
Again, this name is unique.

7
00:00:24,330 --> 00:00:26,850
So you are not going to be able to use jazz note.

8
00:00:27,120 --> 00:00:29,910
You're going to have to figure out some other name for your organization.

9
00:00:30,180 --> 00:00:30,780
Totally up to you.

10
00:00:30,780 --> 00:00:32,900
What you use can use any name you want.

11
00:00:32,910 --> 00:00:34,470
It just has to be unique.

12
00:00:35,440 --> 00:00:41,080
Once you enter that Namen, then going to create a free organization so you do not have to pay any money

13
00:00:41,080 --> 00:00:46,360
here, even if it appears that you do, you're going to want to find the option to create a free organization.

14
00:00:46,800 --> 00:00:47,740
I'm going to click on CREATE.

15
00:00:49,090 --> 00:00:53,830
I do not want to invite anyone else to my organization, so I click on Skip and that's it.

16
00:00:54,610 --> 00:00:59,770
I've now created this organization and I can publish packages or school packages into it.

17
00:01:03,060 --> 00:01:09,990
So I've now got my Seelie that I'm going to rename to Jazz Note, local API to Jazz Note local API and

18
00:01:09,990 --> 00:01:11,820
Jazz note to local API.

19
00:01:12,330 --> 00:01:17,190
Now, one thing to be aware of here is that once you are creating a scope package, the second part

20
00:01:17,190 --> 00:01:18,000
of that scope name.

21
00:01:18,030 --> 00:01:21,020
So in other words, local client right here does not need to be unique.

22
00:01:21,360 --> 00:01:22,730
So you can use local client.

23
00:01:22,740 --> 00:01:25,620
It is only the organization name that needs to be unique.

24
00:01:26,930 --> 00:01:31,310
Now that we've come up with this entire new naming scheme up for all of our different packages, let's

25
00:01:31,310 --> 00:01:34,430
go update our different package, JSON files to make use of these names.

26
00:01:36,040 --> 00:01:36,940
It's going to first begin.

27
00:01:38,610 --> 00:01:44,500
Inside my Seelie package, JSON file of my name, I've already got j ust note right there.

28
00:01:45,330 --> 00:01:51,780
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

29
00:01:52,350 --> 00:01:53,120
Lochley API.

30
00:01:53,250 --> 00:01:55,650
And again, you should not have just note right there.

31
00:01:56,040 --> 00:01:56,820
One hundred percent clear.

32
00:01:56,820 --> 00:01:59,490
It's going to whatever organization name you just came up with.

33
00:02:00,670 --> 00:02:04,570
And then finally, inside of local clients, we'll do the same thing.

34
00:02:08,120 --> 00:02:09,009
OK, looks good.

35
00:02:10,180 --> 00:02:15,550
Now, I wish I could say that that is all we have to do, but unfortunately you might recall that in

36
00:02:15,550 --> 00:02:20,470
several locations across these different projects, we have put together little ties or links.

37
00:02:20,880 --> 00:02:27,400
So inside of my Seelie or now I'm calling it Jazz Note inside my Seelie package JSON file, I have listed

38
00:02:27,400 --> 00:02:32,320
inside of your a package name of local API, but that package doesn't actually exist anymore.

39
00:02:32,350 --> 00:02:35,430
It is now named Just Notes Local API.

40
00:02:36,070 --> 00:02:41,830
So unfortunately we have to now go through our three different packages and rename every use of local

41
00:02:41,840 --> 00:02:45,490
API, local client and all that stuff across these three different packages.

42
00:02:45,880 --> 00:02:48,070
We're going have to do a little bit of a refactor here.

43
00:02:48,370 --> 00:02:52,660
Not only do we have to update some package JSON files, we also have to update some different import

44
00:02:52,660 --> 00:02:54,150
statements and things like that as well.

45
00:02:55,530 --> 00:02:58,770
Now, fortunately, I've already put together a list of all the names we need to do.

46
00:02:59,160 --> 00:03:01,770
Let's kick off a very small refactor in the next video.

