You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log("package.json file written successfully\n",data);
35
+
}
36
+
37
+
asyncfunctionverifyRepoIsPublic(){
38
+
if(!context.payload.repository.private){
39
+
console.log("Repository is public, all good.");
40
+
return;
41
+
}
42
+
console.log("Repository must be public to publish",
43
+
`Repository must be public to publish the extension to the extension store.\n
44
+
If you want to create a private source extension, create another public repo just to create releases an publich the extension without making the source code public.`
Quick start and create a new extension by using this template. Follow the below 4 steps:
4
+
5
+
Refer this [link](https://github.com/phcode-dev/phoenix/wiki/How-To-Write-Extensions-And-Themes) for detailed extension docs after following the below steps:
6
+
7
+
## step 1
8
+
9
+
Login with github: https://github.com/login
10
+
11
+
## step 2
12
+
13
+
Create a new repository using this template.
14
+

15
+
16
+
## step 3
17
+
18
+
* Clone your GitHub Repo created from `step 2`. See [this link](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) to lean how to clone a repository from GitHub.
19
+
20
+
## step 4
21
+
22
+
* Go to https://create.phcode.dev .This is a special development centric website of phcode.dev which shows non minified js/css files in the browser developer tools.
23
+
* Open the cloned folder and select `Debug > Load Project As Extension`
0 commit comments