Compare commits
6 Commits
a5d288c558
...
c5a38cf4ac
Author | SHA1 | Date |
---|---|---|
Bauke | c5a38cf4ac | |
Bauke | c25fb4ece4 | |
Bauke | 1080648ead | |
Bauke | d8d0f76497 | |
Bauke | 7c38f3c882 | |
Bauke | 62e8a6cb4d |
|
@ -1,7 +1,7 @@
|
|||
# Holllo Preact Components 🧵
|
||||
# Preact Components 🧵
|
||||
|
||||
> **Holllo's Preact component library.**
|
||||
|
||||
## License
|
||||
|
||||
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/Holllo/holllo-preact-components/src/branch/main/LICENSE) for more information.
|
||||
Distributed under the [AGPL-3.0-or-later](https://spdx.org/licenses/AGPL-3.0-or-later.html) license, see [LICENSE](https://git.bauke.xyz/Holllo/preact-components/src/branch/main/LICENSE) for more information.
|
||||
|
|
34
package.json
34
package.json
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@holllo/gram",
|
||||
"description": "Opinionated component library using HTM & Preact.",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"version": "0.2.1",
|
||||
"author": "Holllo <helllo@holllo.cc>",
|
||||
"name": "@holllo/preact-components",
|
||||
"description": "Holllo's Preact component library.",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"version": "0.2.2",
|
||||
"author": "Holllo <helllo@holllo.org>",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Holllo/gram"
|
||||
"url": "https://git.bauke.xyz/Holllo/preact-components"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
|
@ -15,15 +15,15 @@
|
|||
"test:snapshots": "ava --update-snapshots"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@happy-dom/global-registrator": "^2.47.3",
|
||||
"ava": "^4.0.1",
|
||||
"c8": "^7.11.0",
|
||||
"htm": "^3.1.0",
|
||||
"preact": "^10.6.6",
|
||||
"preact-render-to-string": "^5.1.20",
|
||||
"ts-node": "^10.6.0",
|
||||
"typescript": "^4.6.2",
|
||||
"xo": "^0.48.0"
|
||||
"@happy-dom/global-registrator": "^6.0.4",
|
||||
"ava": "^4.3.3",
|
||||
"c8": "^7.12.0",
|
||||
"htm": "^3.1.1",
|
||||
"preact": "^10.11.0",
|
||||
"preact-render-to-string": "^5.2.4",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.8.4",
|
||||
"xo": "^0.52.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"htm": "3.x",
|
||||
|
@ -65,6 +65,10 @@
|
|||
},
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"rules": {
|
||||
"@typescript-eslint/consistent-type-imports": "off",
|
||||
"n/file-extension-in-import": "off"
|
||||
},
|
||||
"space": true
|
||||
}
|
||||
}
|
||||
|
|
1289
pnpm-lock.yaml
1289
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -3,7 +3,7 @@ import test from 'ava';
|
|||
import {html} from 'htm/preact';
|
||||
import {render} from 'preact';
|
||||
|
||||
import {ConfirmButton, ConfirmButtonProps} from '../../source/gram.js';
|
||||
import {ConfirmButton, ConfirmButtonProps} from '../../source/index.js';
|
||||
import {sleep} from '../utilities.js';
|
||||
|
||||
test.before(() => {
|
||||
|
|
|
@ -3,7 +3,7 @@ import test from 'ava';
|
|||
import {html} from 'htm/preact';
|
||||
import {render} from 'preact';
|
||||
|
||||
import {FeedbackButton, FeedbackButtonProps} from '../../source/gram.js';
|
||||
import {FeedbackButton, FeedbackButtonProps} from '../../source/index.js';
|
||||
import {sleep} from '../utilities.js';
|
||||
|
||||
test.before(() => {
|
||||
|
|
|
@ -2,7 +2,7 @@ import test from 'ava';
|
|||
import {html} from 'htm/preact';
|
||||
import {render} from 'preact-render-to-string';
|
||||
|
||||
import {PrivacyLink} from '../../source/gram.js';
|
||||
import {PrivacyLink} from '../../source/index.js';
|
||||
|
||||
test('PrivacyLink', (t) => {
|
||||
t.snapshot(render(html`<${PrivacyLink} />`), 'Empty');
|
||||
|
|
Loading…
Reference in New Issue