generated from templates/typescript-library
Compare commits
3 Commits
7c93618c5c
...
master
Author | SHA1 | Date | |
---|---|---|---|
878592fbc6
|
|||
aa7272b0b4
|
|||
0db015e91d
|
@@ -3,9 +3,9 @@ name: Build and publish
|
||||
|
||||
on:
|
||||
workflow_dispatch: { }
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
|
||||
jobs:
|
||||
build-and-publish:
|
||||
|
@@ -2,9 +2,9 @@
|
||||
name: Build and test
|
||||
|
||||
on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
3
.npmignore
Normal file
3
.npmignore
Normal file
@@ -0,0 +1,3 @@
|
||||
.gitea
|
||||
src
|
||||
tsconfig.json
|
@@ -6,7 +6,13 @@ In-memory caching/memoization utilities
|
||||
## Install
|
||||
|
||||
```bash
|
||||
# Update project npm config to refer to correct registry for the @js scope
|
||||
echo '@js:registry=https://gitea.jbrumond.me/api/packages/js/npm/' >> ./.npmrc
|
||||
|
||||
npm install --save @js/memo
|
||||
|
||||
# optional - additional supporting typescript definitions
|
||||
npm install --save-dev @js/types
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
Reference in New Issue
Block a user