From 7bcf7c04796732587db0f36784eafa2e5c005f75 Mon Sep 17 00:00:00 2001 From: Nicholas Long <1907354+nllong@users.noreply.github.com> Date: Tue, 7 Oct 2025 08:20:53 -0600 Subject: [PATCH 1/3] Add dependabot config (#110) * add dependabot config * code cleanup * update precommit --- .github/dependabot.yml | 25 +++++++++++++++++++ .pre-commit-config.yaml | 2 +- .../better/resources/resources.component.html | 10 +++----- 3 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3f4b45f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,25 @@ +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/angular-app" + schedule: + interval: "weekly" + groups: + npm-dev-deps: + dependency-type: "development" + npm-prod-deps: + dependency-type: "production" + open-pull-requests-limit: 5 + commit-message: + prefix: "deps" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + groups: + actions-deps: + patterns: + - "*" + open-pull-requests-limit: 5 + commit-message: + prefix: "ci" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6e61521..769b466 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ exclude: | repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: check-added-large-files diff --git a/src/app/tool/better/resources/resources.component.html b/src/app/tool/better/resources/resources.component.html index 7d87c05..8ebe9b5 100644 --- a/src/app/tool/better/resources/resources.component.html +++ b/src/app/tool/better/resources/resources.component.html @@ -7,7 +7,7 @@

Who is Using BETTER?

BETTER is used by federal, state, and municipal government agencies, including the National Aeronautics and Space Administration (NASA) – Goddard Space Flight Center and the Department of Energy and Environment in the District of Columbia; school districts; energy service companies, including Johnson Controls; multinational corporations; investors and lenders, like Citi; and non-profit organizations, such as PowerOptions and World Resources Institute (WRI). For more on pilot projects, visit better.lbl.gov/news/.

Interoperability

-

BETTER can be used in combination with the U.S. Environmental Protection Agency ENERGY STAR® PortfolioManager® and the U.S. Department of Energy (DOE) Building Energy Asset Score to conduct multilayered analysis on buildings to deliver both superior structural performance and operational energy performance. Currently, BETTER can input data from ENERGY STAR® PortfolioManager® or a BuildingSync® file to facilitate data and analytics transfer between BETTER and Asset Score, Audit Template, and the Standard Energy Efficiency Data (SEED)TM Platform. Users of SEED can also run BETTER and view BETTER reports from within the SEED platform. See how one California state government branch is accessing BETTER analytics through SEED to support portfolio energy performance improvement. +

BETTER can be used in combination with the U.S. Environmental Protection Agency ENERGY STAR® PortfolioManager® and the U.S. Department of Energy (DOE) Building Energy Asset Score to conduct multilayered analysis on buildings to deliver both superior structural performance and operational energy performance. Currently, BETTER can input data from ENERGY STAR® PortfolioManager® or a BuildingSync® file to facilitate data and analytics transfer between BETTER and Asset Score, Audit Template, and the Standard Energy Efficiency Data (SEED)TM Platform. Users of SEED can also run BETTER and view BETTER reports from within the SEED platform. See how one California state government branch is accessing BETTER analytics through SEED to support portfolio energy performance improvement.

Training Materials

@@ -15,8 +15,8 @@

Training Materials

The following documents are available to help you understand and use BETTER:

- - - - From e69f0a0c714356f3a0d3f41d7b0990670783a11b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Oct 2025 08:29:34 -0600 Subject: [PATCH 2/3] ci: bump the actions-deps group with 3 updates (#111) Bumps the actions-deps group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-node](https://github.com/actions/setup-node) and [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action). Updates `actions/checkout` from 3 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v5) Updates `actions/setup-node` from 3 to 5 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v5) Updates `JamesIves/github-pages-deploy-action` from 4.6.4 to 4.7.3 - [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases) - [Commits](https://github.com/jamesives/github-pages-deploy-action/compare/v4.6.4...v4.7.3) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-deps - dependency-name: JamesIves/github-pages-deploy-action dependency-version: 4.7.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-deps ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++-- .github/workflows/deploy.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58472ae..796cad2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 + uses: actions/checkout@v5 - name: Set node version - uses: actions/setup-node@v3 + uses: actions/setup-node@v5 with: node-version: 16.18.0 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 91ccd0d..ff8adb4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set node version - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 16.18.0 @@ -28,7 +28,7 @@ jobs: npx ng build - name: Deploy Main Site - uses: JamesIves/github-pages-deploy-action@v4.6.4 + uses: JamesIves/github-pages-deploy-action@v4.7.3 if: github.ref == 'refs/heads/main' with: branch: gh-pages From a8da0c46d8eab56f0861fd38111ad05c7030003f Mon Sep 17 00:00:00 2001 From: Nicholas Long <1907354+nllong@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:03:10 -0600 Subject: [PATCH 3/3] Bundle the hashes to prevent 404s (#113) * bundle the hashes * Update .github/workflows/deploy.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/deploy.yml | 2 +- angular.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ff8adb4..92002a0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: - name: Install and Build run: | - npm install + npm ci npm install @angular/cli > /dev/null npx ng build diff --git a/angular.json b/angular.json index 0158225..14da71a 100644 --- a/angular.json +++ b/angular.json @@ -85,7 +85,7 @@ "with": "src/environments/environment.prod.ts" } ], - "outputHashing": "all" + "outputHashing": "bundles" }, "development": { "buildOptimizer": false,