Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kamarmack committed Dec 3, 2023
0 parents commit fd9ff3d
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/npm-publish-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to npm on merge
"on":
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"
- name: Build project
run: npm install && echo 'tsc --build ./tsconfig.json'
- name: Publish package
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_GAT }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# MacOS
.DS_Store

5 changes: 5 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Copyright 2023 Kamar Mack <https://github.com/kamarmack>

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ergonomic-react
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("pending");
17 changes: 17 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"author": "Kamar Mack <https://github.com/kamarmack>",
"description": "Helper types and functions for TypeScript repos using React",
"keywords": [
"functional",
"nextjs",
"react",
"typescript"
],
"license": "ISC",
"main": "index.js",
"name": "ergonomic-react",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "0.0.1-alpha.0"
}

0 comments on commit fd9ff3d

Please sign in to comment.