Skip to content

feat(cli): print base typeorm version #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/commands/VersionCommand.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {CommandBuilder, CommandModule, Args} from "./CliBuilder.ts";
import {VERSION} from "../version.ts";
import {VERSION, BASE_TYPEORM_VERSION} from "../version.ts";

/**
* Shows typeorm version.
Expand All @@ -11,6 +11,7 @@ export class VersionCommand implements CommandModule {
async handler() {

console.log("TypeORM CLI version:", VERSION);
console.log("Base TypeORM version:", BASE_TYPEORM_VERSION);
}

}
1 change: 1 addition & 0 deletions src/version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export const VERSION = "v0.2.23-rc8";
export const BASE_TYPEORM_VERSION = "v0.2.22";
export const MOD_URL = `https://denolib.com/denolib/typeorm@${VERSION}/mod.ts`;
export const CLI_URL = `https://denolib.com/denolib/typeorm@${VERSION}/cli.ts`;