From 27ee8195e87c87845aa4769b9e35c40d6b4756c1 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 27 Sep 2024 23:12:02 +0200 Subject: [PATCH] fix(core): Update dependencies and improve build configurations --- assets/templates/website/.package.json | 6 +- assets/templates/website/ts/index.ts | 4 +- assets/templates/website/ts_web/index.ts | 2 +- changelog.md | 10 ++ package.json | 10 +- pnpm-lock.yaml | 189 +++++++++++------------ test | 1 + ts/00_commitinfo_data.ts | 2 +- 8 files changed, 113 insertions(+), 111 deletions(-) create mode 160000 test diff --git a/assets/templates/website/.package.json b/assets/templates/website/.package.json index 80eb090..e1763e9 100644 --- a/assets/templates/website/.package.json +++ b/assets/templates/website/.package.json @@ -18,12 +18,12 @@ fileName: package.json "author": "{{author.name}}", "license": "{{module.license}}", "dependencies": { - "@api.global/typedserver": "^1.0.16", + "@api.global/typedserver": "^3.0.51", "@consentsoftware_private/catalog": "^1.0.73", "@design.estate/dees-domtools": "^2.0.23", "@design.estate/dees-element": "^2.0.15", - "@push.rocks/smartlog": "^2.0.1", - "@push.rocks/qenv": "^5.0.2", + "@push.rocks/qenv": "^6.0.5", + "@push.rocks/smartlog": "^3.0.7", "@push.rocks/smartpath": "^5.0.5", "@push.rocks/smartstate": "^2.0.0", "@push.rocks/websetup": "^3.0.15" diff --git a/assets/templates/website/ts/index.ts b/assets/templates/website/ts/index.ts index 7561f2e..06c035a 100644 --- a/assets/templates/website/ts/index.ts +++ b/assets/templates/website/ts/index.ts @@ -3,10 +3,10 @@ import * as paths from './ffb.paths.js'; export const runCli = async () => { const serviceQenv = new plugins.qenv.Qenv('./', './.nogit', false); - const websiteServer = new plugins.loleWebsiteserver.LoleWebsiteServer({ + const websiteServer = new plugins.typedserver.utilityservers.UtilityWebsiteServer({ feedMetadata: null, domain: '{{module.projectDomain}}', - serveDir: paths.distWebDir + serveDir: paths.distWebDir, }); await websiteServer.start(); }; diff --git a/assets/templates/website/ts_web/index.ts b/assets/templates/website/ts_web/index.ts index 096c631..1e85d38 100644 --- a/assets/templates/website/ts_web/index.ts +++ b/assets/templates/website/ts_web/index.ts @@ -45,7 +45,7 @@ const run = async () => { }, }); - const serviceWorker = serviceworker.getServiceWorker(); + const serviceWorker = serviceworker.getServiceworkerClient(); const mainTemplate = html`