-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: insert latest semver into unversioned deps
- Loading branch information
Showing
17 changed files
with
729 additions
and
158 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,51 @@ | ||
export const snapshot = {}; | ||
|
||
snapshot[`writeAll > direct import 1`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.1/mod.ts"; | ||
import { emojify } from "npm:node-emoji@2.1.0"; | ||
import { noop } from "./lib.ts"; | ||
' | ||
`; | ||
|
||
snapshot[`writeAll > direct import 2`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
' | ||
`; | ||
|
||
snapshot[`writeAll > import map 1`] = ` | ||
'{ | ||
"imports": { | ||
"std/": "https://deno.land/std@0.200.0/", | ||
"deno_graph": "https://deno.land/x/deno_graph@0.59.1/mod.ts", | ||
"node-emoji": "npm:node-emoji@2.1.0", | ||
"/": "./" | ||
} | ||
}' | ||
`; | ||
|
||
snapshot[`writeAll > import map 2`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
' | ||
`; | ||
|
||
snapshot[`writeAll > import map with no resolve 1`] = ` | ||
'import {} from "https://deno.land/std@0.204.0/version.ts"; | ||
' | ||
`; | ||
|
||
snapshot[`writeAll > unversioned specifiers 1`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.1/mod.ts"; | ||
import { emojify } from "npm:node-emoji@2.1.0"; | ||
import { noop } from "./lib.ts"; | ||
' | ||
`; | ||
|
||
snapshot[`writeAll > unversioned specifiers 2`] = ` | ||
'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
' | ||
`; |
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,40 @@ | ||
export const snapshot = {}; | ||
|
||
snapshot[`commitAll() > no grouping 1`] = ` | ||
FileSystemFake(2) [Map] { | ||
"file:///home/shun/molt/test/fixtures/direct-import/lib.ts" => 'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
', | ||
"file:///home/shun/molt/test/fixtures/direct-import/mod.ts" => 'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.1/mod.ts"; | ||
import { emojify } from "npm:node-emoji@2.1.0"; | ||
import { noop } from "./lib.ts"; | ||
', | ||
} | ||
`; | ||
|
||
snapshot[`commitAll() > group by dependency name 1`] = ` | ||
FileSystemFake(2) [Map] { | ||
"file:///home/shun/molt/test/fixtures/direct-import/lib.ts" => 'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
', | ||
"file:///home/shun/molt/test/fixtures/direct-import/mod.ts" => 'import { VERSION } from "https://deno.land/std@0.200.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.50.0/mod.ts"; | ||
import { emojify } from "npm:node-emoji@2.1.0"; | ||
import { noop } from "./lib.ts"; | ||
', | ||
} | ||
`; | ||
|
||
snapshot[`commitAll() > group by module (file) name 1`] = ` | ||
FileSystemFake(2) [Map] { | ||
"file:///home/shun/molt/test/fixtures/direct-import/lib.ts" => 'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
export const noop = () => {}; | ||
', | ||
"file:///home/shun/molt/test/fixtures/direct-import/mod.ts" => 'import { VERSION } from "https://deno.land/std@0.204.0/version.ts"; | ||
import { createGraph } from "https://deno.land/x/deno_graph@0.59.1/mod.ts"; | ||
import { emojify } from "npm:node-emoji@2.1.0"; | ||
import { noop } from "./lib.ts"; | ||
', | ||
} | ||
`; |
Oops, something went wrong.