Compare commits

..

No commits in common. "ab6ef97d91e0cbf31cdba8a3b7d72c89496da459" and "526642158c79970b86c9e2cd32cc5737b09e7d71" have entirely different histories.

6 changed files with 17 additions and 27 deletions

View File

@ -11,9 +11,9 @@
"test": "xo && stylelint 'source/**/*.scss' && tsc && c8 ava"
},
"dependencies": {
"@holllo/migration-helper": "^0.1.3",
"@holllo/preact-components": "^0.2.3",
"@holllo/gram": "^0.2.1",
"htm": "^3.1.1",
"migration-helper": "^0.1.2",
"modern-normalize": "^1.1.0",
"preact": "^10.11.0",
"webextension-polyfill": "^0.10.0"

View File

@ -1,14 +1,14 @@
lockfileVersion: 5.4
specifiers:
'@holllo/migration-helper': ^0.1.3
'@holllo/preact-components': ^0.2.3
'@holllo/gram': ^0.2.1
'@preact/preset-vite': ^2.4.0
'@types/babel__core': ^7.1.19
'@types/webextension-polyfill': ^0.9.1
ava: ^4.3.3
c8: ^7.12.0
htm: ^3.1.1
migration-helper: ^0.1.2
modern-normalize: ^1.1.0
postcss: ^8.4.16
preact: ^10.11.0
@ -25,9 +25,9 @@ specifiers:
xo: ^0.52.3
dependencies:
'@holllo/migration-helper': 0.1.3
'@holllo/preact-components': 0.2.3_htm@3.1.1+preact@10.11.0
'@holllo/gram': 0.2.1_htm@3.1.1+preact@10.11.0
htm: 3.1.1
migration-helper: 0.1.2
modern-normalize: 1.1.0
preact: 10.11.0
webextension-polyfill: 0.10.0
@ -420,12 +420,8 @@ packages:
- supports-color
dev: true
/@holllo/migration-helper/0.1.3:
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==}
/@holllo/gram/0.2.1_htm@3.1.1+preact@10.11.0:
resolution: {integrity: sha512-F09w4w6NwYvLjRQbVcrD8gEdKd/g3iTs5dz3RbaMkT38ggToHoOO6K7UgHG2LkHaa9NGNz1gx1Hrg1TgXeAnXg==}
peerDependencies:
htm: 3.x
preact: 10.x
@ -5024,6 +5020,10 @@ packages:
picomatch: 2.3.1
dev: true
/migration-helper/0.1.2:
resolution: {integrity: sha512-2ZiOVWqKwGL/hx5xCOXKqfNc7aB6Kz/YC4W/vlVd3v1mmnAl4wQb9jGfBZYnKS8Yc+EBCMYsbAhZJFsqcmqyfg==}
dev: false
/mime-db/1.52.0:
resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}
engines: {node: '>= 0.6'}

View File

@ -1,4 +1,4 @@
import {PrivacyLink} from '@holllo/preact-components';
import {PrivacyLink} from '@holllo/gram';
import {html} from 'htm/preact';
import {Component} from 'preact';
@ -13,13 +13,6 @@ export class PageFooter extends Component<Props> {
const {settings} = this.props;
const version = settings.manifest.version;
const donateAttributes = {
href: 'https://liberapay.com/Holllo',
};
const donateLink = html`
<${PrivacyLink} attributes="${donateAttributes}">Donate<//>
`;
const versionAttributes = {
href: `https://git.bauke.xyz/Holllo/queue/releases/tag/${version}`,
};
@ -29,10 +22,7 @@ export class PageFooter extends Component<Props> {
return html`
<footer class="page-footer">
<p>
${donateLink} 💖 ${versionLink} © Holllo Free and open-source,
forever.
</p>
<p>💖 ${versionLink} © Holllo Free and open-source, forever.</p>
</footer>
`;
}

View File

@ -1,4 +1,4 @@
import {ConfirmButton, PrivacyLink} from '@holllo/preact-components';
import {ConfirmButton, PrivacyLink} from '@holllo/gram';
import {Component, html} from 'htm/preact';
import type {Settings} from '../../settings/settings.js';

View File

@ -1,4 +1,4 @@
import type {Migration} from '@holllo/migration-helper';
import type {Migration} from 'migration-helper';
export const dataMigrations: Array<Migration<string>> = [
{

View File

@ -1,6 +1,6 @@
import browser from 'webextension-polyfill';
import {migrate} from '@holllo/migration-helper';
import {migrate} from 'migration-helper';
import {History} from '../utilities/history.js';
import {