From f9fa8024ed18a0a6bc3ef69395654e6e65adaf82 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Tue, 14 Dec 2021 18:54:48 +0200 Subject: [PATCH] FIX: .npmrc + Debug templates in dev mode --- .npmrc | 5 +++-- app/_config/templates-themes.yml | 11 ++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.npmrc b/.npmrc index 2171cad..f7fcad3 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ -registry=https://npm.pkg.github.com/a2nt -registry=https://registry.npmjs.org/ \ No newline at end of file +//npm.pkg.github.com/:_authToken=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 +//npmjs.org=true +@a2nt:registry=https://npm.pkg.github.com \ No newline at end of file diff --git a/app/_config/templates-themes.yml b/app/_config/templates-themes.yml index d70c392..d505147 100644 --- a/app/_config/templates-themes.yml +++ b/app/_config/templates-themes.yml @@ -5,7 +5,7 @@ After: - a2nt-cms-niceties-templates-themes --- SilverStripe\View\SSViewer: - source_file_comments: true + source_file_comments: false themes: - '$public' - '$default' @@ -18,3 +18,12 @@ A2nt\ElementalBasics\Elements\SliderElement: A2nt\ElementalBasics\Extensions\ElementRows: container_max_width: 2280 column_class: 'col-block col-md' + +--- +Name: webapp-templates-themes-debug +Only: + environment: dev +--- +SilverStripe\View\SSViewer: + source_file_comments: true +