2 Commits

Author SHA1 Message Date
0fd7ae74f8 2.0.2 2023-05-01 13:03:33 +02:00
9d6238618f fix(core): update 2023-05-01 13:03:32 +02:00
5 changed files with 13 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@pushrocks/smartntml", "name": "@pushrocks/smartntml",
"version": "2.0.1", "version": "2.0.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@pushrocks/smartntml", "name": "@pushrocks/smartntml",
"version": "2.0.1", "version": "2.0.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@happy-dom/global-registrator": "^6.0.4", "@happy-dom/global-registrator": "^6.0.4",

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartntml", "name": "@pushrocks/smartntml",
"version": "2.0.1", "version": "2.0.2",
"private": false, "private": false,
"description": "lit-html for the backend", "description": "lit-html for the backend",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -24,7 +24,8 @@
"dependencies": { "dependencies": {
"@designestate/dees-element": "^2.0.20", "@designestate/dees-element": "^2.0.20",
"@happy-dom/global-registrator": "^8.9.0", "@happy-dom/global-registrator": "^8.9.0",
"@pushrocks/smartpromise": "^3.1.7" "@pushrocks/smartpromise": "^3.1.7",
"fake-indexeddb": "^4.0.1"
}, },
"browserslist": [ "browserslist": [
"last 1 chrome versions" "last 1 chrome versions"

3
pnpm-lock.yaml generated
View File

@ -10,6 +10,9 @@ dependencies:
'@pushrocks/smartpromise': '@pushrocks/smartpromise':
specifier: ^3.1.7 specifier: ^3.1.7
version: 3.1.7 version: 3.1.7
fake-indexeddb:
specifier: ^4.0.1
version: 4.0.1
devDependencies: devDependencies:
'@gitzone/tsbuild': '@gitzone/tsbuild':

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartntml', name: '@pushrocks/smartntml',
version: '2.0.1', version: '2.0.2',
description: 'lit-html for the backend' description: 'lit-html for the backend'
} }

View File

@ -1,4 +1,8 @@
// happy-dom setup // happy-dom setup
// first lets setup indexeddb
import 'fake-indexeddb/auto';
import { GlobalRegistrator } from '@happy-dom/global-registrator'; import { GlobalRegistrator } from '@happy-dom/global-registrator';
GlobalRegistrator.register(); GlobalRegistrator.register();
window.location.href = 'http://localhost'; window.location.href = 'http://localhost';