From 7da056b4b410e49793647555f077704bf9cfc921 Mon Sep 17 00:00:00 2001 From: Christopher Wilcox Date: Mon, 24 Sep 2018 13:09:22 -0700 Subject: [PATCH 1/3] Modify source location for templates As nodejs-storage uses typescript, specify the source location of common templates to be /build/ --- synth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synth.py b/synth.py index 35c5bbaae..b4920132f 100644 --- a/synth.py +++ b/synth.py @@ -18,5 +18,5 @@ logging.basicConfig(level=logging.DEBUG) common_templates = gcp.CommonTemplates() -templates = common_templates.node_library() +templates = common_templates.node_library(source_location='build') s.copy(templates) From 97ec54e28912efd6310319ca784b152307824444 Mon Sep 17 00:00:00 2001 From: Chris Wilcox Date: Mon, 24 Sep 2018 13:10:51 -0700 Subject: [PATCH 2/3] rerun synth --- .eslintrc.yml | 2 -- .jsdoc.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 73eeec276..bed57fbc4 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -11,5 +11,3 @@ rules: block-scoped-var: error eqeqeq: error no-warning-comments: warn - no-var: error - prefer-const: error diff --git a/.jsdoc.js b/.jsdoc.js index dee13f90e..3331ec02f 100644 --- a/.jsdoc.js +++ b/.jsdoc.js @@ -31,7 +31,7 @@ module.exports = { source: { excludePattern: '(^|\\/|\\\\)[._]', include: [ - 'src' + 'build' ], includePattern: '\\.js$' }, From b6b839872f4423f8c99ead147a1c1d7d865cfe4c Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Wed, 3 Oct 2018 09:49:54 -0700 Subject: [PATCH 3/3] Update .eslintrc.yml --- .eslintrc.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.yml b/.eslintrc.yml index bed57fbc4..73eeec276 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -11,3 +11,5 @@ rules: block-scoped-var: error eqeqeq: error no-warning-comments: warn + no-var: error + prefer-const: error