Skip to content

Commit e7cf798

Browse files
committed
update
Deployment to npm removed bin from package.json
1 parent ff45262 commit e7cf798

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.github/workflows/node.js.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ "master", "develop" ]
8+
branches: [ "master" ]
99
pull_request:
10-
branches: [ "master", "develop" ]
10+
branches: [ "master" ]
1111

1212
jobs:
1313
build:
@@ -25,10 +25,16 @@ jobs:
2525
uses: actions/setup-node@v3
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
28+
cache: "npm"
2929
- run: npm install
3030
- run: npm run build
3131
- run: npm test
3232
- run: sudo apt-get install xvfb
3333
- run: xvfb-run --auto-servernum npm run test:chrome
3434
- run: xvfb-run --auto-servernum npm run test:firefox
35+
36+
- name: Publish to npm
37+
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
38+
env:
39+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
40+
run: npm publish

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ npm install @puremvc/puremvc-js-multicore-framework
2424
* [React Native](https://en.wikipedia.org/wiki/React_Native)
2525

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

2929
#### Documentation
3030
- https://jsdoc.app/about-commandline.html

VERSION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PureMVC MultiCore Framework for JavaScript
22
--------------------------------------------------------------------------
3-
Release Date: 8/14/24
3+
Release Date: 9/4/24
44
Platform: JavaScript
55
Version: 2
66
Revision: 0
7-
Minor: 7
7+
Minor: 8
88
Authors: Saad Shams <[email protected]>
99
: David Foley <[email protected]>
1010
: Cliff Hall <[email protected]>
@@ -17,3 +17,4 @@ Release Date: 8/14/24
1717
2.0.5 - NPM package borked for cjs
1818
2.0.6 - NPM package bundling the ESM/CommonJS support
1919
2.0.7 - Finally? NPM bundling
20+
2.0.8 - CI/CD Pipeline

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@puremvc/puremvc-js-multicore-framework",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"description": "PureMVC MultiCore Framework for JavaScript",
55
"type": "module",
66
"main": "bin/cjs/index.cjs",
@@ -11,9 +11,6 @@
1111
"import": "./bin/esm/index.js"
1212
}
1313
},
14-
"bin": {
15-
"puremvc-js-multicore-framework": "bin/esm/index.js"
16-
},
1714
"scripts": {
1815
"build": "npm run clean && npm run build:lib",
1916
"build:lib": "rollup -c build/rollup.conf.mjs",

0 commit comments

Comments
 (0)