Skip to content

Commit 85e8514

Browse files
committed
Version 2.0.5
* Fix package.json for properly exporting types
1 parent 14ef2fa commit 85e8514

27 files changed

+232
-222
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npm i @puremvc/puremvc-typescript-multicore-framework
2424
* [React Native](https://en.wikipedia.org/wiki/React_Native)
2525

2626
## Status
27-
Production - [Version 2.0.2](https://github.com/PureMVC/puremvc-typescript-multicore-framework/blob/master/VERSION)
27+
Production - [Version 2.0.5](https://github.com/PureMVC/puremvc-typescript-multicore-framework/blob/master/VERSION)
2828

2929
## License
3030
* PureMVC MultiCore Framework for TypeScript - Copyright © 2025 [Saad Shams](https://www.linkedin.com/in/muizz)

VERSION

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Release Date: 2/25/25
44
Platform: TypeScript
55
Version: 2
66
Revision: 0
7-
Minor: 4
7+
Minor: 5
88
Authors: Saad Shams <[email protected]>
99
--------------------------------------------------------------------------
1010
2.0.0 - Brand new implementation of ported code, equivalent to AS3 MultiCore Version 1.0.5.
@@ -13,3 +13,4 @@ Release Date: 2/25/25
1313
2.0.3 - Unpublished
1414
2.0.4 - Update IFacade (remove inherited sendNotification initializeNotifier methods)
1515
and Mediator (viewComponent type any, not Object)
16+
2.0.5 - Fix package.json for importing types properly

bin/cjs/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"type": "commonjs"}

bin/esm/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"type": "module"}

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
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.1</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.5</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>
25-
<p>PureMVC MultiCore Framework for TypeScript - Copyright © 2024 <a href="https://www.linkedin.com/in/muizz" target="_blank" class="external">Saad Shams</a></p>
25+
<p>PureMVC MultiCore Framework for TypeScript - Copyright © 2025 <a href="https://www.linkedin.com/in/muizz" target="_blank" class="external">Saad Shams</a></p>
2626
</li>
2727
<li>
28-
<p>PureMVC - Copyright © 2024 <a href="http://futurescale.com/" target="_blank" class="external">Futurescale, Inc.</a></p>
28+
<p>PureMVC - Copyright © 2025 <a href="http://futurescale.com/" target="_blank" class="external">Futurescale, Inc.</a></p>
2929
</li>
3030
<li>
3131
<p>All rights reserved.</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

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
{
22
"name": "@puremvc/puremvc-typescript-multicore-framework",
3-
"version": "2.0.4",
3+
"version": "2.0.5",
44
"description": "PureMVC MultiCore Framework for TypeScript",
5-
"main": "bin/cjs/index.js",
6-
"module": "bin/esm/index.js",
7-
"types": "bin/types/index.d.ts",
5+
"main": "./bin/cjs/index.js",
6+
"module": "./bin/esm/index.js",
87
"exports": {
98
".": {
10-
"require": "./bin/cjs/index.cjs",
11-
"import": "./bin/esm/index.js"
9+
"import": {
10+
"types": "./bin/types/index.d.ts",
11+
"default": "./bin/esm/index.js"
12+
},
13+
"require": {
14+
"types": "./bin/types/index.d.ts",
15+
"default": "./bin/cjs/index.cjs"
16+
}
17+
1218
}
1319
},
20+
"types": "./bin/types/index.d.ts",
1421
"scripts": {
1522
"build": "npm run clean && npm run build:lib",
1623
"build:lib": "npm run build:cjs && npm run build:esm",
17-
"build:esm": "tsc --module esnext --outDir bin/esm",
18-
"build:cjs": "tsc --module commonjs --outDir bin/cjs",
24+
"build:esm": "tsc --module esnext --outDir bin/esm && echo '{\"type\": \"module\"}' > bin/esm/package.json",
25+
"build:cjs": "tsc --module commonjs --outDir bin/cjs && echo '{\"type\": \"commonjs\"}' > bin/cjs/package.json",
1926
"build:doc": "typedoc",
2027
"clean": "rm -rf bin",
2128
"test": "jest",

0 commit comments

Comments
 (0)