The great refactor (#82)

This commit is contained in:
Simon Lecoq authored and GitHub committed 2021-01-30 12:31:09 +01:00
1 parent f8c6d19a4e
commit 682e43e10b
158 files changed
+6738 -5022

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
### 📗 Classic
Default template, mimicking GitHub visual identity.
<table>
<td align="center">
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.classic.svg">
<img width="900" height="1" alt="">
</td>
</table>
#### ℹ️ Examples workflows
```yaml
- uses: lowlighter/metrics@latest
with:
# ... other options
template: classic
```
@@ -0,0 +1 @@
<%# Included in base.repositories.ejs %>
@@ -0,0 +1 @@
<%# Included in base.repositories.ejs %>
+2 -5
View File
@@ -1,8 +1,5 @@
//Imports
import common from "./../common.mjs"
/** Template processor */
export default async function ({login, q}, {conf, data, rest, graphql, plugins, queries}, {s, pending, imports}) {
//Common
await common(...arguments)
//Core
await imports.plugins.core(...arguments)
}