Compare commits

...

3 Commits

Author SHA1 Message Date
Lexi Sother 04f882b890
[Vercel] please shut up 2021-04-04 18:16:09 +00:00
Ducko f1c60461c3
[Package] Move GooseMod module wrappers to subdir 2021-04-04 18:09:34 +00:00
Ducko 85365c8ace
[Base] Make getting GitHub API info async 2021-04-04 18:03:38 +00:00
9 changed files with 15 additions and 8 deletions

View File

@ -22,12 +22,12 @@
"parcel-bundler": "^1.12.4"
},
"alias": {
"@goosemod/patcher": "./moduleWrappers/patcher.js",
"@goosemod/webpack": "./moduleWrappers/webpack.js",
"@goosemod/logger": "./moduleWrappers/logger.js",
"@goosemod/reactUtils": "./moduleWrappers/reactUtils.js",
"@goosemod/toast": "./moduleWrappers/toast.js",
"@goosemod/settings": "./moduleWrappers/settings.js"
"@goosemod/patcher": "./moduleWrappers/goosemod/patcher.js",
"@goosemod/webpack": "./moduleWrappers/goosemod/webpack.js",
"@goosemod/logger": "./moduleWrappers/goosemod/logger.js",
"@goosemod/reactUtils": "./moduleWrappers/goosemod/reactUtils.js",
"@goosemod/toast": "./moduleWrappers/goosemod/toast.js",
"@goosemod/settings": "./moduleWrappers/goosemod/settings.js"
},
"type": "module"
}

View File

@ -124,8 +124,8 @@ for (const parentRepo of ModuleRepos) {
continue;
}
const githubInfo = await getGithubInfo(repo[0]);
let githubInfo = getGithubInfo(repo[0]);
// console.log(repo);
const url = `https://github.com/${repo[0]}.git`;
@ -181,6 +181,8 @@ for (const parentRepo of ModuleRepos) {
const jsHash = createHash('sha512').update(jsCode).digest('hex');
githubInfo = await githubInfo; // GitHub info is gotten async during other stuff to reduce time
const manifestJson = {
name: manifest.name,
description: manifest.description,

5
vercel.json Normal file
View File

@ -0,0 +1,5 @@
{
"github": {
"silent": true
}
}