touch .build
This commit is contained in:
parent
355813c44f
commit
6f48ba7ecb
3 changed files with 22 additions and 2 deletions
|
|
@ -22,7 +22,8 @@
|
|||
"redis": "^2.8.0",
|
||||
"showdown": "^1.8.6",
|
||||
"socket.io": "^2.0.4",
|
||||
"superagent": "^3.8.2"
|
||||
"superagent": "^3.8.2",
|
||||
"touch": "^3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-runtime": "^6.26.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const touch = require('touch');
|
||||
|
||||
const {
|
||||
get_build_json_path,
|
||||
|
|
@ -7,7 +8,8 @@ const {
|
|||
apps_list,
|
||||
assets_path,
|
||||
get_public_path,
|
||||
bench_path
|
||||
bench_path,
|
||||
sites_path
|
||||
} = require('./rollup.utils');
|
||||
|
||||
const less = require('rollup-plugin-less');
|
||||
|
|
@ -170,6 +172,7 @@ function build_libs() {
|
|||
const target_path = path.resolve(assets_path, libs_path);
|
||||
fs.writeFileSync(target_path, libs_content);
|
||||
console.log('✨ Built libs.min.js'); // eslint-disable-line
|
||||
touch(path.join(sites_path, '.build'), { force: true });
|
||||
}
|
||||
|
||||
function get_all_apps_config() {
|
||||
|
|
|
|||
16
yarn.lock
16
yarn.lock
|
|
@ -2,6 +2,10 @@
|
|||
# yarn lockfile v1
|
||||
|
||||
|
||||
abbrev@1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
|
||||
|
||||
accepts@~1.3.4:
|
||||
version "1.3.4"
|
||||
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.4.tgz#86246758c7dd6d21a6474ff084a4740ec05eb21f"
|
||||
|
|
@ -1105,6 +1109,12 @@ negotiator@0.6.1:
|
|||
version "0.6.1"
|
||||
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
|
||||
|
||||
nopt@~1.0.10:
|
||||
version "1.0.10"
|
||||
resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
|
||||
dependencies:
|
||||
abbrev "1"
|
||||
|
||||
normalize-path@^2.0.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
|
||||
|
|
@ -1692,6 +1702,12 @@ to-object-path@^0.3.0:
|
|||
dependencies:
|
||||
kind-of "^3.0.2"
|
||||
|
||||
touch@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b"
|
||||
dependencies:
|
||||
nopt "~1.0.10"
|
||||
|
||||
tough-cookie@~2.3.0:
|
||||
version "2.3.3"
|
||||
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue