Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"root": true,
"env": {
"browser": true,
"es6": true,
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,19 @@ jobs:
with:
node-version: 22

- name: Enable Corepack (for Yarn 4)
run: corepack enable

- name: Cache node_modules and Yarn cache
uses: actions/cache@v4
with:
path: |
**/node_modules
.yarn/cache
~/.yarn/berry/cache
key: >
${{ runner.os }}-node22-react-${{ matrix.react-version }}-${{ hashFiles('**/yarn.lock') }}
${{ runner.os }}-yarn4-node22-react-${{ matrix.react-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node22-react-${{ matrix.react-version }}-
${{ runner.os }}-yarn4-node22-react-${{ matrix.react-version }}-

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
Expand All @@ -43,7 +46,7 @@ jobs:

- name: Override React version (${{ matrix.react-version }})
run: |
yarn add @types/react@${{ matrix.react-version }} react@${{ matrix.react-version }} @types/react-dom@${{ matrix.react-version }} react-dom@${{ matrix.react-version }} --dev -W
yarn add @types/react@${{ matrix.react-version }} react@${{ matrix.react-version }} @types/react-dom@${{ matrix.react-version }} react-dom@${{ matrix.react-version }} -D

- name: Build
run: yarn run build
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,13 @@ coverage/
yarn-error.log
.size-snapshot.json
__tests__/__image_snapshots__/__diff_output__

# Yarn 4 (Berry) - using nodeLinker: node-modules
# We commit .yarn/releases for version pinning via packageManager field
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.pnp.*
15 changes: 15 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
enableHardenedMode: false

httpTimeout: 60000

logFilters:
- code: YN0002
level: discard
- code: YN0060
level: discard
- code: YN0006
level: discard

networkConcurrency: 16

nodeLinker: node-modules
173 changes: 0 additions & 173 deletions docs/BUILD.md

This file was deleted.

141 changes: 0 additions & 141 deletions docs/PRECONSTRUCT-TO-UNBUILD.md

This file was deleted.

File renamed without changes.
Loading