What's Changed
Action Changes
- Add Yarn Version to the Cache Key by @threeal in #127
- Get Yarn Cache Path From Yarn Config by @threeal in #131
- Refactor Steps for Getting Cache Information by @threeal in #139
- Getting Yarn Version Silently by @threeal in #141
- Add Support to Global Cache by @threeal in #143
- Separate Step for Getting Cache Key and Paths by @threeal in #145
- Parse and Format Yarn Install Output by @threeal in #151
- Modify Action to Fail if Yarn Lock File Does Not Exist by @threeal in #129
- Remove Hack Preventing Grouped Output During Yarn Install by @threeal in #155
- Enable Yarn Silently by @threeal in #165
- Improve Error Handling in Main Function by @threeal in #178
- Add Support to Disable Cache by @threeal in #181
- Improve Error Handling in Get Cache Info Functions by @threeal in #183
- Add Assertion to Check if Using Correct Yarn Version by @threeal in #189
- Enable Yarn in Dedicated Directory by @threeal in #198
- Run Yarn Command Without Corepack by @threeal in #202
- Add Function for Setting Yarn Version by @threeal in #215
- Add
version
Input by @threeal in #212
Documentation Changes
- Bump Copyright Year to 2024 by @threeal in #61
- Rename Action to Setup Yarn Berry Action by @threeal in #179
- Audit Readme Documentation by @threeal in #219
Development Changes
- Use Default ncc Build Output by @threeal in #82
- Remove Check Yarn Version Step in Test Workflow by @threeal in #84
- Remove Package Name in
package.json
by @threeal in #92 - Setup Latest Node.js in Workflows by @threeal in #48 and #101
- Fix Git Ignore Pattern for JavaScript Files by @threeal in #104
- Use Prettier with Cache Enabled by @threeal in #106
- Simplify ESLint Configuration by @threeal in #110
- Refactor Function to Be Modular by @threeal in #96
- Fix Yarn Lock File by @threeal in #116
- Fix ESLint Not Linting Source Files by @threeal in #119
- Remove eslint-plugin-json-files by @threeal in #120
- Reintroduce Unit Testing Using Jest by @threeal in #122
- Add Test Coverage Check by @threeal in #124
- Set
NODE_OPTIONS
for Runningtest
Script by @threeal in #126 - Add Back TypeScript Support by @threeal in #113 and #133
- Write Tests in TypeScript by @threeal in #135
- Build Distribution Files Directly From TypeScript Files by @threeal in #137
- Add Test for
getCacheKey
andgetCachePaths
Functions by @threeal in #147 - Refactor Yarn Functions by @threeal in #149
- Organize Yarn Source Files by @threeal in #153
- Organize Main Function to Separate File by @threeal in #157
- Refactor Steps for Getting Yarn Paths for Cache Paths by @threeal in #159
- Add Test for Main Function by @threeal in #161
- Refactor Flow in
getCacheKey
Function by @threeal in #168 - Test Log Output in Get Cache Information Functions by @threeal in #170
- Refactor Test Mock by @threeal in #172
- Utilize
jest.mocked
Function in Testing by @threeal in #174 - Test Log Output in Main Function by @threeal in #176
- Organize Get Cache Info Testing by @threeal in #185
- Configure Jest to Run Tests Verbosely by @threeal in #187
- Add Option for Independent Yarn Version Retrieval by @threeal in #194
- Organize Corepack Functions by @threeal in #199
- Move
getYarnConfig
toconfig.ts
File by @threeal in #204 - Integrate Jest Extended by @threeal in #208
- Revert from Disabling Yarn Global Cache by @threeal in #210
- Add Jobs for Testing the
version
Input by @threeal in #217 - Utilize
.env.yarn
to SetNODE_OPTIONS
by @threeal in #221
Dependency Updates
- Bump prettier from 3.1.0 to 3.2.5 by @dependabot in #46, #70, #75, and #93
- Bump @typescript-eslint/eslint-plugin from 6.13.2 to 7.1.0 by @dependabot in #50, #54, #56, #59, #66, #73, #78, #86, #97, #108, #162, and #206
- Bump @typescript-eslint/parser from 6.13.2 to 7.1.0 by @dependabot in #49, #53, #57, #60, #65, #72, #77, #85, #98, #107, #163, and #205
- Bump @types/node from 20.10.4 to 20.11.21 by @dependabot in #52, #58, #63, #69, #76, #79, #80, #90, #102, #111, #190, and #213
- Bump eslint from 8.55.0 to 8.57.0 by @dependabot in #51 and #200
- Bump actions/setup-node from 4.0.0 to 4.0.2 by @dependabot in #55 and #99
- Bump @actions/cache from 3.2.2 to 3.2.4 by @dependabot in #68 and #89
- Bump Yarn to Version 4.1.0 by @threeal in #114
Full Changelog: v1.0.0...v2.0.0