Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
on:
push:
branches:
- main

pull_request:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm

# Working around https://github.com/npm/cli/issues/4828
# - run: npm ci
- run: npm install --no-package-lock

- name: Check formatting
run: npm run format:check

- name: Check syntax
run: npm run lint

- name: Run tests
run: npm test

- run: npm run build

publish:
runs-on: ubuntu-latest
if: github.event_name == 'release'
needs: build

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
cache: npm
registry-url: "https://registry.npmjs.org"

# Working around https://github.com/npm/cli/issues/4828
# - run: npm ci
- run: npm install --no-package-lock

- run: npm run build

- run: npm run npm:publish:dry-run

- run: npm run npm:publish
38 changes: 3 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,4 @@
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem
.vscode
.idea

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
.bin
coverage
node_modules
5 changes: 3 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
PureMVC Async Command Utility for Javascript (Ported)
--------------------------------------------------------------------------
Release Date: 8/29/2024
Release Date: 11/25/2025
Platform: JavaScript (Native)
Version: 1
Revision: 0
Minor: 6
Minor: 7
Authors: Copyright © 2008 Duncan Hall <duncan.hall@puremvc.org>
: Ported in 2024 by Cliff Hall <cliff.hall@puremvc.org>
-------------------------------------------------------------------------
Expand All @@ -14,4 +14,5 @@ Release Date: 8/29/2024
...
1.0.5 Fixed issues with nullish checking and necessary closure in AsyncMacroCommand
1.0.6 Update to use PureMVC 2.0.7 and build for cjs and esm.
1.0.7 Github workflow based publishing setup, add rollup config

189 changes: 0 additions & 189 deletions bin/cjs/puremvc-async-command.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions bin/cjs/puremvc-async-command.min.js

This file was deleted.

1 change: 0 additions & 1 deletion bin/cjs/puremvc-async-command.min.js.map

This file was deleted.

Loading