Merge branch 'main' into main

This commit is contained in:
Akshay Nair authored and GitHub committed 2020-10-31 19:21:08 +05:30
commit d313ad15c4
15 files changed
+116 -12

No files matched your search

+2 -1
View File
@@ -23,7 +23,8 @@
### For github pages users
* A github pages json file will look something like this -
* You can take a look at the [github pages guide](https://guides.github.com/features/pages/) if you need help with setting up a website with github pages.
* Your json file will look something like this -
```json
{
"description": "Add some description",
-2
View File
@@ -4,8 +4,6 @@
is-a-dev is a service that allows developers to get a sweet-looking `.is-a.dev` domain for their personal websites.
Note: This service is currently in **beta** so expect some delays in PR merge and report any issues you encounter so that the service can be improved.
## How do I register?
+4 -2
View File
@@ -5,5 +5,7 @@
"username": "phenax",
"email": "phenax5@gmail.com"
},
"record": {}
}
"record": {
"URL": "https://www.is-a.dev"
}
}
+1 -1
View File
@@ -6,6 +6,6 @@
"email": "baby@alvindaldi.my.id"
},
"record": {
"CNAME": "aizuu.my.id"
"URL": "https://aizuu.my.id"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"description": "My personal portfolio",
"repo": "https://github.com/amar13mehta/amar13mehta.github.io",
"owner": {
"username": "amar13mehta",
"email": "amar13iam@gmail.com"
},
"record": {
"CNAME": "amar13mehta.github.io"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"description": "Echo's personal website",
"repo": "https://github.com/echo2477/echo2477.github.io",
"owner": {
"username": "echo2477",
"email": "pku.eko16@gmail.com"
},
"record": {
"CNAME": "echo2477.github.io"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"description": "Portfolio website",
"repo": "https://github.com/dkaviarasu/dkaviarasu.github.io",
"owner": {
"username": "dkaviarasu",
"email": "",
"twitter": "kaviarasudm"
},
"record": {
"CNAME": "dkaviarasu.github.io"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"description": "Liju's personal development page",
"repo": "https://github.com/lijujayakumar/lijujayakumar.github.io",
"owner": {
"username": "lijujayakumar",
"email": "lijusankar@email"
},
"record": {
"CNAME": "lijujayakumar.github.io"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"description": "Mohaned's personal website",
"repo": "https://github.com/mohanedashraf/mohanedashraf.github.io",
"owner": {
"username": "mohanedashraf",
"email": "",
"twitter": "mohanedzz"
},
"record": {
"CNAME": "mohanedashraf.github.io"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"description": "Prabhakaran J M is a dev",
"repo": "https://github.com/prajaymas/prajaymas.github.io",
"owner": {
"username": "prabhakaranjm",
"email": "prabhakaran.jm@gmail.com"
},
"record": {
"CNAME": "prajaymas.github.io"
}
}
+3 -3
View File
@@ -1,11 +1,11 @@
{
"description": "Tharindu's personal developer website",
"repo": "https://github.com/tharindusathis/tharindu",
"repo": "https://github.com/tharindusathis/tharindusathis.github.io",
"owner": {
"username": "tharindusathis",
"email": "tharindu.sathis@gmail.com"
},
"record": {
"CNAME": "tharindu.vercel.app"
"CNAME": "tharindusathis.github.io"
}
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"description": "Willian Arsenio's Website",
"repo": "https://github.com/waveiro/waveiro.github.io",
"owner": {
"username": "waveiro",
"email": "",
"twitter": "@waveiro"
},
"record": {
"CNAME": "waveiro.github.io"
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"description": "A First Willo`s Website",
"repo": "https://github.com/WilloIzCitron/willoizcitron.github.io",
"owner": {
"username": "WilloIzCitron",
"email": "",
"twitter": "tegasaziz"
},
"record": {
"CNAME": "willoizcitron.github.io"
}
}
+11
View File
@@ -0,0 +1,11 @@
{
"description":"YajTPG's website",
"repo":"https://github.com/YajTPG/yajtpg.github.io",
"owner":{
"username":"YajTPG",
"email":"yajtpg@gmail.com"
},
"record":{
"CNAME": "yajtpg.github.io"
}
}
+3 -3
View File
@@ -6,7 +6,7 @@ const { then, log, print, lazyTask, batchLazyTasks } = require('./helpers');
const BATCH_SIZE = 1;
const recordToRedirection = ({ name, address }) => ({
domain: `${name}.${DOMAIN_DOMAIN}`,
domain: name === '@' ? DOMAIN_DOMAIN : `${name}.${DOMAIN_DOMAIN}`,
redirect: address,
type: 'permanent',
redirect_wildcard: 1,
@@ -20,7 +20,7 @@ const recordToZone = ({ name, type, address, id }) => ({
...(type === 'CNAME' ? { cname: address } : {}),
});
const cleanName = name => `${name}`.replace(new RegExp(`\\.${DOMAIN_DOMAIN}\\.?$`), '').toLowerCase();
const cleanName = name => name === DOMAIN_DOMAIN ? '@' : `${name}`.replace(new RegExp(`\\.${DOMAIN_DOMAIN}\\.?$`), '').toLowerCase();
const zoneToRecord = ({ name, type, cname, address, record, line: id }) => ({
id,
@@ -42,7 +42,7 @@ const diffRecords = (oldRecords, newRecords) => {
const remove = R.differenceWith(isMatchingRecord, oldRecords, newRecords);
const add = R.differenceWith(isMatchingRecord, newRecords, oldRecords)
.filter(r => !['www', '@'].includes(r.name));
.filter(r => !['www'].includes(r.name));
return { add, remove };
};