Skip to content

Commit 108a2d6

Browse files
committed
Prepare for 2.1.3
* Remove bin * Add bin to .gitignore * Add .github/workflows/main.yml * Remove .github/workflows/node.js.yml * In src/ and test/ - reformat with prettier * Remove .eslint.rc * In package.json - bump version to 2.1.3 - add engines section with node >=20 - add lint, format, typecheck scripts - add prettier dependency - update eslint version * In VERSION - bump version to 2.1.3
1 parent be836d8 commit 108a2d6

File tree

127 files changed

+3966
-8747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+3966
-8747
lines changed

.eslintrc.js

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

.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

.github/workflows/node.js.yml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea
2+
bin
23
node_modules
34
coverage
45
.DS_Store

VERSION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Release Date: 4/22/25
44
Platform: TypeScript
55
Version: 2
66
Revision: 1
7-
Minor: 2
7+
Minor: 3
88
Authors: Saad Shams <saad.shams@puremvc.org>
99
: Cliff Hall <cliff@puremvc.org>
1010
--------------------------------------------------------------------------
@@ -22,3 +22,4 @@ Release Date: 4/22/25
2222
2.1.0 - Final esm/cjs release with proper types.
2323
2.1.1 - README Update
2424
2.1.2 - Fix entrypoint
25+
2.1.3 - NPM trusted publisher workflow

bin/cjs/core/Controller.js

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

0 commit comments

Comments
 (0)