Skip to content

Commit

Permalink
upgrade to modern yarn:
Browse files Browse the repository at this point in the history
  • Loading branch information
E-Kuerschner committed Jan 4, 2025
1 parent 58d92f7 commit 0eacda7
Show file tree
Hide file tree
Showing 7 changed files with 12,585 additions and 8,107 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Enable Corepack
run: corepack enable
- name: Install Deps
run: yarn install
- name: Typecheck
Expand All @@ -35,6 +37,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Enable Corepack
run: corepack enable
- name: Dev Server Setup
run: yarn --cwd ./examples install
- name: Cypress run
Expand Down
22 changes: 20 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ node_modules
.cache
dist
.idea

.eslintcache

.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

examples/.pnp.*
examples/.yarn/*
!examples/.yarn/patches
!examples/.yarn/plugins
!examples/.yarn/releases
!examples/.yarn/sdks
!examples/.yarn/versions

test/cypress/videos
test/cypress/screenshots
.eslintcache
test/cypress/screenshots
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
9 changes: 9 additions & 0 deletions examples/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
nodeLinker: node-modules

packageExtensions:
# deasync didn't add node-gyp as a direct dependency so it fails to build in
# Yarn (https://github.com/yarnpkg/berry/issues/5804), so extend its
# pkg.json config here.
deasync@*:
dependencies:
node-gyp: 'latest'
13,636 changes: 8,275 additions & 5,361 deletions examples/yarn.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "react-use-audio-player",
"version": "2.3.0-alpha.1",
"packageManager": "[email protected]",
"sideEffects": false,
"description": "React hook for building custom audio playback controls",
"files": [
Expand Down
7,019 changes: 4,275 additions & 2,744 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 0eacda7

Please sign in to comment.