Skip to content

Commit 07c7189

Browse files
authored
chore: unfork + Yarn v4 (#2180)
* copy all files from fork * fix gha * clean up deps a bit * gut deps some more * fix audit * remove dotenv-safe * remove more deps * update prettier * remove jimp and tinycolor2 * yarn v4 * remove unused script * ci yarn * don't gitignore yarn lockfile * clean this up a bit more * update test deps * add `private` to package.json * remove semantic.yml
1 parent 3f39285 commit 07c7189

1,224 files changed

Lines changed: 18723 additions & 149049 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
* @electron/wg-ecosystem @toinane
1+
* @electron/wg-ecosystem
2+
* @toinane

.github/dependabot.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/schedule.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/semantic.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,13 @@ on:
77
- edited
88
- synchronize
99

10-
permissions: {}
1110
jobs:
1211
main:
13-
permissions:
14-
pull-requests: read # to analyze PRs (amannn/action-semantic-pull-request)
15-
statuses: write # to mark status of analyzed PR (amannn/action-semantic-pull-request)
16-
1712
name: Validate PR Title
1813
runs-on: ubuntu-latest
1914
steps:
2015
- name: semantic-pull-request
21-
uses: amannn/action-semantic-pull-request@v5
16+
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
2217
env:
2318
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2419
with:

.github/workflows/test.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,20 @@ name: CI
22

33
on:
44
pull_request:
5-
branches:
6-
- master
75
push:
86
branches:
9-
- master
10-
11-
permissions: {}
7+
- main
128

139
jobs:
1410
build:
15-
permissions:
16-
contents: read # to fetch code (actions/checkout)
1711
runs-on: ubuntu-latest
1812
steps:
19-
- uses: actions/checkout@v4
20-
- uses: actions/setup-node@v3
13+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
14+
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2115
with:
22-
node-version: '12.x'
16+
node-version: '24.x'
17+
cache: 'yarn'
2318
- name: Install dependencies
24-
run: 'npm ci'
19+
run: 'yarn install --immutable'
2520
- name: Run tests
26-
run: 'npm test'
21+
run: 'yarn test'

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
.env
33
.npmrc
44
*-256.png
5-
*-128.png
65
*-32.png
76
*-64.png
8-
index.json
97
node_modules
10-
yarn.lock
11-
.gitsync_lock
8+
.yarn/install-state.gz

.npmignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.yarn/releases/yarn-4.10.3.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
enableScripts: false
2+
3+
nodeLinker: node-modules
4+
5+
npmMinimalAgeGate: 10080
6+
7+
npmPreapprovedPackages:
8+
- '@electron/*'
9+
10+
yarnPath: .yarn/releases/yarn-4.10.3.cjs
14.1 KB

0 commit comments

Comments
 (0)