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:
|
on:
|
||||||
workflow_dispatch: { }
|
workflow_dispatch: { }
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- master
|
# - master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-publish:
|
build-and-publish:
|
||||||
|
@@ -2,9 +2,9 @@
|
|||||||
name: Build and test
|
name: Build and test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- 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
|
## Install
|
||||||
|
|
||||||
```bash
|
```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
|
npm install --save @js/memo
|
||||||
|
|
||||||
|
# optional - additional supporting typescript definitions
|
||||||
|
npm install --save-dev @js/types
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
Reference in New Issue
Block a user