File tree 6 files changed +11
-20
lines changed
6 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env -S deno run --allow-run --allow-read --allow-env
2
- import { parse } from "@std/flags" ;
3
- import { join } from "@std/path" ;
4
- import { ensure , is } from "@core/unknownutil" ;
5
- import { systemopen } from "@lambdalisue/systemopen" ;
6
- import { dir } from "@cross/dir" ;
2
+ import { parse } from "jsr: @std/flags" ;
3
+ import { join } from "jsr: @std/path" ;
4
+ import { ensure , is } from "jsr: @core/unknownutil" ;
5
+ import { systemopen } from "jsr: @lambdalisue/systemopen" ;
6
+ import { dir } from "jsr: @cross/dir" ;
7
7
import {
8
8
getCommitAbbrevRef ,
9
9
getCommitSHA1 ,
Original file line number Diff line number Diff line change 7
7
"test" : " deno test -A --parallel --doc" ,
8
8
"check" : " deno check **/*.ts" ,
9
9
"upgrade" : " deno run -A https://deno.land/x/udd/main.ts **/*.ts"
10
- },
11
- "imports" : {
12
- "@core/unknownutil" : " jsr:@core/unknownutil@^3.17.2" ,
13
- "@cross/dir" : " jsr:@cross/dir@^1.1.0" ,
14
- "@lambdalisue/systemopen" : " jsr:@lambdalisue/systemopen@^1.0.0" ,
15
- "@std/assert" : " jsr:@std/assert@^0.221.0" ,
16
- "@std/flags" : " jsr:@std/flags@^0.221.0" ,
17
- "@std/path" : " jsr:@std/path@^0.221.0" ,
18
- "@std/testing" : " jsr:@std/testing@^0.221.0"
19
10
}
20
11
}
Original file line number Diff line number Diff line change 1
- import { assertThrows } from "@std/assert" ;
2
- import { assertSnapshot } from "@std/testing/snapshot" ;
1
+ import { assertThrows } from "jsr: @std/assert" ;
2
+ import { assertSnapshot } from "jsr: @std/testing/snapshot" ;
3
3
import { getHostingService , UnsupportedHostingServiceError } from "./mod.ts" ;
4
4
5
5
Deno . test ( "getHostingService" , async ( t ) => {
Original file line number Diff line number Diff line change 1
1
import type { HostingService , Range } from "../mod.ts" ;
2
2
import type { ExecuteOptions } from "../../process.ts" ;
3
- import { extname } from "@std/path" ;
3
+ import { extname } from "jsr: @std/path" ;
4
4
import { getCommitSHA1 } from "../../util.ts" ;
5
5
6
6
export const service : HostingService = {
Original file line number Diff line number Diff line change 1
- import { assert , assertRejects } from "@std/assert" ;
1
+ import { assert , assertRejects } from "jsr: @std/assert" ;
2
2
import { execute , ExecuteError } from "./process.ts" ;
3
3
4
4
Deno . test ( "execute() runs 'git' and return a stdout on success" , async ( ) => {
Original file line number Diff line number Diff line change 1
- import { stub } from "@std/testing/mock" ;
2
- import { assertEquals , unreachable } from "@std/assert" ;
1
+ import { stub } from "jsr: @std/testing/mock" ;
2
+ import { assertEquals , unreachable } from "jsr: @std/assert" ;
3
3
import { _internals , ExecuteError } from "./process.ts" ;
4
4
import {
5
5
getCommitAbbrevRef ,
You can’t perform that action at this time.
0 commit comments