This commit is contained in:
parent
2ee628544e
commit
c783583898
@ -1,6 +1,8 @@
|
||||
import { Cliffy, Path, Colors } from "./deps.ts";
|
||||
import { init } from "./global.ts";
|
||||
|
||||
import { version } from "./version.ts";
|
||||
|
||||
import setupCMD from "./commands/setup.ts";
|
||||
import initCMD from "./commands/init.ts";
|
||||
import bumpCMD from "./commands/bump.ts";
|
||||
@ -8,13 +10,6 @@ import publishCMD from "./commands/publish.ts";
|
||||
import deprecateCMD from "./commands/deprecate.ts";
|
||||
import upgradeCMD from "./commands/upgrade.ts";
|
||||
|
||||
let version = "unknown";
|
||||
|
||||
try {
|
||||
const v = await import("./version.ts");
|
||||
version = v.version;
|
||||
} catch (err) {}
|
||||
|
||||
const HOME_FOLDER = Deno.env.get("HOME") || Deno.env.get("USERPROFILE") || "";
|
||||
|
||||
type CommandHandler = (...opts: any[]) => void | Promise<void>;
|
||||
|
@ -1,10 +1,14 @@
|
||||
{
|
||||
"name": "@denreg-cli",
|
||||
"version": "0.2.3",
|
||||
"version": "0.2.4",
|
||||
"description": "CLI for the DenReg package registry",
|
||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||
"contributors": [],
|
||||
"files": ["**/*.ts", "**/*.js", "README.md"],
|
||||
"files": [
|
||||
"**/*.ts",
|
||||
"**/*.js",
|
||||
"README.md"
|
||||
],
|
||||
"hooks": {
|
||||
"prepublish": "pre.ts"
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
export const version = "0.2.3"
|
||||
export const version = "0.2.4"
|
Loading…
Reference in New Issue
Block a user