Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#415)(#416)(#417)(#418) choco-theme 0.8.1 #420

Merged
merged 6 commits into from
Oct 2, 2024
Merged

Conversation

st3phhays
Copy link
Member

@st3phhays st3phhays commented Sep 25, 2024

Description Of Changes

  • Upgrades ESLint to 9.x
  • Fixes PT Sans font path for docs
  • Adds scanning of all dependencies for security vulnerabilities
  • Upgrades miscellaneous dependencies and upgrades to choco-theme 0.8.1

Motivation and Context

There were a few dependencies that needed upgraded to allow the yarn npm audit command to pass. We want to ship up to date dependencies and remove any vulnerabilities. In addition, the font path to the docs needed fixed to ensure fonts were shown the same for all users.

Testing

  1. Pull down the PR and build it according to the repository's readme.
  2. Ensure the following "works":
    1. Switching from dark to light mode.
    2. If any dropdown navigation on the left side bar, ensure the navigation drops down as it should.
    3. Everything "looks" correct. There should be almost no noticeable changes, except for a few colors in light mode have been updated for accessibility.
  3. If everything looks good, approve the pull request but do not merge. Note that after choco-theme is released, and the repository is updated with the new version, you will be notified to approve again.
  4. Change subtask item to "Blocked" in ClickUp with a note that it is approved but awaiting a release of choco-theme.

Operating Systems Testing

  • choco-theme 0.8.1 on Windows 10

Change Types Made

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v3 compatibility checked?
  • credits.md file has been updated

Related Issue

This updates the yarn npm audit command to include all severity
types, scan dependencies recursively, and also ignores the known
vulnerability in sweetalert2.

This command has been added to the readme, which can be ran locally
after `yarn` has been ran. In addition, this has been updated in the
audit.yaml file that is ran before choco-theme is released.
This updates the path to which the PT Sans font should be copied to on
the docs site. This removes the duplicate 'fons' in the path. This
allows the font to be copied correctly when `yarn choco-theme` is ran
on the docs site.
This upgrades to the latest version of ESLint. With this upgrade, the
format of the config file change to a `eslint.config.mjs` file. A tool
was used by ESLint to convert over the existing .eslintrc.js file. More
information on the conversion can be found at https://eslint.org/docs/latest/use/configure/migration-guide.

After this upgrade of ESLint, ESLint was ran and tested by making
purposeful changes to ensure that errors were caught. This worked
successfully, and also found an actual error that was fixed.
@st3phhays
Copy link
Member Author

This PR is to remain in draft until all other PRs that use this are have been reviewed and approved. This is to ensure that everything that uses this version of choco-theme has been tested and passes.

@st3phhays st3phhays force-pushed the release/0.8.1 branch 2 times, most recently from a06d960 to 8714cf8 Compare September 26, 2024 18:12
This fixes a few small errors in the preview scripts to allow them to
run as they are intended. There was a `)` in the wrong place that has
been moved.
Copy link
Contributor

@alexaveldanez alexaveldanez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

This upgrades choco-theme to 0.8.1. With this upgrade, typescript and
purgecss were upgraded to remove any possible vulnerabilities. Other
than that, no specific changes were made although the compiled code
changed slightly due to additional dependencies being upgraded to minor
versions by removing and regenerating the yarn.lock file.
@st3phhays st3phhays marked this pull request as ready for review October 2, 2024 17:46
Copy link
Contributor

@alexaveldanez alexaveldanez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@alexaveldanez alexaveldanez merged commit 875bbfa into main Oct 2, 2024
3 checks passed
@st3phhays st3phhays deleted the release/0.8.1 branch October 7, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants