From ac32c65df27c8e5c9f7e684e8dee48aa06ad6494 Mon Sep 17 00:00:00 2001 From: Travis Webb Date: Thu, 23 Nov 2017 03:41:58 -0500 Subject: [PATCH 1/2] [config] respect freezeConfig=false --- lib/Core.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Core.js b/lib/Core.js index f464cf2..53c741b 100644 --- a/lib/Core.js +++ b/lib/Core.js @@ -122,8 +122,9 @@ const Core = module.exports = { app.log.warn('freezeConfig is disabled. Configuration will not be frozen.') app.log.warn('Please only use this flag for testing/debugging purposes.') } - - app.config.freeze() + else { + app.config.freeze() + } }) app.once('trailpack:all:initialized', () => { app.log.silly(lib.Templates.silly.initialized) From b315184fca96201cb1f751b6604e5b21e6e7fdff Mon Sep 17 00:00:00 2001 From: Travis Webb Date: Tue, 5 Dec 2017 12:01:23 -0500 Subject: [PATCH 2/2] [pkg] clean up npm pkg, remove codeclimate config --- .codeclimate.yml | 5 ----- .npmignore | 9 +++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 .codeclimate.yml create mode 100644 .npmignore diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 8539c4f..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,5 +0,0 @@ -engines: - eslint: - enabled: false - duplication: - enabled: false diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..1d95e28 --- /dev/null +++ b/.npmignore @@ -0,0 +1,9 @@ +.github/ +.tmp/ +.nyc_output/ +test/ +test-performance/ + +.istanbul.yml +.travis.yml +appveyor.yml