Skip to content

Commit b86e6b7

Browse files
committed
update build command
1 parent 4c5bbba commit b86e6b7

File tree

5 files changed

+22
-16
lines changed

5 files changed

+22
-16
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- name: Set up Node
4343
uses: actions/setup-node@v4
4444
with:
45-
node-version: "20.x"
46-
registry-url: "https://registry.npmjs.org"
45+
node-version: '20.x'
46+
registry-url: 'https://registry.npmjs.org'
4747

4848
- name: NPM (dry run)
4949
if: github.event_name == 'push'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![codecov](https://codecov.io/gh/YieldRay/json-rpc-ts/graph/badge.svg?token=BabjRkI8jk)](https://codecov.io/gh/YieldRay/json-rpc-ts)
77
[![ci](https://github.com/yieldray/json-rpc-ts/actions/workflows/ci.yml/badge.svg)](https://github.com/yieldray/json-rpc-ts/actions/workflows/ci.yml)
88

9-
A strictly typed json-rpc(2.0) implementation, zero dependency, minimal abstraction, with simple api
9+
A strictly typed json-rpc(2.0) implementation, zero dependency, minimal abstraction, with simple api.
1010

1111
> Specification <https://www.jsonrpc.org/specification>
1212

build.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ const packageJson = {
2222
types: './dist/index.d.ts',
2323
files: ['dist'],
2424
author: 'YieldRay',
25+
description: 'A strictly typed json-rpc(2.0) implementation',
26+
keywords: [
27+
'jsonrpc',
28+
'json-rpc',
29+
'rpc',
30+
'json',
31+
'jsonrpc-2.0',
32+
],
2533
license: 'MIT',
2634
repository: {
2735
type: 'git',
@@ -38,4 +46,4 @@ console.log('New package.json created.')
3846
console.log(packageJson)
3947

4048
console.log('Building package using unbuild...')
41-
execSync('npx [email protected]', { stdio: ['ignore', 'inherit', 'inherit'] })
49+
execSync('npx -y [email protected]', { stdio: ['ignore', 'inherit', 'inherit'] })

deno.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@
2020
"useUnknownInCatchVariables": true,
2121
"noImplicitOverride": true
2222
},
23-
"imports": {
24-
"@std/assert": "jsr:@std/assert@^1.0.2"
25-
},
23+
"imports": { "@std/assert": "jsr:@std/assert@^1.0.6" },
2624
"tasks": {
2725
"lint": "deno lint",
2826
"fmt": "deno fmt",
2927
"docs": "deno doc --html --name=json-rpc-ts --output=./docs/ ./mod.ts",
30-
"test": "deno test --parallel --coverage --trace-ops",
28+
"test": "deno test --parallel --coverage --trace-leaks",
3129
"cov:gen": "deno coverage coverage --lcov --output=cov.lcov",
3230
"cov:view": "deno coverage --html coverage",
3331
"cov:clean": "rm -rf ./coverage/ cov.lcov",

deno.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)