Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

fix: allow node_extra_ca_certs_mozilla_bundle postinstall script to run#1524

Draft
acrollet wants to merge 1 commit into
department-of-veterans-affairs:mainfrom
acrollet:fix/allow-ca-certs-postinstall
Draft

fix: allow node_extra_ca_certs_mozilla_bundle postinstall script to run#1524
acrollet wants to merge 1 commit into
department-of-veterans-affairs:mainfrom
acrollet:fix/allow-ca-certs-postinstall

Conversation

@acrollet
Copy link
Copy Markdown

@acrollet acrollet commented Dec 4, 2025

Add dependenciesMeta configuration to package.json to allowlist node_extra_ca_certs_mozilla_bundle for running its build scripts. This is needed because enableScripts: false in .yarnrc.yml blocks all postinstall scripts, but this package needs to run its script to download CA certificates required for local builds.

Description

What does this PR address?

Ticket

Closes link to ticket

Developer Task

- [ ] PR submitted against the `main` branch of `next-build`.
- [ ] Link to the issue that this PR addresses (if applicable).
- [ ] Define all changes in your PR and note any changes that could potentially be breaking changes.
- [ ] PR includes steps to test your changes and links to these changes in the Tugboat preview (if applicable).
- [ ] Provided before and after screenshots of your changes (if applicable).
- [ ] Alerted the #next-build Slack channel to request a PR review.
- [ ] You understand that once approved, you are responsible for merging your changes into `main`. (Note that changes to `main` will move automatically into production.)

Testing Steps

Explain the steps needed for testing

QA steps

What needs to be checked to prove this works?
What needs to be checked to prove it didn't break any related things?
What variations of circumstances (users, actions, values) need to be checked?

Screenshots

Before:
After:

Is this PR blocked by another PR?

  • Add the DO NOT MERGE label
  • Add links to additional PRs here:

Reviewer

Reviewing a PR

This section lists items that need to be checked or updated when making changes to this repository.

Standard Checks

- [ ] Code Quality: Readabilty, Naming Conventions, Consistency, Reusability
- [ ] Test Coverage: 80% coverage
- [ ] Functionality: Change functions as expected with no additional bugs
- [ ] Performance: Code does not introduce performance issues
- [ ] Documentation: Changes are documented in their respective README.md files
- [ ] Security: Packages have been approved in the TRM

Merging a Layout

When merging a layout, you must ensure that the content type has been turned on for next-build in the .tugboat.env. This method mocks the CMS flag that must be turned on for a layout to be included in the build.

The layout component and matching resource type should be included in the slug.tsx, so that it can reviewed. Including a component in the slug.tsx does not mean a page will be viewable in production only on the tugboat for the branch.

When a layout is merged to main and approved for deployment, the prod CMS will turn the toggle on for the resource type.

The status of layouts should be kept up to date inside templates.md. This includes QA progress, development progress, etc. A link should be provided for where testing can occur.

Add dependenciesMeta configuration to package.json to allowlist
node_extra_ca_certs_mozilla_bundle for running its build scripts.
This is needed because enableScripts: false in .yarnrc.yml blocks
all postinstall scripts, but this package needs to run its script
to download CA certificates required for local builds.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant