Skip to content

Commit

Permalink
Release v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Egge21M committed Oct 24, 2024
2 parents eddb64f + cb90f43 commit d149123
Show file tree
Hide file tree
Showing 28 changed files with 3,176 additions and 2,091 deletions.
9 changes: 4 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// .eslintrc
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
Expand All @@ -10,12 +9,12 @@
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],

"rules": {
"@typescript-eslint/no-unused-vars": "warn",
// to enforce using type for object type definitions, can be type or interface
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/typedef": ["error", { "parameter": true, "arrowParameter": true }],
"@typescript-eslint/consistent-type-definitions": ["warn", "type"],
"@typescript-eslint/array-type": ["warn", { "default": "generic" }],
"@typescript-eslint/array-type": ["error", { "default": "generic" }],
"require-await": "off",
"@typescript-eslint/require-await": "warn",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/await-thenable": "warn",
"@typescript-eslint/consistent-type-exports": "warn",
"no-else-return": "warn"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nutshell-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- name: Pull and start mint
run: |
docker run -d -p 3338:3338 --name nutshell -e MINT_LIGHTNING_BACKEND=FakeWallet -e MINT_LISTEN_HOST=0.0.0.0 -e MINT_LISTEN_PORT=3338 -e MINT_PRIVATE_KEY=TEST_PRIVATE_KEY cashubtc/nutshell:0.15.2 poetry run mint
docker run -d -p 3338:3338 --name nutshell -e MINT_LIGHTNING_BACKEND=FakeWallet -e MINT_LISTEN_HOST=0.0.0.0 -e MINT_LISTEN_PORT=3338 -e MINT_PRIVATE_KEY=TEST_PRIVATE_KEY cashubtc/nutshell:0.16.0 poetry run mint
- name: Check running containers
run: docker ps
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Package to npmjs
permissions:
contents: read
id-token: write
on:
release:
types: [prereleased]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run compile
- run: npm publish --tag next --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Supported token formats:
- [x] v1 read
- [x] v2 read (deprecated)
- [x] v3 read/write
- [x] v4 read/write

## Usage

Expand Down
Loading

0 comments on commit d149123

Please sign in to comment.