Merge pull request 'init' (#1) from init into main
Some checks failed
Push to main / publish (push) Failing after 11s
Some checks failed
Push to main / publish (push) Failing after 11s
Reviewed-on: #1
This commit is contained in:
16
.gitea/workflows/pull_request_change.yaml
Normal file
16
.gitea/workflows/pull_request_change.yaml
Normal 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
|
||||
20
.gitea/workflows/push_to_main.yaml
Normal file
20
.gitea/workflows/push_to_main.yaml
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
node_modules
|
||||
@@ -1,3 +1,3 @@
|
||||
# interactor
|
||||
|
||||
cross-element communications and state management utility.
|
||||
Cross-element communications and state management utility.
|
||||
2
index.js
Normal file
2
index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import { Interactor, Action, Reaction } from "./src/interactor.js";
|
||||
export { Interactor, Action, Reaction };
|
||||
8
package.json
Normal file
8
package.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user