Skip to content

Commit 461282a

Browse files
taylortomclaude
andcommitted
Fix: remove lockfile and peerDependenciesMeta, add .npmrc
npm recommends not committing lockfiles for library packages. Added .npmrc with legacy-peer-deps=true to skip peer resolution which causes OOM in npm. Removed peerDependenciesMeta as it is redundant with legacy-peer-deps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7384948 commit 461282a

File tree

7 files changed

+5
-10609
lines changed

7 files changed

+5
-10609
lines changed

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Update npm
2626
run: npm install -g npm@latest
2727
- name: Install dependencies
28-
run: npm ci
28+
run: npm install
2929
- name: Release
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/standardjs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ jobs:
88
- uses: actions/setup-node@master
99
with:
1010
node-version: 'lts/*'
11-
cache: 'npm'
12-
- run: npm ci
11+
- run: npm install
1312
- run: npx standard

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ jobs:
1010
- uses: actions/setup-node@v4
1111
with:
1212
node-version: 'lts/*'
13-
cache: 'npm'
14-
- run: npm ci
13+
- run: npm install
1514
- run: npm test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock.json

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

0 commit comments

Comments
 (0)