Skip to content

Commit da93aeb

Browse files
committed
Version 2.0.8
* Remove auto-publish, it makes it difficult to improve testing without increasing framework version * Remove interfaces folder from bin/cjs and bin/esm * Remove some unused classes from command tests
1 parent bce2a4b commit da93aeb

38 files changed

+218
-405
lines changed

VERSION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PureMVC MultiCore Framework for TypeScript
22
--------------------------------------------------------------------------
3-
Release Date: 2/27/25
3+
Release Date: 4/13/25
44
Platform: TypeScript
55
Version: 2
66
Revision: 0
@@ -16,4 +16,4 @@ Release Date: 2/27/25
1616
2.0.5 - Fix package.json for importing types properly
1717
2.0.6 - Add test coverage reporting
1818
2.0.7 - Increase test coverage
19-
2.0.8 - Remove auto-publish to npm. It makes it difficult to improve tests without upgrading version
19+
2.0.8 - Remove auto-publish to npm. Remove interfaces folder from bin/cjs and bin/esm

bin/esm/interfaces/ICommand.js

-8
This file was deleted.

bin/esm/interfaces/IController.js

-8
This file was deleted.

bin/esm/interfaces/IFacade.js

-8
This file was deleted.

bin/esm/interfaces/IMediator.js

-8
This file was deleted.

bin/esm/interfaces/IModel.js

-8
This file was deleted.

bin/esm/interfaces/INotification.js

-8
This file was deleted.

bin/esm/interfaces/INotifier.js

-8
This file was deleted.

bin/esm/interfaces/IObserver.js

-8
This file was deleted.

bin/esm/interfaces/IProxy.js

-8
This file was deleted.

bin/esm/interfaces/IView.js

-8
This file was deleted.

docs/classes/Controller.html

+14-14
Large diffs are not rendered by default.

docs/classes/Facade.html

+29-29
Large diffs are not rendered by default.

docs/classes/MacroCommand.html

+10-10
Large diffs are not rendered by default.

docs/classes/Mediator.html

+17-17
Large diffs are not rendered by default.

docs/classes/Model.html

+13-13
Large diffs are not rendered by default.

docs/classes/Notification.html

+8-8
Large diffs are not rendered by default.

docs/classes/Notifier.html

+6-6
Large diffs are not rendered by default.

docs/classes/Observer.html

+8-8
Large diffs are not rendered by default.

docs/classes/Proxy.html

+15-15
Large diffs are not rendered by default.

docs/classes/SimpleCommand.html

+7-7
Large diffs are not rendered by default.

docs/classes/View.html

+16-16
Large diffs are not rendered by default.

docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<li><a href="https://en.wikipedia.org/wiki/React_(JavaScript_library)" target="_blank" class="external">React</a></li>
2020
<li><a href="https://en.wikipedia.org/wiki/React_Native" target="_blank" class="external">React Native</a></li>
2121
</ul>
22-
<a id="md:status" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Status<a href="#md:status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p>Production - <a href="https://github.com/PureMVC/puremvc-typescript-multicore-framework/blob/master/VERSION" target="_blank" class="external">Version 2.0.7</a></p>
22+
<a id="md:status" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Status<a href="#md:status" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><p>Production - <a href="https://github.com/PureMVC/puremvc-typescript-multicore-framework/blob/master/VERSION" target="_blank" class="external">Version 2.0.8</a></p>
2323
<a id="md:license" class="tsd-anchor"></a><h2 class="tsd-anchor-link">License<a href="#md:license" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2><ul>
2424
<li>
2525
<p>PureMVC MultiCore Framework for TypeScript - Copyright © 2025 <a href="https://www.linkedin.com/in/muizz" target="_blank" class="external">Saad Shams</a></p>

docs/interfaces/ICommand.html

+4-4
Large diffs are not rendered by default.

docs/interfaces/IController.html

+5-5
Large diffs are not rendered by default.

docs/interfaces/IFacade.html

+15-15
Large diffs are not rendered by default.

docs/interfaces/IMediator.html

+9-9
Large diffs are not rendered by default.

docs/interfaces/IModel.html

+5-5
Large diffs are not rendered by default.

docs/interfaces/INotification.html

+5-5
Large diffs are not rendered by default.

docs/interfaces/INotifier.html

+3-3
Large diffs are not rendered by default.

docs/interfaces/IObserver.html

+5-5
Large diffs are not rendered by default.

docs/interfaces/IProxy.html

+7-7
Large diffs are not rendered by default.

docs/interfaces/IView.html

+8-8
Large diffs are not rendered by default.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@puremvc/puremvc-typescript-multicore-framework",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"description": "PureMVC MultiCore Framework for TypeScript",
55
"main": "./bin/cjs/index.js",
66
"module": "./bin/esm/index.js",
@@ -20,8 +20,8 @@
2020
"scripts": {
2121
"build": "npm run clean && npm run build:lib",
2222
"build:lib": "npm run build:cjs && npm run build:esm",
23-
"build:esm": "tsc --module esnext --outDir bin/esm && echo '{\"type\": \"module\"}' > bin/esm/package.json",
24-
"build:cjs": "tsc --module commonjs --outDir bin/cjs && echo '{\"type\": \"commonjs\"}' > bin/cjs/package.json",
23+
"build:esm": "tsc --module esnext --outDir bin/esm && echo '{\"type\": \"module\"}' > bin/esm/package.json && rm -rf bin/esm/interfaces",
24+
"build:cjs": "tsc --module commonjs --outDir bin/cjs && echo '{\"type\": \"commonjs\"}' > bin/cjs/package.json && rm -rf bin/esm/interfaces",
2525
"build:doc": "typedoc",
2626
"clean": "rm -rf bin",
2727
"test": "jest --coverage",

test/patterns/command/MacroCommand.spec.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
// Your reuse is governed by the BSD-3-Clause License
77
//
88

9-
import { MacroCommand } from "../../../src/patterns/command/MacroCommand";
10-
import { Notification } from "../../../src/patterns/observer/Notification";
9+
import { MacroCommand } from "../../../src";
10+
import { Notification } from "../../../src";
1111

1212
/**
1313
* Test the PureMVC MacroCommand class.
@@ -25,7 +25,7 @@ describe("MacroCommandTest", () => {
2525

2626
const macroCommand = new TestMacroCommand();
2727
const notification = new Notification("TestNotification");
28-
28+
2929
// Call execute and ensure it handles the undefined command gracefully
3030
expect(() => macroCommand.execute(notification)).not.toThrow();
3131

test/patterns/command/MacroCommandTestCommand.ts

-35
This file was deleted.

test/patterns/command/MacroCommandTestSub1Command.ts

-36
This file was deleted.

test/patterns/command/MacroCommandTestSub2Command.ts

-36
This file was deleted.

0 commit comments

Comments
 (0)