init #1

Merged
bryce merged 1 commits from init into main 2025-11-06 13:29:44 -07:00
6 changed files with 48 additions and 1 deletions
Showing only changes of commit a60c0a0657 - Show all commits

View File

@@ -0,0 +1,16 @@
name: Pull request change
on:
pull_request:
paths:
- "**"
jobs:
publish:
runs-on: debian-bullseye
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: verify version
uses: https://git.thorup.us/actions/version_verify@v1

View File

@@ -0,0 +1,20 @@
name: Push to main
on:
push:
branches: [main]
jobs:
publish:
runs-on: debian-bullseye
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: version tag
uses: https://git.thorup.us/actions/version_tag@v1
- name: npm publish
uses: https://git.thorup.us/actions/npm_publish@v1
with:
npm_repo_key: ${{ secrets.NPM_REPO_KEY }}
npm_repo_domain: "npm.thorup.us"

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
node_modules

View File

@@ -1,3 +1,3 @@
# interactor # interactor
cross-element communications and state management utility. Cross-element communications and state management utility.

2
index.js Normal file
View File

@@ -0,0 +1,2 @@
import { Interactor, Action, Reaction } from "./src/interactor.js";
export { Interactor, Action, Reaction };

8
package.json Normal file
View File

@@ -0,0 +1,8 @@
{
"name": "interactor",
"version": "1.0.0",
"description": "Cross-element communications and state management utility.",
"author": "Bryce Thorup",
"type": "module",
"main": "index.js"
}