diff --git a/package.json b/package.json index ebba23c..7fc8dab 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,9 @@ "test": "xo && stylelint 'source/**/*.scss' && tsc && c8 ava" }, "dependencies": { - "@holllo/gram": "^0.2.1", + "@holllo/migration-helper": "^0.1.3", + "@holllo/preact-components": "^0.2.3", "htm": "^3.1.1", - "migration-helper": "^0.1.2", "modern-normalize": "^1.1.0", "preact": "^10.11.0", "webextension-polyfill": "^0.10.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c0ab7c8..6be0e48 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,14 +1,14 @@ lockfileVersion: 5.4 specifiers: - '@holllo/gram': ^0.2.1 + '@holllo/migration-helper': ^0.1.3 + '@holllo/preact-components': ^0.2.3 '@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/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 - migration-helper: 0.1.2 modern-normalize: 1.1.0 preact: 10.11.0 webextension-polyfill: 0.10.0 @@ -420,8 +420,12 @@ packages: - supports-color dev: true - /@holllo/gram/0.2.1_htm@3.1.1+preact@10.11.0: - resolution: {integrity: sha512-F09w4w6NwYvLjRQbVcrD8gEdKd/g3iTs5dz3RbaMkT38ggToHoOO6K7UgHG2LkHaa9NGNz1gx1Hrg1TgXeAnXg==} + /@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==} peerDependencies: htm: 3.x preact: 10.x @@ -5020,10 +5024,6 @@ 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'} diff --git a/source/options/components/page-footer.ts b/source/options/components/page-footer.ts index 4d74d32..ed379bb 100644 --- a/source/options/components/page-footer.ts +++ b/source/options/components/page-footer.ts @@ -1,4 +1,4 @@ -import {PrivacyLink} from '@holllo/gram'; +import {PrivacyLink} from '@holllo/preact-components'; import {html} from 'htm/preact'; import {Component} from 'preact'; diff --git a/source/options/components/page-main.ts b/source/options/components/page-main.ts index 3162d38..f7dc153 100644 --- a/source/options/components/page-main.ts +++ b/source/options/components/page-main.ts @@ -1,4 +1,4 @@ -import {ConfirmButton, PrivacyLink} from '@holllo/gram'; +import {ConfirmButton, PrivacyLink} from '@holllo/preact-components'; import {Component, html} from 'htm/preact'; import type {Settings} from '../../settings/settings.js'; diff --git a/source/settings/migrations.ts b/source/settings/migrations.ts index c1e7fea..df63d96 100644 --- a/source/settings/migrations.ts +++ b/source/settings/migrations.ts @@ -1,4 +1,4 @@ -import type {Migration} from 'migration-helper'; +import type {Migration} from '@holllo/migration-helper'; export const dataMigrations: Array> = [ { diff --git a/source/settings/settings.ts b/source/settings/settings.ts index 2f208cf..027cb07 100644 --- a/source/settings/settings.ts +++ b/source/settings/settings.ts @@ -1,6 +1,6 @@ import browser from 'webextension-polyfill'; -import {migrate} from 'migration-helper'; +import {migrate} from '@holllo/migration-helper'; import {History} from '../utilities/history.js'; import {