Compare commits

..

6 Commits

Author SHA1 Message Date
Bauke c5a38cf4ac
Version 0.2.2! 2022-09-29 12:44:43 +02:00
Bauke c25fb4ece4
Update package.json info. 2022-09-29 12:44:11 +02:00
Bauke 1080648ead
Disable some XO rules. 2022-09-29 12:40:24 +02:00
Bauke d8d0f76497
Update dependencies. 2022-09-29 12:40:14 +02:00
Bauke 7c38f3c882
Rename gram.ts to index.ts. 2022-09-29 12:39:58 +02:00
Bauke 62e8a6cb4d
Rename to Preact Components. 2022-09-29 12:39:44 +02:00
7 changed files with 636 additions and 697 deletions

View File

@ -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.

View File

@ -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
}
}

File diff suppressed because it is too large Load Diff

View File

@ -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(() => {

View File

@ -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(() => {

View File

@ -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');