Skip to content

Commit

Permalink
Add JSR support
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Sep 9, 2024
1 parent c63658a commit 1fdc90b
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: jsr

env:
DENO_VERSION: 1.x

on:
push:
tags:
- "v*"

permissions:
contents: read
id-token: write

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ env.DENO_VERSION }}
- name: Publish
run: |
deno run -A jsr:@david/[email protected]
15 changes: 15 additions & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
{
"name": "@shougo/ddx-vim",
"version": "0.0.0",
"exports": {
"./ui": "./denops/ddx/base/ui.ts",
"./types": "./denops/ddx/types.ts",
"./utils": "./denops/ddx/utils.ts"
},
"publish": {
"include": [
"denops/ddx/**/*.ts"
]
},
"imports": {
},
"lock": false,
"tasks": {
"check": "deno check denops/**/*.ts",
"lint": "deno lint denops",
"lint-fix": "deno lint --fix denops",
"fmt": "deno fmt denops",
"test": "deno test -A --doc --parallel --shuffle denops/**/*.ts",
"upgrade": "deno run -A jsr:@molt/cli **/*.ts --write"
Expand Down

0 comments on commit 1fdc90b

Please sign in to comment.