From 67d60fb94d06fb33200e0f398773ae5e63975ce9 Mon Sep 17 00:00:00 2001 From: Craig Beck <luckybonza@gmail.com> Date: Fri, 6 Oct 2023 10:05:22 -0700 Subject: [PATCH] Include test-utils in published output --- package.json | 8 ++++++-- src/AppForServer.ts | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index c1c754f8..d01f3bbc 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,14 @@ "./templates": "./dist/templates/index.js", "./App": "./dist/App.js", "./lib/App": "./dist/App.js", - "./AppForServer": "./dist/AppForServer.js" + "./AppForServer": "./dist/AppForServer.js", + "./lib/components": "./dist/components.js", + "./lib/Page": "./dist/Page.js", + "./test-utils/*": "./test-utils/*.js" }, "files": [ - "dist/" + "dist/", + "test-utils/" ], "scripts": { "build": "node_modules/.bin/tsc", diff --git a/src/AppForServer.ts b/src/AppForServer.ts index 28b9cb42..17c97a22 100644 --- a/src/AppForServer.ts +++ b/src/AppForServer.ts @@ -115,7 +115,7 @@ export class AppForServer extends AppBase { if (fs.existsSync(this.serializedBase + '.json')) { this.deserialize(); this.loadViews = function(_filename, _namespace) { return this; }; - this.loadStyles = function(_filname, _options) { return this; }; + this.loadStyles = function(_filename, _options) { return this; }; return; }