mirror of https://github.com/sundowndev/http.git
feat: CLI improvements
parent
c944b00359
commit
481e6da8ec
|
@ -1,4 +1,3 @@
|
|||
const chalk = require('chalk')
|
||||
const path = require('path')
|
||||
const consola = require('consola')
|
||||
|
||||
|
@ -96,8 +95,8 @@ module.exports = function nuxtAxios (_moduleOptions) {
|
|||
// Set _AXIOS_BASE_URL_ for dynamic SSR baseURL
|
||||
process.env._AXIOS_BASE_URL_ = options.baseURL
|
||||
|
||||
logger.info(`BaseURL: ${chalk.green(options.baseURL)}`)
|
||||
logger.info(`BaseURL (Browser): ${chalk.green(options.browserBaseURL)}`)
|
||||
logger.debug(`baseURL: ${options.baseURL}`)
|
||||
logger.debug(`browserBaseURL: ${options.browserBaseURL}`)
|
||||
}
|
||||
|
||||
module.exports.meta = require('../package.json')
|
||||
|
|
|
@ -34,11 +34,10 @@
|
|||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxtjs/proxy": "^1.2.1",
|
||||
"@nuxtjs/proxy": "^1.2.3",
|
||||
"axios": "^0.18.0",
|
||||
"axios-retry": "^3.0.2",
|
||||
"chalk": "^2.3.2",
|
||||
"consola": "^1.0.0"
|
||||
"consola": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"codecov": "latest",
|
||||
|
|
16
yarn.lock
16
yarn.lock
|
@ -25,11 +25,11 @@
|
|||
string-width "^2.0.0"
|
||||
strip-ansi "^4.0.0"
|
||||
|
||||
"@nuxtjs/proxy@^1.2.1":
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@nuxtjs/proxy/-/proxy-1.2.1.tgz#384f0891b7b14901941d1c49fa1034e6c5ff19c0"
|
||||
"@nuxtjs/proxy@^1.2.3":
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/@nuxtjs/proxy/-/proxy-1.2.3.tgz#142e603b5d7b0412e0c35afa53bf9b4b26b70198"
|
||||
dependencies:
|
||||
consola "^1.0.0"
|
||||
consola "^1.1.1"
|
||||
http-proxy-middleware "^0.18.0"
|
||||
|
||||
"@nuxtjs/youch@^4.2.3":
|
||||
|
@ -1645,6 +1645,14 @@ consola@^1.0.0:
|
|||
ora "^2.0.0"
|
||||
std-env "^1.1.0"
|
||||
|
||||
consola@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/consola/-/consola-1.1.1.tgz#282566e34573d33f01e3c0aca0cd6d383f82925c"
|
||||
dependencies:
|
||||
figures "^2.0.0"
|
||||
lodash "^4.17.5"
|
||||
std-env "^1.1.0"
|
||||
|
||||
console-browserify@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10"
|
||||
|
|
Loading…
Reference in New Issue