From b4e9bd5174f9880d6d05e522e686dd6105845dca Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 3 Aug 2023 20:50:18 +0200 Subject: [PATCH] fix(core): update --- test/test.server.ts | 7 +++++++ ts/00_commitinfo_data.ts | 2 +- ts/servertools/classes.route.ts | 5 ++--- ts/servertools/classes.sitemap.ts | 2 +- ts_web/00_commitinfo_data.ts | 2 +- ts_web/typedserver_web.plugins.ts | 8 ++++---- 6 files changed, 16 insertions(+), 10 deletions(-) diff --git a/test/test.server.ts b/test/test.server.ts index d99cdda..8266722 100644 --- a/test/test.server.ts +++ b/test/test.server.ts @@ -27,6 +27,13 @@ tap.test('should create a valid Server', async () => { manifest: { name: 'Test App', short_name: 'testapp', + start_url: '/', + display: 'standalone', + background_color: '#000', + theme_color: '#000', + scope: '/', + lang: 'en', + display_override: ['window-controls-overlay'], }, feed: true, sitemap: true, diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index eafa74d..ed90258 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedserver', - version: '3.0.0', + version: '3.0.1', description: 'easy serving of static files' } diff --git a/ts/servertools/classes.route.ts b/ts/servertools/classes.route.ts index 8ec17f7..ab9efe9 100644 --- a/ts/servertools/classes.route.ts +++ b/ts/servertools/classes.route.ts @@ -2,13 +2,12 @@ import * as plugins from '../typedserver.plugins.js'; import { Handler } from './classes.handler.js'; import { Server } from './classes.server.js'; -import { ObjectMap } from '@pushrocks/lik'; import { type IRoute as IExpressRoute } from 'express'; export class Route { public routeString: string; - public handlerObjectMap = new ObjectMap(); - public expressMiddlewareObjectMap = new ObjectMap(); + public handlerObjectMap = new plugins.lik.ObjectMap(); + public expressMiddlewareObjectMap = new plugins.lik.ObjectMap(); public expressRoute: IExpressRoute; // will be set to server route on server start constructor(ServerArg: Server, routeStringArg: string) { this.routeString = routeStringArg; diff --git a/ts/servertools/classes.sitemap.ts b/ts/servertools/classes.sitemap.ts index 6b5f41c..f59d46d 100644 --- a/ts/servertools/classes.sitemap.ts +++ b/ts/servertools/classes.sitemap.ts @@ -1,7 +1,7 @@ import { Server } from './classes.server.js'; import { Handler } from './classes.handler.js'; import * as plugins from '../typedserver.plugins.js'; -import { type IUrlInfo } from '@pushrocks/smartsitemap'; +import { type IUrlInfo } from '@push.rocks/smartsitemap'; export class Sitemap { public smartexpressRef: Server; diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index eafa74d..ed90258 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@api.global/typedserver', - version: '3.0.0', + version: '3.0.1', description: 'easy serving of static files' } diff --git a/ts_web/typedserver_web.plugins.ts b/ts_web/typedserver_web.plugins.ts index 181121e..a328237 100644 --- a/ts_web/typedserver_web.plugins.ts +++ b/ts_web/typedserver_web.plugins.ts @@ -8,10 +8,10 @@ export { } // pushrocks scope -import * as smartdelay from '@pushrocks/smartdelay'; -import * as smartlog from '@pushrocks/smartlog'; -import * as smartlogDestinationDevtools from '@pushrocks/smartlog-destination-devtools'; -import * as webstore from '@pushrocks/webstore'; +import * as smartdelay from '@push.rocks/smartdelay'; +import * as smartlog from '@push.rocks/smartlog'; +import * as smartlogDestinationDevtools from '@push.rocks/smartlog-destination-devtools'; +import * as webstore from '@push.rocks/webstore'; export { smartdelay,