Skip to content

Commit

Permalink
(#218) Upgrade to Yarn 4.1.x
Browse files Browse the repository at this point in the history
Choco-theme and any projects that use choco-theme
will now use Yarn 4.1.x. This upgrade will reduce
security vulnerabilities and improve performance.
  • Loading branch information
st3phhays committed Apr 3, 2024
1 parent 1fcd410 commit 0522b56
Show file tree
Hide file tree
Showing 7 changed files with 7,748 additions and 4,526 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/.yarn/** linguist-vendored
/.yarn/releases/* binary
/.yarn/plugins/**/* binary
/.pnp.* binary linguist-generated
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
node_modules/
package-lock.json
.DS_Store
.cache/
.cache/
.pnp.*
.yarn/install-state.gz
.yarn/cache
.yarn/patches
.yarn/plugins
.yarn/sdks
.yarn/versions
893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
checksumBehavior: update

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@ Before running any commands below, ensure you have ran `yarn` in the root of thi

| Script | Action |
|-----------------------------------------|----------------------------------------------------------------------------------------|
| build | Builds CSS, JS, and Partials. |
| lint | Runs Stylelint and ESLint to determine code style errors. |
| release OLD_VERSION NEW_VERSION | Runs all build steps and updates choco-theme to the version specified. |
| watch | Watches for changes in CSS, JS, and Partials, and rebuilds them automatically. |
| npm run build | Builds CSS, JS, and Partials. |
| npm run lint | Runs Stylelint and ESLint to determine code style errors. |
| npm release OLD_VERSION NEW_VERSION | Runs all build steps and updates choco-theme to the version specified. |
| npm run watch | Watches for changes in CSS, JS, and Partials, and rebuilds them automatically. |
| yarn npm audit | Audits packages and reports vulnerabilities. |

## Install ESLint Extension

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "choco-theme",
"version": "0.6.0",
"packageManager": "[email protected]",
"description": "The global theme for Chocolatey Software.",
"repository": {
"type": "git",
Expand Down
11,357 changes: 6,836 additions & 4,521 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 0522b56

Please sign in to comment.