Skip to content

Commit 6f9a611

Browse files
committed
Prepare for 1.0.3 Release
* Added .bin to .gitignore * Removed .bin * Removed .npmrc * Added .github/workflows/main.yml * In package.json and VERSION, - bumped to 1.0.3
1 parent ce32931 commit 6f9a611

32 files changed

+278
-582
lines changed

.github/workflows/main.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
pull_request:
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version-file: package.json
20+
cache: npm
21+
22+
# Working around https://github.com/npm/cli/issues/4828
23+
# - run: npm ci
24+
- run: npm install --no-package-lock
25+
26+
- name: Check formatting
27+
run: npm run format:check
28+
29+
- name: Check syntax
30+
run: npm run lint
31+
32+
- name: Check types
33+
run: npm run typecheck
34+
35+
- name: Run tests
36+
run: npm test
37+
38+
- run: npm run build
39+
40+
publish:
41+
runs-on: ubuntu-latest
42+
if: github.event_name == 'release'
43+
needs: build
44+
45+
permissions:
46+
contents: read
47+
id-token: write
48+
49+
steps:
50+
- uses: actions/checkout@v4
51+
- uses: actions/setup-node@v4
52+
with:
53+
node-version-file: package.json
54+
cache: npm
55+
registry-url: "https://registry.npmjs.org"
56+
57+
# Working around https://github.com/npm/cli/issues/4828
58+
# - run: npm ci
59+
- run: npm install --no-package-lock
60+
61+
- run: npm run build
62+
63+
- run: npm run npm:publish:dry-run
64+
65+
- run: npm run npm:publish

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.idea
2-
.goose
3-
.goosehints
2+
.bin
43
coverage
54
node_modules

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

VERSION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
PureMVC Typescript Utility - State Machine
22
--------------------------------------------------------------------------
3-
Release Date: 4/22/25
3+
Release Date: 11/25/25
44
Platform: Typescript
55
Version: 1
66
Revision: 0
7-
Minor: 2
7+
Minor: 3
88
Authors: Cliff Hall <cliff.hall@puremvc.org>
99
--------------------------------------------------------------------------
1010

1111
1.0.0 Initial port from the AS3 source.
1212
1.0.1 NPM Package link
1313
1.0.2 Fix entry point in package.json
14+
1.0.3 Add github workflow file for build/publish

bin/cjs/fsm/FSMInjector.js

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

bin/cjs/fsm/State.js

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

bin/cjs/fsm/StateMachine.js

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

bin/cjs/index.js

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

bin/cjs/package.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/cjs/types.js

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

0 commit comments

Comments
 (0)