Automate versioning and upgrades typescript

parent a3a8db01
{
"name": "siscon-cli",
"version": "0.0.2",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -3432,9 +3432,9 @@
}
},
"typescript": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.5.2.tgz",
"integrity": "sha1-A4qV99m7tCCxvzW6MdTFwd0//jQ=",
"version": "3.0.3",
"resolved": "https://nexus.dev.evologica.com.br/repository/npm/typescript/-/typescript-3.0.3.tgz",
"integrity": "sha512-kk80vLW9iGtjMnIv11qyxLqZm20UklzuR2tL0QAnDIygIUIemcZMxlMWudl9OOt76H3ntVzcTiddQ1/pAAJMYg==",
"dev": true
},
"unc-path-regex": {
......
......@@ -5,9 +5,10 @@ import './views/ponto'
import './views/servico'
import * as chalk from 'chalk'
const figlet = require('figlet')
import { version } from '../package.json'
program
.version('0.0.1', '-v, --version')
.version(version, '-v, --version')
.parse(process.argv)
if (!program.args.length) {
......
......@@ -10,6 +10,7 @@
"suppressImplicitAnyIndexErrors": true,
"allowUnreachableCode": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"newLine": "LF",
"target": "es6",
"lib": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment