-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the GhAct Framework #21
Conversation
Status, | ||
STATUS_TEXT, | ||
} from "./deps.ts"; | ||
import frontend from "ghact/src/frontend.tsx" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this not imported via depts.ts? This will make builds take longer and have worse caching for no apparent reason
"imports": { | ||
"ghact/": "https://deno.land/x/[email protected]/", | ||
"std/": "https://deno.land/[email protected]/", | ||
"preact": "https://esm.sh/[email protected]", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is preact and why are we using it suddenly?
"preact/": "https://esm.sh/[email protected]/" | ||
}, | ||
"compilerOptions": { | ||
"jsx": "react-jsx", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we use jsx?
@@ -4,247 +4,167 @@ | |||
* The jobs are accepted as messages and stored on disk, when the worker is started uncompleted jobs are picked up and exxecuted. | |||
|
|||
*/ | |||
import { existsSync, path, walk } from "./deps.ts"; | |||
import GhactServiceWorker from "ghact/src/GhactServiceWorker.ts"; | |||
import GitRepository from "ghact/src/GitRepository.ts"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, why is this not imported via depts.ts?
import { createBadge } from "./log.ts"; | ||
import { type Job, JobsDataBase } from "./JobsDataBase.ts"; | ||
import { getModifiedAfter, updateLocalData } from "./repoActions.ts"; | ||
import { type Job } from "https://deno.land/x/[email protected]/src/JobsDataBase.ts"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this import use a different version of ghact?
No description provided.