1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 21:34:13 +03:00

Merge pull request #252 from tnguyen14/local-npx

Include all build tools in project's dependencies
This commit is contained in:
Eugene Pankov 2017-12-01 09:00:30 +01:00 committed by GitHub
commit 5b62d5f92a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1270 additions and 49 deletions

View File

@ -24,6 +24,7 @@
"node-gyp": "^3.6.2",
"node-sass": "^4.5.3",
"npmlog": "4.1.0",
"npx": "^9.7.1",
"pug": "2.0.0-beta11",
"pug-html-loader": "1.0.9",
"pug-loader": "2.3.0",
@ -42,7 +43,8 @@
"url-loader": "0.5.7",
"val-loader": "0.5.0",
"webpack": "^3.0.0",
"yaml-loader": "0.4.0"
"yaml-loader": "0.4.0",
"yarn": "^1.3.2"
},
"build": {
"appId": "org.terminus",

View File

@ -4,16 +4,19 @@ const path = require('path')
const vars = require('./vars')
const log = require('npmlog')
const localBinPath = path.resolve(__dirname, '../node_modules/.bin');
const npx = `${localBinPath}/npx`;
log.info('deps', 'app')
sh.exec('yarn install')
sh.exec(`${npx} yarn install`)
sh.cd('app')
sh.exec('yarn install')
sh.exec(`${npx} yarn install`)
sh.cd('..')
vars.builtinPlugins.forEach(plugin => {
log.info('deps', plugin)
sh.cd(plugin)
sh.exec('yarn install')
sh.exec(`${npx} yarn install`)
sh.cd('..')
})

1306
yarn.lock

File diff suppressed because it is too large Load Diff