Skip to content

Commit d7daf0f

Browse files
Krakabekdanil.radkovskyi
andauthored
Pin node and yarn versions to avoid autogenerated diff on yarn install (#217)
Adds stability to release process, fixes diff like that: https://github.com/reddit/devvit-docs/pull/205/changes?file-filters%5B%5D=.gz&file-filters%5B%5D=.lock ## 🧪 Testing Steps / Validation <!-- add details on how this PR has been tested, include reproductions and screenshots where applicable --> Ran yarn install and there were no artifacts ## ✅ Checks <!-- Make sure your pr passes the CI checks and do check the following fields as needed - --> - [ ] CI tests (if present) are passing - [ ] Adheres to code style for repo - [ ] Contributor License Agreement (CLA) completed if not a Reddit employee Co-authored-by: danil.radkovskyi <danil.radkovskyi@reddit.com>
1 parent 05ba015 commit d7daf0f

7 files changed

Lines changed: 15720 additions & 10632 deletions

File tree

‎.gitignore‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Dependencies
22
/node_modules
33

4+
# .yarn - https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
5+
.yarn/*
6+
!.yarn/patches
7+
!.yarn/plugins
8+
!.yarn/releases
9+
!.yarn/sdks
10+
!.yarn/versions
11+
412
# Generated files
513
.docusaurus
614
.cache-loader

‎.nvmrc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.18.0

‎.yarn/install-state.gz‎

-1.62 MB
Binary file not shown.

‎.yarn/releases/yarn-4.18.0.cjs‎

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

‎.yarnrc.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ approvedGitRepositories:
44
enableScripts: true
55

66
nodeLinker: node-modules
7+
8+
yarnPath: .yarn/releases/yarn-4.18.0.cjs

‎package.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,8 @@
6767
"last 1 safari version"
6868
]
6969
},
70-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
70+
"engines": {
71+
"node": ">=24.0.0"
72+
},
73+
"packageManager": "yarn@4.18.0"
7174
}

‎yarn.lock‎

Lines changed: 14705 additions & 10631 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)