Skip to content

Commit

Permalink
feat: adding core ipfs features
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcampbell committed Dec 23, 2023
1 parent a7dda8e commit e2aa533
Show file tree
Hide file tree
Showing 15 changed files with 7,042 additions and 329 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/pages.yml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/pr.yml → .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Pull Request

on:
# TODO: NC - Remove main branch trigger
push:
branches:
- main
pull_request:
branches: [ 'main' ]
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 18.x ]
node-version: [18.x]

name: Build and test with Node ${{ matrix.node-version }}
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: Release
on:
push:
branches:
- main
# - main
- ignore # TODO: NC - Remove this line and uncomment the line above when ready to release

permissions:
contents: write
packages: write
issues: read

jobs:
release:
Expand Down Expand Up @@ -44,5 +47,5 @@ jobs:
- name: Release package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*
!dist/**
!readme.md
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IPFS Storage (ipfs-storage)

> A package that makes interacting with IPFS easier
> A NodeJS package that makes interacting with IPFS easier
[![npm package][npm-img]][npm-url]
[![Build Status][build-img]][build-url]
Expand All @@ -11,11 +11,14 @@
## Install

```bash
npm install ipfs-storage --save-dev
npm install ipfs-storage
```

## Usage

- Depends on node18+
- Upload files to Pinata

** 🚨 TODO 🚨 **

_The usage section should be minimal. Enough to demo the package, but not overload the reader_
Expand All @@ -31,4 +34,5 @@ _The usage section should be minimal. Enough to demo the package, but not overlo
[semantic-release-img]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-release-url]: https://github.com/semantic-release/semantic-release

TODO: NC - Make sure this package is private
TODO: NC - Finalise readme
TODO: NC - Add tests
Loading

0 comments on commit e2aa533

Please sign in to comment.