-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
67 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "@shougo/ddu-kind-file", | ||
"version": "0.0.0", | ||
"exports": { | ||
".": "./denops/@ddu-kinds/file.ts" | ||
}, | ||
"publish": { | ||
"include": [ | ||
"denops/@ddu-kinds/**/*.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 --no-resolve --write" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,32 @@ | ||
import { | ||
ActionFlags, | ||
ActionHistory, | ||
Actions, | ||
type ActionHistory, | ||
type Actions, | ||
BaseKind, | ||
Clipboard, | ||
Context, | ||
DduItem, | ||
DduOptions, | ||
PreviewContext, | ||
Previewer, | ||
SourceOptions, | ||
} from "https://deno.land/x/[email protected]/types.ts"; | ||
import { | ||
basename, | ||
Denops, | ||
dirname, | ||
ensure, | ||
fn, | ||
is, | ||
vars, | ||
} from "https://deno.land/x/[email protected]/deps.ts"; | ||
type Clipboard, | ||
type Context, | ||
type DduItem, | ||
type DduOptions, | ||
type Denops, | ||
type PreviewContext, | ||
type Previewer, | ||
type SourceOptions, | ||
} from "jsr:@shougo/[email protected]/types"; | ||
import { | ||
printError, | ||
treePath2Filename, | ||
} from "https://deno.land/x/[email protected]/utils.ts"; | ||
} from "jsr:@shougo/[email protected]/utils"; | ||
|
||
import * as fn from "jsr:@denops/[email protected]/function"; | ||
import * as vars from "jsr:@denops/[email protected]/variable"; | ||
import { basename, dirname } from "jsr:@std/[email protected]"; | ||
|
||
import { isAbsolute, join, normalize, relative } from "jsr:@std/[email protected]"; | ||
import { copy, ensureDir, ensureFile, move } from "jsr:@std/[email protected]"; | ||
import { ByteSliceStream } from "jsr:@std/[email protected]/byte-slice-stream"; | ||
import { toArrayBuffer } from "jsr:@std/[email protected]/to-array-buffer"; | ||
import { TextLineStream } from "jsr:@std/[email protected]"; | ||
import { ensure, is } from "jsr:@core/[email protected]"; | ||
|
||
export type ActionData = { | ||
bufNr?: number; | ||
|