First release

This commit is contained in:
Owen Quinlan 2021-07-02 19:29:34 +10:00
commit fa6c85266e
2339 changed files with 761050 additions and 0 deletions

24
node_modules/nes.css/scripts/getBuildData.js generated vendored Normal file
View file

@ -0,0 +1,24 @@
const git = require('git-rev-sync'); /* eslint-disable-line import/no-extraneous-dependencies */
module.exports = (isCompiled = false) => {
let buildData = '';
if (git.branch() !== 'master') {
if (isCompiled) {
buildData += `
Build Date: ${(new Date()).toISOString()}
Node Version: ${process.version}`;
}
buildData += `
Branch: ${git.branch()}
Commit: ${git.long()}`;
if (process.env.CIRCLECI) {
buildData += `
Build Number (CircleCI): ${process.env.CIRCLE_BUILD_NUM}`;
}
}
return buildData.replace(/^ +/gm, ' ');
};