Skip to content

Commit 978f714

Browse files
committed
Update to build without version number attached.
1 parent 53768ba commit 978f714

34 files changed

+60
-68
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
PureMVC is a lightweight framework for creating applications based upon the classic [Model-View-Controller](http://en.wikipedia.org/wiki/Model-view-controller) design meta-pattern. It supports [modular programming](http://en.wikipedia.org/wiki/Modular_programming) through the use of [Multiton](http://en.wikipedia.org/wiki/Multiton) Core actors instead of the [Singletons](http://en.wikipedia.org/wiki/Singleton_pattern).
44

5+
* [NPM Package](https://www.npmjs.com/package/@puremvc/puremvc-js-multicore-framework?activeTab=readme)
56
* [API Docs](https://puremvc.org/pages/docs/JS/es/)
67
* [Legacy Implementation](https://github.com/PureMVC/puremvc-js-multicore-framework/tree/1.0.1)
78

@@ -15,7 +16,7 @@ PureMVC is a lightweight framework for creating applications based upon the clas
1516
* [Node.js](https://en.wikipedia.org/wiki/Node.js)
1617

1718
## Status
18-
Production - [Version 2.0](https://github.com/PureMVC/puremvc-js-multicore-framework/blob/master/VERSION)
19+
Production - [Version 2.0.3](https://github.com/PureMVC/puremvc-js-multicore-framework/blob/master/VERSION)
1920

2021
#### Documentation
2122
- https://jsdoc.app/about-commandline.html

VERSION

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ Release Date: 3/3/24
44
Platform: JavaScript
55
Version: 2
66
Revision: 0
7-
Minor: 1
7+
Minor: 3
88
Authors: Saad Shams <[email protected]>
99
: David Foley <[email protected]>
1010
: Cliff Hall <[email protected]>
1111
--------------------------------------------------------------------------
1212
2.0 - Brand new implementation of ported code, equivalent to AS3 MultiCore Version 1.0.5.
13-
2.0.1 - Package for npm
13+
2.0.1 - Package for npm
14+
2.0.2 - Version alignment in build
15+
2.0.3 - Update package description
File renamed without changes.
File renamed without changes.

build/rollup.conf.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import terser from "@rollup/plugin-terser";
22

33
export default [
44
{
5-
input: "index.js",
5+
input: "src/index.js",
66
output: [
77
{
8-
file: "bin/puremvc-2.0.0.js",
8+
file: "bin/puremvc.js",
99
format: "esm",
1010
},
1111
{
12-
file: "bin/puremvc-2.0.0.min.js",
12+
file: "bin/puremvc.min.js",
1313
format: "esm",
1414
plugins: [terser()]
1515
},

index.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "@puremvc/puremvc-js-multicore-framework",
3-
"version": "2.0.1",
3+
"version": "2.0.3",
44
"type": "module",
5-
"description": "PureMVC MultiCore Framework for Native JavaScript",
6-
"main": "index.js",
5+
"description": "PureMVC MultiCore Framework for JavaScript",
6+
"main": "bin/puremvc.min.js",
77
"scripts": {
88
"build": "npm run clean && npm run build:lib",
99
"build:lib": "rollup -c build/rollup.conf.mjs",
@@ -27,10 +27,10 @@
2727
"mvc"
2828
],
2929
"files": [
30-
"bin/puremvc-2.0.0.js",
30+
"bin/*.*",
3131
"LICENSE",
3232
"VERSION",
33-
"index.js"
33+
"package.json"
3434
],
3535
"authors": [
3636
"Saad Shams <[email protected]>",
@@ -706,7 +706,7 @@
706706
"zip-stream": "^4.1.1"
707707
},
708708
"bin": {
709-
"puremvc-js-multicore-framework": "bin/puremvc-2.0.0.js"
709+
"puremvc-js-multicore-framework": "bin/puremvc.js"
710710
},
711711
"directories": {
712712
"doc": "docs",

src/index.js

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,22 @@
66
* Your reuse is governed by the BSD License
77
*/
88

9-
export { Controller } from "./core/Controller.js"
10-
export { Model } from "./core/Model.js"
11-
export { View } from "./core/View.js"
12-
export { MacroCommand } from "./patterns/command/MacroCommand.js"
13-
export { SimpleCommand } from "./patterns/command/SimpleCommand.js"
14-
export { Facade } from "./patterns/facade/Facade.js"
15-
export { Mediator } from "./patterns/mediator/Mediator.js"
16-
export { Notification } from "./patterns/observer/Notification"
17-
export { Notifier } from "./patterns/observer/Notifier.js"
18-
export { Observer } from "./patterns/observer/Observer.js"
19-
export { Proxy } from "./patterns/proxy/Proxy.js"
9+
import { Controller } from "./core/Controller.js"
10+
import { Model } from "./core/Model.js"
11+
import { View } from "./core/View.js"
12+
import { MacroCommand } from "./patterns/command/MacroCommand.js"
13+
import { SimpleCommand } from "./patterns/command/SimpleCommand.js"
14+
import { Facade } from "./patterns/facade/Facade.js"
15+
import { Mediator } from "./patterns/mediator/Mediator.js"
16+
import { Notification } from "./patterns/observer/Notification"
17+
import { Notifier } from "./patterns/observer/Notifier.js"
18+
import { Observer } from "./patterns/observer/Observer.js"
19+
import { Proxy } from "./patterns/proxy/Proxy.js"
20+
21+
const puremvc = {
22+
Controller, Model, View,
23+
SimpleCommand, MacroCommand, Facade,
24+
Mediator, Notification, Notifier, Observer, Proxy
25+
}
26+
27+
export { puremvc }

test/core/ControllerTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22
import chai from "chai"
33
import {ControllerTestCommand} from "./ControllerTestCommand.js";
44
import {ControllerTestCommand2} from "./ControllerTestCommand2.js";

test/core/ControllerTestCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22

33
/**
44
/**

test/core/ControllerTestCommand2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22

33
/**
44
* A SimpleCommand subclass used by ControllerTest.

test/core/ModelTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22
import chai from "chai"
33
import { ModelTestProxy } from "./ModelTestProxy.js"
44

test/core/ModelTestProxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../bin/puremvc.min.js";
22

33
/**
44
* @class ModelTestProxy

test/core/ViewTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22
import chai from "chai"
33
import {ViewTestMediator} from "./ViewTestMediator.js";
44
import {ViewTestMediator2} from "./ViewTestMediator2.js";

test/core/ViewTestMediator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22

33
/**
44
* A Mediator class used by ViewTest.

test/core/ViewTestMediator2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22
import {ViewTestNote} from "./ViewTestNote.js";
33

44
/**

test/core/ViewTestMediator3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22
import {ViewTestNote} from "./ViewTestNote.js";
33

44
/**

test/core/ViewTestMediator4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22

33
/**
44
* @class ViewTestMediator4

test/core/ViewTestMediator5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22
import {ViewTestNote} from "./ViewTestNote.js";
33

44
/**

test/core/ViewTestMediator6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22
import {ViewTestNote} from "./ViewTestNote.js";
33

44
/**

test/core/ViewTestNote.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../bin/puremvc.js";
22

33
/**
44
*

test/patterns/command/MacroCommandTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22
import chai from "chai"
33
import {MacroCommandTestCommand} from "./MacroCommandTestCommand.js"
44
import {MacroCommandTestVO} from "./MacroCommandTestVO.js"

test/patterns/command/MacroCommandTestCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22
import {MacroCommandTestSub1Command} from "./MacroCommandTestSub1Command.js";
33
import {MacroCommandTestSub2Command} from "./MacroCommandTestSub2Command.js";
44
/**

test/patterns/command/MacroCommandTestSub1Command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22

33
/**
44
* A SimpleCommand subclass used by MacroCommandTestCommand.

test/patterns/command/MacroCommandTestSub2Command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22

33
/**
44
* A SimpleCommand subclass used by MacroCommandTestCommand.

test/patterns/command/SimpleCommandTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22
import chai from "chai"
33
import {SimpleCommandTestCommand} from "./SimpleCommandTestCommand.js";
44
import {SimpleCommandTestVO} from "./SimpleCommandTestVO.js";

test/patterns/command/SimpleCommandTestCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22

33
/**
44
* A SimpleCommand subclass used by SimpleCommandTest.

test/patterns/facade/FacadeTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../../bin/puremvc.js";
22
import chai from "chai"
33
import {FacadeTestCommand} from "./FacadeTestCommand.js";
44
import {FacadeTestVO} from "./FacadeTestVO.js";

test/patterns/facade/FacadeTestCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22

33
/**
44
* A SimpleCommand subclass used by FacadeTest.

test/patterns/mediator/MediatorTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22
import chai from "chai"
33

44
/**

test/patterns/observer/NotificationTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../../bin/puremvc.js";
22
import chai from "chai"
33

44
/**

test/patterns/observer/NotifierTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../../bin/puremvc.js";
22
import chai from "chai"
33
import {FacadeTestVO} from "../facade/FacadeTestVO.js";
44
import {FacadeTestCommand} from "../facade/FacadeTestCommand.js";

test/patterns/observer/ObserverTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.js";
1+
import {puremvc} from "../../../bin/puremvc.js";
22
import chai from "chai"
33

44
/**

test/patterns/proxy/ProxyTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {puremvc} from "../../../bin/puremvc-2.0.0.min.js";
1+
import {puremvc} from "../../../bin/puremvc.min.js";
22
import chai from "chai"
33

44
/**

0 commit comments

Comments
 (0)