Compare commits
2 Commits
526642158c
...
ab6ef97d91
Author | SHA1 | Date |
---|---|---|
Bauke | ab6ef97d91 | |
Bauke | f54b3d6712 |
|
@ -11,9 +11,9 @@
|
||||||
"test": "xo && stylelint 'source/**/*.scss' && tsc && c8 ava"
|
"test": "xo && stylelint 'source/**/*.scss' && tsc && c8 ava"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@holllo/gram": "^0.2.1",
|
"@holllo/migration-helper": "^0.1.3",
|
||||||
|
"@holllo/preact-components": "^0.2.3",
|
||||||
"htm": "^3.1.1",
|
"htm": "^3.1.1",
|
||||||
"migration-helper": "^0.1.2",
|
|
||||||
"modern-normalize": "^1.1.0",
|
"modern-normalize": "^1.1.0",
|
||||||
"preact": "^10.11.0",
|
"preact": "^10.11.0",
|
||||||
"webextension-polyfill": "^0.10.0"
|
"webextension-polyfill": "^0.10.0"
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
lockfileVersion: 5.4
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
specifiers:
|
specifiers:
|
||||||
'@holllo/gram': ^0.2.1
|
'@holllo/migration-helper': ^0.1.3
|
||||||
|
'@holllo/preact-components': ^0.2.3
|
||||||
'@preact/preset-vite': ^2.4.0
|
'@preact/preset-vite': ^2.4.0
|
||||||
'@types/babel__core': ^7.1.19
|
'@types/babel__core': ^7.1.19
|
||||||
'@types/webextension-polyfill': ^0.9.1
|
'@types/webextension-polyfill': ^0.9.1
|
||||||
ava: ^4.3.3
|
ava: ^4.3.3
|
||||||
c8: ^7.12.0
|
c8: ^7.12.0
|
||||||
htm: ^3.1.1
|
htm: ^3.1.1
|
||||||
migration-helper: ^0.1.2
|
|
||||||
modern-normalize: ^1.1.0
|
modern-normalize: ^1.1.0
|
||||||
postcss: ^8.4.16
|
postcss: ^8.4.16
|
||||||
preact: ^10.11.0
|
preact: ^10.11.0
|
||||||
|
@ -25,9 +25,9 @@ specifiers:
|
||||||
xo: ^0.52.3
|
xo: ^0.52.3
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@holllo/gram': 0.2.1_htm@3.1.1+preact@10.11.0
|
'@holllo/migration-helper': 0.1.3
|
||||||
|
'@holllo/preact-components': 0.2.3_htm@3.1.1+preact@10.11.0
|
||||||
htm: 3.1.1
|
htm: 3.1.1
|
||||||
migration-helper: 0.1.2
|
|
||||||
modern-normalize: 1.1.0
|
modern-normalize: 1.1.0
|
||||||
preact: 10.11.0
|
preact: 10.11.0
|
||||||
webextension-polyfill: 0.10.0
|
webextension-polyfill: 0.10.0
|
||||||
|
@ -420,8 +420,12 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@holllo/gram/0.2.1_htm@3.1.1+preact@10.11.0:
|
/@holllo/migration-helper/0.1.3:
|
||||||
resolution: {integrity: sha512-F09w4w6NwYvLjRQbVcrD8gEdKd/g3iTs5dz3RbaMkT38ggToHoOO6K7UgHG2LkHaa9NGNz1gx1Hrg1TgXeAnXg==}
|
resolution: {integrity: sha512-55jJKbFLcYVIahDgswyEQksxp0eC7sRmxJyVNAHnqxEuk31aqyQKFs9f+2f5VacgCXssKfyNsJ+dTtOvlm3DwA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
|
/@holllo/preact-components/0.2.3_htm@3.1.1+preact@10.11.0:
|
||||||
|
resolution: {integrity: sha512-NKpQiihUHFxEgKrpJfGIE0fBh1b2YannfQ8F6a0RKv/8gdikB/F7S3p9allFhx31VIogE5TO19ntD+rPbxczRA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
htm: 3.x
|
htm: 3.x
|
||||||
preact: 10.x
|
preact: 10.x
|
||||||
|
@ -5020,10 +5024,6 @@ packages:
|
||||||
picomatch: 2.3.1
|
picomatch: 2.3.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/migration-helper/0.1.2:
|
|
||||||
resolution: {integrity: sha512-2ZiOVWqKwGL/hx5xCOXKqfNc7aB6Kz/YC4W/vlVd3v1mmnAl4wQb9jGfBZYnKS8Yc+EBCMYsbAhZJFsqcmqyfg==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/mime-db/1.52.0:
|
/mime-db/1.52.0:
|
||||||
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
|
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
|
||||||
engines: {node: '>= 0.6'}
|
engines: {node: '>= 0.6'}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {PrivacyLink} from '@holllo/gram';
|
import {PrivacyLink} from '@holllo/preact-components';
|
||||||
import {html} from 'htm/preact';
|
import {html} from 'htm/preact';
|
||||||
import {Component} from 'preact';
|
import {Component} from 'preact';
|
||||||
|
|
||||||
|
@ -13,6 +13,13 @@ export class PageFooter extends Component<Props> {
|
||||||
const {settings} = this.props;
|
const {settings} = this.props;
|
||||||
const version = settings.manifest.version;
|
const version = settings.manifest.version;
|
||||||
|
|
||||||
|
const donateAttributes = {
|
||||||
|
href: 'https://liberapay.com/Holllo',
|
||||||
|
};
|
||||||
|
const donateLink = html`
|
||||||
|
<${PrivacyLink} attributes="${donateAttributes}">Donate<//>
|
||||||
|
`;
|
||||||
|
|
||||||
const versionAttributes = {
|
const versionAttributes = {
|
||||||
href: `https://git.bauke.xyz/Holllo/queue/releases/tag/${version}`,
|
href: `https://git.bauke.xyz/Holllo/queue/releases/tag/${version}`,
|
||||||
};
|
};
|
||||||
|
@ -22,7 +29,10 @@ export class PageFooter extends Component<Props> {
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<footer class="page-footer">
|
<footer class="page-footer">
|
||||||
<p>💖 ${versionLink} © Holllo — Free and open-source, forever.</p>
|
<p>
|
||||||
|
${donateLink} 💖 ${versionLink} © Holllo — Free and open-source,
|
||||||
|
forever.
|
||||||
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {ConfirmButton, PrivacyLink} from '@holllo/gram';
|
import {ConfirmButton, PrivacyLink} from '@holllo/preact-components';
|
||||||
import {Component, html} from 'htm/preact';
|
import {Component, html} from 'htm/preact';
|
||||||
|
|
||||||
import type {Settings} from '../../settings/settings.js';
|
import type {Settings} from '../../settings/settings.js';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import type {Migration} from 'migration-helper';
|
import type {Migration} from '@holllo/migration-helper';
|
||||||
|
|
||||||
export const dataMigrations: Array<Migration<string>> = [
|
export const dataMigrations: Array<Migration<string>> = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import browser from 'webextension-polyfill';
|
import browser from 'webextension-polyfill';
|
||||||
|
|
||||||
import {migrate} from 'migration-helper';
|
import {migrate} from '@holllo/migration-helper';
|
||||||
|
|
||||||
import {History} from '../utilities/history.js';
|
import {History} from '../utilities/history.js';
|
||||||
import {
|
import {
|
||||||
|
|
Loading…
Reference in New Issue