diff --git a/package.json b/package.json index b2f0093..880f591 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { "private": true, - "version": "0.27", "scripts": { "build": "tsc", "dev": "tsc -w", "move": "mv bin/index-linux bin/autorestic_linux_x64 && mv bin/index-macos bin/autorestic_macos_x64", - "bin": "yarn run build && pkg dist/src/index.js --targets latest-macos-x64,latest-linux-x64 --out-path bin && yarn run move", + "bin": "yarn run build && pkg dist/index.js --targets latest-macos-x64,latest-linux-x64 --out-path bin && yarn run move", "docs:build": "codedoc install && codedoc build", "docs:dev": "codedoc serve" }, diff --git a/src/index.ts b/src/index.ts index ab94c8d..0936d47 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,6 @@ import { setCIMode } from 'clitastic' import { unlock, readLock, writeLock, lock } from './lock' import { Config } from './types' import { init } from './config' -import { version } from '../package.json' import info from './handlers/info' import check from './handlers/check' @@ -18,7 +17,7 @@ import install from './handlers/install' import { uninstall } from './handlers/uninstall' import { upgrade } from './handlers/upgrade' -export const VERSION = version +export const VERSION = '0.27' export const INSTALL_DIR = '/usr/local/bin' let requireConfig: boolean = true diff --git a/tsconfig.json b/tsconfig.json index 36e880c..1574fae 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,5 +9,5 @@ "alwaysStrict": true, "strictNullChecks": true }, - "include": ["./src", "./package.json"] + "include": ["./src"] }