-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move crash and common methods to util.ts
- Loading branch information
Showing
11 changed files
with
30 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import "./src/cli/cli.ts"; | ||
import "./src/cli.ts"; |
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,11 +1,10 @@ | ||
import { resolve } from "jsr:@std/[email protected]"; | ||
|
||
import { existsSync } from "../common.ts"; | ||
import { crash } from "../crash.ts"; | ||
import { createProject } from "./create.ts"; | ||
import { loadProjectFiles } from "../load-project.ts"; | ||
import { renderProject } from "../render-project.ts"; | ||
import denojson from "../../deno.json" with { type: "json" }; | ||
import { crash, existsSync } from "./util.ts"; | ||
import { createProject } from "./create-project.ts"; | ||
import { loadProjectFiles } from "./load-project.ts"; | ||
import { renderProject } from "./render-project.ts"; | ||
import denojson from "../deno.json" with { type: "json" }; | ||
|
||
const helpText = ` | ||
Estilo ${denojson.version} | ||
|
This file was deleted.
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 |
---|---|---|
|
@@ -2,8 +2,8 @@ import { ensureDirSync } from "jsr:@std/[email protected]"; | |
import { basename, resolve } from "jsr:@std/[email protected]"; | ||
import { render } from "npm:[email protected]"; | ||
|
||
import { List } from "../types.ts"; | ||
import assets from "../assets.ts"; | ||
import { List } from "./types.ts"; | ||
import assets from "./assets.ts"; | ||
|
||
interface ProjectOptions { | ||
name: string; | ||
|
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
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,9 +1,8 @@ | ||
import { render } from "npm:[email protected]"; | ||
import { hexterm } from "jsr:@jacoborus/[email protected]"; | ||
import assets from "./assets.ts"; | ||
import { crash } from "./crash.ts"; | ||
import denojson from "../deno.json" with { type: "json" }; | ||
import { isHexColor } from "./common.ts"; | ||
import { crash, isHexColor } from "./util.ts"; | ||
import { isLegacyUi, parseLegacyUi } from "./legacy-ui.ts"; | ||
|
||
import { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { render } from "npm:[email protected]"; | ||
import denojson from "../deno.json" with { type: "json" }; | ||
import assets from "./assets.ts"; | ||
import { crash } from "./crash.ts"; | ||
import { crash } from "./util.ts"; | ||
|
||
import { | ||
DataRenderStatus, | ||
|
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