Skip to content

Commit

Permalink
Use remapped specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Sep 21, 2024
1 parent 0925958 commit 431439b
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 320 deletions.
8 changes: 6 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
"fmt": {
"useTabs": true,
"singleQuote": true,
"exclude": ["README.md"]
"exclude": [
"README.md"
]
},
"imports": {
"@inquirer/input": "npm:@inquirer/input@^3.0.1",
"@std/fmt": "jsr:@std/fmt@^0.224.0",
"@std/path": "jsr:@std/path@^0.224.0"
"@std/path": "jsr:@std/path@^0.224.0",
"log-symbols": "npm:log-symbols@^7.0.0"
}
}
348 changes: 39 additions & 309 deletions deno.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/add-platform.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bold, cyan } from '@std/fmt/colors';
import logSymbols from 'npm:log-symbols';
import input from 'npm:@inquirer/input';
import logSymbols from 'log-symbols';
import input from '@inquirer/input';
import { loadGamesJson, nameCompare, writeGamesJson } from './utils.ts';

const games = await loadGamesJson();
Expand Down
4 changes: 2 additions & 2 deletions source/add.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bold, cyan, green } from '@std/fmt/colors';
import logSymbols from 'npm:log-symbols';
import input from 'npm:@inquirer/input';
import logSymbols from 'log-symbols';
import input from '@inquirer/input';
import {
loadGamesJson,
nameCompare,
Expand Down
2 changes: 1 addition & 1 deletion source/build.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import logSymbols from 'npm:log-symbols';
import logSymbols from 'log-symbols';
import { loadGamesJson, nameCompare, writeReadme } from './utils.ts';

const games = await loadGamesJson();
Expand Down
2 changes: 1 addition & 1 deletion source/check.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import logSymbols from 'npm:log-symbols';
import logSymbols from 'log-symbols';
import { Game, Platform } from './types.ts';
import {
loadGamesJson,
Expand Down
2 changes: 1 addition & 1 deletion source/reset.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import logSymbols from 'npm:log-symbols';
import logSymbols from 'log-symbols';
import { loadGamesJson, writeGamesJson } from './utils.ts';

const games = await loadGamesJson();
Expand Down
2 changes: 1 addition & 1 deletion source/search.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import input from 'npm:@inquirer/input';
import input from '@inquirer/input';
import { fuzzyMatched, loadGamesJson } from './utils.ts';

const games = await loadGamesJson();
Expand Down
2 changes: 1 addition & 1 deletion source/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { join } from '@std/path/join';
import logSymbols from 'npm:log-symbols';
import logSymbols from 'log-symbols';
import { Game, GamesJson, Platform } from './types.ts';

const gamesJsonPath = join(import.meta.dirname ?? '.', 'games.json');
Expand Down

0 comments on commit 431439b

Please sign in to comment.