Compare commits

..

No commits in common. "master" and "v1.0.39" have entirely different histories.

4 changed files with 5 additions and 13 deletions

View File

@ -1,12 +1,5 @@
# Changelog # Changelog
## 2025-01-01 - 1.0.40 - fix(test)
Fix test configuration and import path in test suite
- Changed the test command in package.json to include the build step.
- Fixed the import path for smartssr in the test suite to point to the correct distribution directory.
- Added console log to display rendered HTML content during test execution.
## 2025-01-01 - 1.0.39 - fix(core) ## 2025-01-01 - 1.0.39 - fix(core)
Fixed package and file path typos and removed GitLab CI configuration. Fixed package and file path typos and removed GitLab CI configuration.

View File

@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/smartssr", "name": "@push.rocks/smartssr",
"version": "1.0.40", "version": "1.0.39",
"private": false, "private": false,
"description": "A smart server-side renderer that supports shadow DOM.", "description": "A smart server-side renderer that supports shadow DOM.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -8,7 +8,7 @@
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"test": "(npm run build &&tstest test/ --web)", "test": "(tstest test/ --web)",
"build": "(tsbuild --web --allowimplicitany)", "build": "(tsbuild --web --allowimplicitany)",
"serve": "tsrun scripts/serve.ts", "serve": "tsrun scripts/serve.ts",
"buildDocs": "tsdoc" "buildDocs": "tsdoc"

View File

@ -1,5 +1,5 @@
import { expect, tap } from '@push.rocks/tapbundle'; import { expect, tap } from '@push.rocks/tapbundle';
import * as smartssr from '../dist_ts/index.js'; import * as smartssr from '../ts/index.js';
let testSSRInstance: smartssr.SmartSSR; let testSSRInstance: smartssr.SmartSSR;
@ -10,8 +10,7 @@ tap.test('should create a valid smartssr instance', async () => {
}); });
tap.test('should render central.eu', async (tools) => { tap.test('should render central.eu', async (tools) => {
const renderedPage = await testSSRInstance.renderPage('https://lossless.com'); await testSSRInstance.renderPage('https://lossless.com');
console.log(renderedPage);
}); });
tap.test('should render lossless.com', async () => { tap.test('should render lossless.com', async () => {

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartssr', name: '@push.rocks/smartssr',
version: '1.0.40', version: '1.0.39',
description: 'A smart server-side renderer that supports shadow DOM.' description: 'A smart server-side renderer that supports shadow DOM.'
} }