Loading core/package.json +0 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,6 @@ "@popperjs/core": "2.11.x", "babel-plugin-add-header-comment": "^1.0.3", "backbone": "1.4.x", "chalk": "^4.1.0", "chokidar": "^3.3.1", "chromedriver": "^98.0.1", "ckeditor5": "34.1.x", Loading core/scripts/css/check.js +2 −3 Original line number Diff line number Diff line const chalk = require('chalk'); const fs = require('fs'); const log = require('./log'); const compile = require('./compile'); Loading @@ -10,12 +9,12 @@ module.exports = (filePath) => { const fileName = filePath.slice(0, -9); fs.readFile(`${fileName}.css`, function read(err, data) { if (err) { log(chalk.red(err)); log(err); process.exitCode = 1; return; } if (code !== data.toString()) { log(chalk.red(`'${filePath}' is not updated.`)); log(`'${filePath}' is not updated.`); process.exitCode = 1; } }); Loading core/scripts/css/compile.js +1 −2 Original line number Diff line number Diff line const chalk = require('chalk'); const log = require('./log'); const fs = require('fs'); const postcss = require('postcss'); Loading Loading @@ -81,7 +80,7 @@ module.exports = (filePath, callback) => { callback(result.css); }) .catch(error => { log(chalk.red(error)); log(error); process.exitCode = 1; }); }); Loading core/scripts/js/check.js +2 −3 Original line number Diff line number Diff line const chalk = require('chalk'); const fs = require('fs'); const log = require('./log'); const compile = require('./compile'); Loading @@ -10,12 +9,12 @@ module.exports = (filePath) => { const fileName = filePath.slice(0, -7); fs.readFile(`${fileName}.js`, function read(err, data) { if (err) { log(chalk.red(err)); log(err); process.exitCode = 1; return; } if (code !== data.toString()) { log(chalk.red(`'${filePath}' is not updated.`)); log(`'${filePath}' is not updated.`); process.exitCode = 1; } }); Loading core/scripts/js/compile.js +1 −2 Original line number Diff line number Diff line const chalk = require('chalk'); const log = require('./log'); const babel = require('@babel/core'); Loading @@ -20,7 +19,7 @@ module.exports = (filePath, callback) => { }, (err, result) => { if (err) { log(chalk.red(err)); log(err); process.exitCode = 1; } else { Loading Loading
core/package.json +0 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,6 @@ "@popperjs/core": "2.11.x", "babel-plugin-add-header-comment": "^1.0.3", "backbone": "1.4.x", "chalk": "^4.1.0", "chokidar": "^3.3.1", "chromedriver": "^98.0.1", "ckeditor5": "34.1.x", Loading
core/scripts/css/check.js +2 −3 Original line number Diff line number Diff line const chalk = require('chalk'); const fs = require('fs'); const log = require('./log'); const compile = require('./compile'); Loading @@ -10,12 +9,12 @@ module.exports = (filePath) => { const fileName = filePath.slice(0, -9); fs.readFile(`${fileName}.css`, function read(err, data) { if (err) { log(chalk.red(err)); log(err); process.exitCode = 1; return; } if (code !== data.toString()) { log(chalk.red(`'${filePath}' is not updated.`)); log(`'${filePath}' is not updated.`); process.exitCode = 1; } }); Loading
core/scripts/css/compile.js +1 −2 Original line number Diff line number Diff line const chalk = require('chalk'); const log = require('./log'); const fs = require('fs'); const postcss = require('postcss'); Loading Loading @@ -81,7 +80,7 @@ module.exports = (filePath, callback) => { callback(result.css); }) .catch(error => { log(chalk.red(error)); log(error); process.exitCode = 1; }); }); Loading
core/scripts/js/check.js +2 −3 Original line number Diff line number Diff line const chalk = require('chalk'); const fs = require('fs'); const log = require('./log'); const compile = require('./compile'); Loading @@ -10,12 +9,12 @@ module.exports = (filePath) => { const fileName = filePath.slice(0, -7); fs.readFile(`${fileName}.js`, function read(err, data) { if (err) { log(chalk.red(err)); log(err); process.exitCode = 1; return; } if (code !== data.toString()) { log(chalk.red(`'${filePath}' is not updated.`)); log(`'${filePath}' is not updated.`); process.exitCode = 1; } }); Loading
core/scripts/js/compile.js +1 −2 Original line number Diff line number Diff line const chalk = require('chalk'); const log = require('./log'); const babel = require('@babel/core'); Loading @@ -20,7 +19,7 @@ module.exports = (filePath, callback) => { }, (err, result) => { if (err) { log(chalk.red(err)); log(err); process.exitCode = 1; } else { Loading