Skip to content

Commit

Permalink
update build command
Browse files Browse the repository at this point in the history
  • Loading branch information
YieldRay committed Oct 2, 2024
1 parent 4c5bbba commit eba632c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: NPM (dry run)
if: github.event_name == 'push'
Expand Down
2 changes: 1 addition & 1 deletion build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ console.log('New package.json created.')
console.log(packageJson)

console.log('Building package using unbuild...')
execSync('npx unbuild@2.0.0', { stdio: ['ignore', 'inherit', 'inherit'] })
execSync('npx -y unbuild@2.0.0', { stdio: ['ignore', 'inherit', 'inherit'] })
6 changes: 2 additions & 4 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@
"useUnknownInCatchVariables": true,
"noImplicitOverride": true
},
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.2"
},
"imports": { "@std/assert": "jsr:@std/assert@^1.0.6" },
"tasks": {
"lint": "deno lint",
"fmt": "deno fmt",
"docs": "deno doc --html --name=json-rpc-ts --output=./docs/ ./mod.ts",
"test": "deno test --parallel --coverage --trace-ops",
"test": "deno test --parallel --coverage --trace-leaks",
"cov:gen": "deno coverage coverage --lcov --output=cov.lcov",
"cov:view": "deno coverage --html coverage",
"cov:clean": "rm -rf ./coverage/ cov.lcov",
Expand Down
16 changes: 8 additions & 8 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eba632c

Please sign in to comment.