mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-23 06:36:06 +09:00
[yarn]: Enable support for corepack offline installs
This is required to enable building from nix, as corepack cannot fetch the yarn version from npmjs.com during a build. Thus, an offline version is required. This also means that when upgrading yarn, also ensure to run `yarn fetch-yarn` to fetch the latest yarn version to the correct place, and commit that with your version bump. This will ensure that the version in the repo is kept in sync with the version in package.json.
This commit is contained in:
parent
054a40d5f4
commit
33f5217fad
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -40,6 +40,7 @@
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.svg filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wav filter=lfs diff=lfs merge=lfs -text
|
||||
*.webm filter=lfs diff=lfs merge=lfs -text
|
||||
*.webp filter=lfs diff=lfs merge=lfs -text
|
||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -76,7 +76,8 @@ pnpm*
|
||||
!.yarn/sdks
|
||||
!.yarn/versions
|
||||
!.yarn/unplugged/@discordapp-twemoji-npm-14.1.2-3097b95b97
|
||||
!.yarn/corepack.tgz
|
||||
|
||||
# Nix Development shell items
|
||||
.devenv
|
||||
.direnv
|
||||
.direnv
|
||||
|
BIN
.yarn/corepack.tgz
(Stored with Git LFS)
Normal file
BIN
.yarn/corepack.tgz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -33,7 +33,8 @@
|
||||
"clean-all": "node ./scripts/clean-all.js",
|
||||
"cleanall": "yarn clean-all",
|
||||
"focus-production": "node ./scripts/focus-production.js",
|
||||
"regen-version": "node ./scripts/regen-version.js"
|
||||
"regen-version": "node ./scripts/regen-version.js",
|
||||
"pack-yarn": "corepack pack -o .yarn/corepack.tgz"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/backend",
|
||||
|
Loading…
Reference in New Issue
Block a user