mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
remove version from package
This commit is contained in:
parent
d49e0d3836
commit
0ead9e0da1
@ -1,11 +1,10 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.27",
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"dev": "tsc -w",
|
"dev": "tsc -w",
|
||||||
"move": "mv bin/index-linux bin/autorestic_linux_x64 && mv bin/index-macos bin/autorestic_macos_x64",
|
"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:build": "codedoc install && codedoc build",
|
||||||
"docs:dev": "codedoc serve"
|
"docs:dev": "codedoc serve"
|
||||||
},
|
},
|
||||||
|
@ -5,7 +5,6 @@ import { setCIMode } from 'clitastic'
|
|||||||
import { unlock, readLock, writeLock, lock } from './lock'
|
import { unlock, readLock, writeLock, lock } from './lock'
|
||||||
import { Config } from './types'
|
import { Config } from './types'
|
||||||
import { init } from './config'
|
import { init } from './config'
|
||||||
import { version } from '../package.json'
|
|
||||||
|
|
||||||
import info from './handlers/info'
|
import info from './handlers/info'
|
||||||
import check from './handlers/check'
|
import check from './handlers/check'
|
||||||
@ -18,7 +17,7 @@ import install from './handlers/install'
|
|||||||
import { uninstall } from './handlers/uninstall'
|
import { uninstall } from './handlers/uninstall'
|
||||||
import { upgrade } from './handlers/upgrade'
|
import { upgrade } from './handlers/upgrade'
|
||||||
|
|
||||||
export const VERSION = version
|
export const VERSION = '0.27'
|
||||||
export const INSTALL_DIR = '/usr/local/bin'
|
export const INSTALL_DIR = '/usr/local/bin'
|
||||||
|
|
||||||
let requireConfig: boolean = true
|
let requireConfig: boolean = true
|
||||||
|
@ -9,5 +9,5 @@
|
|||||||
"alwaysStrict": true,
|
"alwaysStrict": true,
|
||||||
"strictNullChecks": true
|
"strictNullChecks": true
|
||||||
},
|
},
|
||||||
"include": ["./src", "./package.json"]
|
"include": ["./src"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user